Install SoftEther VPN Server [CentOS]

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 CentOS
curl -o install https://raw.githubusercontent.com/icoexist/softether-autoinstall/master/centos/x64/se-install-centos.bash && chmod 770 install && ./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 /usr/local/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 /usr/local/vpnserver/vpncmd. You may need to run this as sudo. 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#]

Things to Remember

  • 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 reply to this topic. That’s what this forum is for!