Install SoftEther VPN on Ubuntu 16.04
Install prerequisites
Download the latest build
Extract tarball into /usr/local
Install VPN software
Create a non-login user for softether
Setup necessary permissions
Create /etc/systemd/system/softether.service SystemD Service
Enable and Start the Service
Remove temp files
In order to add a static route, navigate to Manage Virtual Hub > Virtual NAT and Virtual DHCP Server (SecureNAT) > SecureNAT Configuration > Edit the static routing table to push and add it as below.
You can manage this VPN using SoftEther VPN Server Manager. The initial administrator password will be blank.
Note: DO NOT enable both local bridge and SecureNAT at the same time. Packets will loop infinitely and it makes your server hang.
How to make SoftEther to follow default system routes on SecureNAT mode
- Connected via "SE-VPN Server Manager" GUI
- Select target Virtual Hub
- Click Properties button
- Click Edit Virtual Hub Extended Option List around the lower left corner
- Scroll down and find DisableKernelModeSecureNAT and DisableIpRawModeSecureNAT, set these values to 1
- Click Save
- Click OK