SoftEther VPN Client
On Windows (Windows 11):
- Connect to VPN using the credentials.
- After successfull connection add the route to your VPN internal LAN
C:\Users\ExampleUser> GET-VpnConnection C:\Users\ExampleUser> Add-VpnConnectionRoute -ConnectionName SoftEther -DestinationPrefix 10.28.138.0/24 –PassThru
- Done.
On Linux (Ubuntu 24.04):
- Download SoftEther VPN Client, compile and install it:
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*
- Start & configure the VPN client:
$ ./vpnclient start $ cd /usr/local/vpnclient $ ./vpncmd
- Select 2 & hit Enter to enter Management of VPN Client console:
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
- Just hit ENTER for now:
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".
- Create a Virtual Network Adapter (this example vpn101):
VPN Client> NicCreate vpn101 NicCreate command - Create New Virtual Network Adapter The command completed successfully.
- Enable the Virtual Network Adapter:
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.
- Set the VPN client account password:
VPN Client> AccountPasswordSet EtherVPN Please enter the password. To cancel press the Ctrl+D key. Password: ************* Confirm input: *********** Specify standard or radius: standard
- Set the VPN client account password:
VPN Client> AccountConnect EtherVPN
- Show the VPN client status:
VPN Client> AccountStatusGet EtherVPN
- Exit the VPN Command, back to Linux Shell:
VPN Client> exit
- Find the VPN Server public IP:
$ host vpn.example.com vpn.example.com has address 10.28.138.129
- Find the Local IP & VPN Client IP:
$ ip addr show eth0 $ ip addr show vpn_vpn0
- Now add route:
$ ip route add 10.28.138.0/24 via 192.168.30.1 dev eth0
- Run if the default route set to the VPN Server:
$ ip route del default $ ip route add default via 192.168.30.1 dev vpn_vpn0
- Finish.
