Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
softether_vpn_client [23 May 2025 / 20:30:28] kadeksoftether_vpn_client [29 May 2025 / 21:10:24] (current) kadek
Line 1: Line 1:
-On Windows:+===== SoftEther VPN Client ===== 
 + 
 +On Windows (Windows 11):
  
   * Download SoftEther VPN Client: SoftEther VPN Client (Ver 4.44, Build 9807, rtm) by the time this guide is made.   * Download SoftEther VPN Client: SoftEther VPN Client (Ver 4.44, Build 9807, rtm) by the time this guide is made.
Line 7: Line 9:
   C:\Users\ExampleUser> GET-VpnConnection   C:\Users\ExampleUser> GET-VpnConnection
   C:\Users\ExampleUser> Add-VpnConnectionRoute -ConnectionName SoftEther -DestinationPrefix 10.28.138.0/24 –PassThru   C:\Users\ExampleUser> Add-VpnConnectionRoute -ConnectionName SoftEther -DestinationPrefix 10.28.138.0/24 –PassThru
-  +
   * Done.   * Done.
      
-On Linux:+On Linux (Ubuntu 24.04):
  
   * Download SoftEther VPN Client, compile and install it:   * 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   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 +  tar xf softether-vpnclient-v4.44-9807-rtm-2025.04.16-linux-x64-64bit.tar.gz 
-  apt-get install build-essential +  apt-get install build-essential 
-  cd vpnclient +  cd vpnclient 
-  make +  make 
-  cd .. +  cd .. 
-  mv vpnclient/ /usr/local/+  mv vpnclient/ /usr/local/
-  cd /usr/local/vpnclient +  cd /usr/local/vpnclient 
-  chmod 600 * +  chmod 600 * 
-  chmod 700 vpn*+  chmod 700 vpn*
  
   * Start & configure the VPN client:   * Start & configure the VPN client:
  
-  ./vpnclient start +  ./vpnclient start 
-  cd /usr/local/vpnclient +  cd /usr/local/vpnclient 
-  ./vpncmd+  ./vpncmd
  
   * Select 2 & hit Enter to enter Management of VPN Client console:   * Select 2 & hit Enter to enter Management of VPN Client console:
Line 40: Line 42:
  
   * Just hit ENTER for now:   * Just hit ENTER for now:
-  +
   Specify the host name or IP address of the computer that the destination VPN Client is operating on.    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).   If nothing is input and Enter is pressed, connection will be made to localhost (this computer).
Line 46: Line 48:
   Connected to VPN Client "localhost".   Connected to VPN Client "localhost".
  
-  * Create a Virtual Network Adapter(this example vpn101)+  * Create a Virtual Network Adapter (this example vpn101):
  
-  VPN Client>NicCreate vpn101+  VPN Client> NicCreate vpn101
   NicCreate command - Create New Virtual Network Adapter   NicCreate command - Create New Virtual Network Adapter
   The command completed successfully.   The command completed successfully.
Line 54: Line 56:
   * Enable the Virtual Network Adapter:   * Enable the Virtual Network Adapter:
  
-  VPN Client>NicEnable vpn101+  VPN Client> NicEnable vpn101
   NicEnable command - Enable Virtual Network Adapter   NicEnable command - Enable Virtual Network Adapter
   The command completed successfully.   The command completed successfully.
-   
-  * Create the account: (this example account: EtherVPN, hub: MyVPN, user: vpnuser) 
  
-  VPN Client>AccountCreate EtherVPN+  * Create the account (this example account: EtherVPN, hub: MyVPN, user: vpnuser): 
 + 
 +  VPN Client> AccountCreate EtherVPN
   AccountCreate command - Create New VPN Connection Setting   AccountCreate command - Create New VPN Connection Setting
   Destination VPN Server Host Name and Port Number: vpn.example.com:443   Destination VPN Server Host Name and Port Number: vpn.example.com:443
Line 67: Line 69:
   Used Virtual Network Adapter Name: vpn101   Used Virtual Network Adapter Name: vpn101
   The command completed successfully.   The command completed successfully.
-  +
   * Set the VPN client account password:   * Set the VPN client account password:
-   + 
-  VPN Client>AccountPasswordSet EtherVPN+  VPN Client> AccountPasswordSet EtherVPN
   Please enter the password. To cancel press the Ctrl+D key.   Please enter the password. To cancel press the Ctrl+D key.
   Password: *************   Password: *************
   Confirm input: ***********   Confirm input: ***********
   Specify standard or radius: standard   Specify standard or radius: standard
-  +
   * Set the VPN client account password:   * Set the VPN client account password:
-   
-  VPN Client>AccountConnect EtherVPN 
-   
-    * Show the VPN client status: 
  
-  VPN Client>AccountStatusGet EtherVPN+  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:   * Find the VPN Server public IP:
  
-  host vpn.example.com+  host vpn.example.com
   vpn.example.com has address 10.28.138.129   vpn.example.com has address 10.28.138.129
  
   * Find the Local IP & VPN Client IP:   * Find the Local IP & VPN Client IP:
-     + 
-  ip addr show eth0 +  ip addr show eth0 
-  ip addr show vpn_vpn0 +  ip addr show vpn_vpn0 
-  +
   * Now add route:   * Now add route:
  
-  ip route add 10.28.138.129/24 via 192.168.30.1 dev eth0 +  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:   * Run if the default route set to the VPN Server:
-   + 
-  ip route del default +  ip route del default 
-  ip route add default via 192.168.30.1 dev vpn_vpn0 +  ip route add default via 192.168.30.1 dev vpn_vpn0 
-  +
   * Finish.   * Finish.