2021年11月

1.安装依赖
centos:

yum -y install gcc zlib-devel openssl-devel readline-devel ncurses-devel

ubuntu:

apt-get install build-essential

2.下载SoftEther

wget http://www.softether-download.com/files/softether/v4.27-9668-beta-2018.05.29-tree/Linux/SoftEther_VPN_Server/64bit_-_Intel_x64_or_AMD64/softether-vpnserver-v4.27-9668-beta-2018.05.29-linux-x64-64bit.tar.gz

3.解压SoftEther

tar zxf softether-vpnserver-v4.27-9668-beta-2018.05.29-linux-x64-64bit.tar.gz

4.打开文件夹

cd vpnserver

5.安装SoftEther

make

6.安装过程提示选择全部选1然后回车即可
7.启动vpnserver

./vpnserver start

8.设置

./vpncmd

9.选1 Management of VPN Server or VPN Bridge然后回车
10.后面需要选择地址和端口。默认443端口,如果需要修改为5555端口,可以输入 你的公网ip:5555
11.HUB名称默认回车
12.最后输入ServerPasswordSet命令设置远程管理密码,确认密码后就可以通过Windows版的SoftEther VPN Server Manager远程管理了