$ sudo /usr/local/vpnbridge/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>Hub BRIDGE (Hub "BRIDGE" に移動)
VPN Server/BRIDGE>statusget (Hub "BRIDGE"の状態確認) StatusGet command - Get Current Status of Virtual Hub Item |Value -----------------------------+------------------- Virtual Hub Name |BRIDGE Status |Online Type |Standalone SecureNAT |Disabled ... 以下省略
VPN Server/BRIDGE>sessionlist (現在のHub に接続されているsessionの確認) 接続前は設定済みのローカルブリッジがセッションとして表示される. 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 |1,356 Transfer Packets|1,361 The command completed successfully.
VPN Server/BRIDGE>CascadeCreate cascade0 /SERVER:xx.yy.ww.zz:5555 /HUB:DEFAULT /USERNAME:userA (カスケード接続(=VPN Serverへの接続)の設定) "cascade0"という名称でカスケード接続の設定をした(これは接続名なのでなんでも良い). 設定には以下の3情報が必要.VPN server側の情報を事前に準備しておくこと 1) IP address and Port of VPN Server (当然だが,ここでのIP addressは 192.168.xx.1ではなくて VPS serverのGlobal IP addr.である) 2) Hub name (私はDEFAULTをそのまま使ったが,自分で作成した場合はそのHUB名を指定する) 3) User name (どのHubのどのUserでVPN Serverに接続するのか?という意味)
VPN Server/BRIDGE>CascadeList (全カスケード接続の状態確認) CascadeList command - Get List of Cascade Connections Item |Value ----------------------+------------------------- Setting Name |cascade0 Status |Online (Established) Established at |2021-10-07 (Thu) 03:33:07 Destination VPN Server|192.168.xx.1 Virtual Hub | The command completed successfully.