First Update your Server!
apt-get update && apt-get upgrade
Next, You’ll need to install Build Essentials in order to build SoftEther!
apt-get install build-essential libreadline-dev libssl-dev libncurses-dev zlib1g-dev git
Now you’ll need to grab SoftEther from GitHub
If you do not have git installed install git by:
apt-get install git
git clone https://github.com/SoftEtherVPN/SoftEtherVPN.git
or
git clone https://github.com/SoftEtherVPN/SoftEtherVPN_Stable.git (I’ve been using Stable)
Now go to SoftEther Directory
cd SoftEtherVPN
cd SoftEtherVPN_Stable (For the Stable Version)
Now, To build SoftEther
./configure
make
make install
Start SoftEther Service
vpnserver start
Alright, now that we got SoftEther installed, we will now need to set it up
Type in: vpncmd
Choose option 1
hit enter 3 times or so
Now Create a Server Password
ServerPasswordSet
Option!
You can either keep DEFAULT Hub or delete it… I Delete it as we create a new one. To delete DEFAULT Hub
HubDelete DEFAULT
Next, HubCreate VPN (Create a Password)
Go into VPN Hub
Hub VPN
Now To Secure NAT
SecureNATEnable
Now we need to add yourself to the Server…
UserCreate test
Hit enter until it says completed
UserPasswordSet test (Create a password)
To create VPN Server for L2TP Support
IPSecEnable
yes, yes, yes PreSharedKey is Whatever you want… Connecting Hub is VPN
To set it up on OpenVPN
ServerCertRegenerate
ServerCertGet ~/cert.cer
SstpEnable yes
OpenVpnEnable yes /PORTS:1194
OpenVpnMakeConfig ~/my_openvpn_config.zip
There you have it! SoftEther successfully installed on Debian 9 and Ubuntu 16+!