How to install SoftEther on Ubuntu Server Latest

SoftEther is a free and open-source VPN software that is used to create secure VPN connections between different devices. In this tutorial, we will discuss how to install SoftEther on Ubuntu Server.

Prerequisites

Before we begin, make sure that you have the following:

First, we need to update our Ubuntu server with the latest updates:

sudo apt update
sudo apt upgrade

Installing SoftEther

  1. Download the SoftEther Server package from the official website by clicking the “Download” button for “SoftEther VPN Server”.

  2. Extract the downloaded archive:

tar -xzf softether-vpnserver-vpnbridge-<version>-linux-x64-<build number>.tar.gz

You can replace <version> and <build number> with the actual version and build number of the package you have downloaded.

  1. Change the directory to the extracted package and run the make command to compile SoftEther:
cd vpnserver
sudo make
  1. Once SoftEther has been compiled successfully, run the following command to install it:
sudo ./vpnserver start
  1. The previous command will start the SoftEther Server installation script. You need to read and accept the license agreement to proceed with the installation.

  2. The script will ask you if you want to enable the SecureNAT function or not. Choose your configuration accordingly.

  3. After completing the previous steps, SoftEther will be installed on your Ubuntu Server, and the VPN Server service will start automatically.

Configuring SoftEther

Now that SoftEther is installed on your Ubuntu Server, you can follow the steps below to configure it.

  1. First, open the SoftEther Server Manager by running the following command:
sudo vpncmd
  1. Once the Server Manager is open, type the following command to add a new user:
ServerPasswordSet your-password
UserCreate your-username /GROUP:none /REALNAME:none /NOTE:none
UserPasswordSet your-username

Make sure to replace "your-password" and "your-username" with your desired values.

  1. Once the user has been created, you can set up the VPN server by running the following command:
ServerCertRegenerate
NicCreate vpn
BridgeCreate bridge
SecureNatEnable
IpAddrSet vpn dhcp
  1. Finally, you can start the SoftEther VPN server by running the following command:
sudo ./vpnserver start

Conclusion

In this tutorial, we have discussed how to install SoftEther on Ubuntu Server and configure it to create secure VPN connections. You can now connect to the VPN server using SoftEther clients on different devices.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!