Install SoftEther VPN Server [Ubuntu]

#1

Note! The default install location for SoftEther is now /opt/vpnserver.
Please make sure you are using a version of Ubuntu that is still supported. Click here to see current releases.

Install SoftEther VPN Server
Use the following command to remotely download my script and install SE. Remember to use the correct script for your OS!

64-bit Ubuntu [16.04 - 18.04]

wget -O se-install https://raw.githubusercontent.com/icoexist/softether-autoinstall/master/ubuntu/16.04/se-install-ubuntu.bash && chmod +x se-install && ./se-install

Once the script is executed, the server will first be updated before continuing. Any output in RED should be read carefully. If everything goes well, SoftEther should have been installed. The SoftEther files are located in /opt/vpnserver. To check the status of the vpn server, use systemctl status vpnserver.

Quick Start Guide
For a quick start guide, please click here.

SoftEther Configuration
To access the SE config utility, execute /opt/vpnserver/vpncmd. You will need to run this as sudo if you’re not logged in as root. Once connected, please make sure you set a password via the serverpasswordset command. After setting the password, select the default hub with hub default. Enable securenat with securenatenable. Now you can create a user with usercreate. REMEMBER to set a password for that user with userpasswordset [user].

At this point you’re pretty much good to go, however there’s some other things you can tweak. If you’d like to enable L2TP/IPsec, use ipsecenable. This allows many devices to connect to the server natively without the need of downloading any third party applications. You can also change the ports on which the server is listening. listenerlist will display all the ports that are currently in use. If you’d like to delete a listener, use listenerdel [port#]

Configure with SE VPN Server Manager
See the following post on how to use the SE VPN Server Manager.

Things to Remember

  • To add new users, simply open the VPN Server Manager and click the virtual hub you want to add them to, and create a new user.
  • Remember to open up the appropriate ports on your server or your firewall. SE uses many ports such as 443/TCP, 1194/TCP, 1194/UDP, 5555/TCP, and 992/TCP. If you’re using L2TP/IPsec, you need to open ports 500/UDP, 1701/UDP, 4500/UDP.
  • DO NOT forget to set the server password. If you are configuring SE from the CMD, it doesn’t require a password on first launch, and doesn’t force you to set one either. If you use the GUI on Windows/Mac, it forces you to create a password. While using the SE config tool, use “serverpasswordset” to create a password.
  • Depending on your hosting provider, you may see an impact on your Internet speeds while using a VPN. This is to be expected however.
  • If you’re having issues in games, remember to open up the ports for that specific game on the server itself, and try to use static IPs on your local machines.
  • Don’t want others to see you on the VPN? By default SE allows you to connect to a HUB. Anyone else connected will see your computer, and can help when playing LAN games. If you don’t want others to see your computer/devices, make sure you set the “Privacy Filter” flag on the user.
  • If you’d rather use the SoftEther Configuration Utility available on Windows, click here to see a video on that.

And Most Importantly, if you need help, simply create a topic in #help!

Again, if you need to download the SoftEther VPN tools, visit this post:

How To Use SoftEther VPN With Local Bridge [Ubuntu]
Not getting IP address in SoftEther Bridged Mode
closed #19