$ sudo /usr/local/vpnserver/vpncmd localhost:5555 /SERVER (サーバ管理目的でvpncmdコマンド起動) [sudo] password for user: vpncmd command - SoftEther VPN Command Line Management Utility SoftEther VPN Command Line Management Utility (vpncmd command) Version 4.38 Build 9760 (English) Compiled 2021/08/17 22:32:49 by buildsan at crosswin Copyright (c) SoftEther VPN Project. All Rights Reserved.
Connection has been established with VPN Server "localhost" (port 5555).
You have administrator privileges for the entire VPN Server.
VPN Server>ServerStatusGet (サーバの稼働状態確認) ServerStatusGet command - Get Current Server Status Item |Value ----------------------------------------------+------------------------- Server Type |Standalone Server Number of Active Sockets |23 Number of Virtual Hubs |1 Number of Sessions |1 Number of MAC Address Tables |186 Number of IP Address Tables |139 ... 以降省略
VPN Server/DEFAULT>statusget (Hub "DEFAULT"の状態確認) StatusGet command - Get Current Status of Virtual Hub Item |Value -----------------------------+------------------- Virtual Hub Name |DEFAULT Status |Online Type |Standalone SecureNAT |Disabled Sessions |2 Sessions (Client) |0 ... 以下省略
VPN Server/DEFAULT>bridgelist (作成されたブリッジを確認) BridgeList command - Get List of Local Bridge Connection Number|Virtual Hub Name|Network Adapter or Tap Device Name|Status ------+----------------+----------------------------------+--------- 1 |DEFAULT |vpn |Operating The command completed successfully.
VPN Server/DEFAULT>sessionlist (現在のHub に接続されているsessionの確認) ローカルブリッジ作成後はブリッジがセッションの1つとして表示される SessionList command - Get List of Connected Sessions Item |Value ----------------+---------------------------------------------- Session Name |SID-LOCALBRIDGE-1 VLAN ID |- Location |Local Session User Name |Local Bridge Source Host Name|Ethernet Bridge TCP Connections |None Transfer Bytes |0 Transfer Packets|0 The command completed successfully.