Preparing
Upgrade the system
Install (if it’s not installed yet) build-essential for compilation purpose
And other required packages
Installing SoftEther VPN
Download the last stable version (marked rtm) or stable-beta, and save it in /tmp
Uncompress the sources
Remove unused file
# rm /tmp/softether-vpnserver.tar.gz
Install from the sources
During the installation process, we will have to type 1 to read the Licence Agreement, type 1 again to confirm that we have read the License Agreement and finally type 1 to agree with the License Agreement.
Kawin uses key i_read_and_agree_the_license_agreement, that does not require confirmation
Change file permission
Upgrade the system
Code:
# apt-get update && apt-get -y upgrade
Install (if it’s not installed yet) build-essential for compilation purpose
Code:
# apt-get -y install build-essential
And other required packages
Code:
# apt-get -y install wget curl gcc make wget tzdata git libreadline-dev libncurses-dev libssl-dev zlib1g-dev
Installing SoftEther VPN
Download the last stable version (marked rtm) or stable-beta, and save it in /tmp
Code:
# wget "https://www.softether-download.com/files/softether/v4.25-9656-rtm-2018.01.15-tree/Linux/SoftEther_VPN_Server/64bit_-_Intel_x64_or_AMD64/softether-vpnserver-v4.25-9656-rtm-2018.01.15-linux-x64-64bit.tar.gz" -O /tmp/softether-vpnserver.tar.gz
Uncompress the sources
Code:
# tar -xzvf /tmp/softether-vpnserver.tar.gz -C /usr/local/
Remove unused file
# rm /tmp/softether-vpnserver.tar.gz
Install from the sources
Code:
# cd /usr/local/vpnserver/
# make
During the installation process, we will have to type 1 to read the Licence Agreement, type 1 again to confirm that we have read the License Agreement and finally type 1 to agree with the License Agreement.
Kawin uses key i_read_and_agree_the_license_agreement, that does not require confirmation
Code:
# make i_read_and_agree_the_license_agreement
Change file permission
Code:
# chmod 0600 *
# chmod 0700 vpnserver
# chmod 0700 vpncmd