Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| softether_vpn_client [23 May 2025 / 20:30:28] – kadek | softether_vpn_client [29 May 2025 / 21:10:24] (current) – kadek | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | On Windows: | + | ===== SoftEther VPN Client ===== |
| + | |||
| + | On Windows | ||
| * 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: | C: | ||
| C: | C: | ||
| - | | + | |
| * 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:// | wget http:// | ||
| - | 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/ / | + | |
| - | cd / | + | |
| - | chmod 600 * | + | |
| - | chmod 700 vpn* | + | |
| * Start & configure the VPN client: | * Start & configure the VPN client: | ||
| - | ./vpnclient start | + | |
| - | cd / | + | |
| - | ./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 " | Connected to VPN Client " | ||
| - | * Create a Virtual Network Adapter: (this example vpn101) | + | * Create a Virtual Network Adapter (this example vpn101): |
| - | VPN Client> | + | 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> | + | 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 command - Create New VPN Connection Setting | AccountCreate command - Create New VPN Connection Setting | ||
| Destination VPN Server Host Name and Port Number: vpn.example.com: | Destination VPN Server Host Name and Port Number: vpn.example.com: | ||
| 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> | + | 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> | ||
| - | | ||
| - | * Show the VPN client status: | ||
| - | VPN Client> | + | |
| + | |||
| + | * Show the VPN client status: | ||
| + | |||
| + | | ||
| + | |||
| + | * Exit the VPN Command, back to Linux Shell: | ||
| + | |||
| + | VPN Client> exit | ||
| * Find the VPN Server public IP: | * Find the VPN Server public IP: | ||
| - | | + | |
| 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 vpn_vpn0 | + | |
| - | + | ||
| * Now add route: | * Now add route: | ||
| - | ip route add 10.28.138.129/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 add default via 192.168.30.1 dev vpn_vpn0 | + | |
| - | + | ||
| * Finish. | * Finish. | ||
| | | ||
