On Windows (Windows 11):
C:\Users\ExampleUser> GET-VpnConnection C:\Users\ExampleUser> Add-VpnConnectionRoute -ConnectionName SoftEther -DestinationPrefix 10.28.138.0/24 –PassThru
On Linux (Ubuntu 24.04):
wget http://www.softether-download.com/files/softether/v4.44-9807-rtm-2025.04.16-tree/Linux/SoftEther_VPN_Client/64bit_-_Intel_x64_or_AMD64/softether-vpnclient-v4.44-9807-rtm-2025.04.16-linux-x64-64bit.tar.gz $ tar xf softether-vpnclient-v4.44-9807-rtm-2025.04.16-linux-x64-64bit.tar.gz $ apt-get install build-essential $ cd vpnclient $ make $ cd .. $ mv vpnclient/ /usr/local/. $ cd /usr/local/vpnclient $ chmod 600 * $ chmod 700 vpn*
$ ./vpnclient start $ cd /usr/local/vpnclient $ ./vpncmd
By using vpncmd program, the following can be achieved. 1. Management of VPN Server or VPN Bridge 2. Management of VPN Client 3. Use of VPN Tools (certificate creation and Network Traffic Speed Test Tool) Select 1, 2 or 3: 2
Specify the host name or IP address of the computer that the destination VPN Client is operating on. If nothing is input and Enter is pressed, connection will be made to localhost (this computer). Hostname of IP Address of Destination: Connected to VPN Client "localhost".
VPN Client> NicCreate vpn101 NicCreate command - Create New Virtual Network Adapter The command completed successfully.
VPN Client> NicEnable vpn101 NicEnable command - Enable Virtual Network Adapter The command completed successfully.
VPN Client> AccountCreate EtherVPN AccountCreate command - Create New VPN Connection Setting Destination VPN Server Host Name and Port Number: vpn.example.com:443 Destination Virtual Hub Name: MyVPN Connecting User Name: vpnuser Used Virtual Network Adapter Name: vpn101 The command completed successfully.
VPN Client> AccountPasswordSet EtherVPN Please enter the password. To cancel press the Ctrl+D key. Password: ************* Confirm input: *********** Specify standard or radius: standard
VPN Client> AccountConnect EtherVPN
VPN Client> AccountStatusGet EtherVPN
VPN Client> exit
$ host vpn.example.com vpn.example.com has address 10.28.138.129
$ ip addr show eth0 $ ip addr show vpn_vpn0
$ ip route add 10.28.138.0/24 via 192.168.30.1 dev eth0
$ ip route del default $ ip route add default via 192.168.30.1 dev vpn_vpn0