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.
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
Download the SoftEther Server package from the official website by clicking the “Download” button for “SoftEther VPN Server”.
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.
make
command to compile SoftEther:cd vpnserver
sudo make
sudo ./vpnserver start
The previous command will start the SoftEther Server installation script. You need to read and accept the license agreement to proceed with the installation.
The script will ask you if you want to enable the SecureNAT function or not. Choose your configuration accordingly.
After completing the previous steps, SoftEther will be installed on your Ubuntu Server, and the VPN Server service will start automatically.
Now that SoftEther is installed on your Ubuntu Server, you can follow the steps below to configure it.
sudo vpncmd
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.
ServerCertRegenerate
NicCreate vpn
BridgeCreate bridge
SecureNatEnable
IpAddrSet vpn dhcp
sudo ./vpnserver start
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!