沒有緣起

softether已經被墻,跟翻墻無關。

debian 9.4.0 i386測試ok。

安裝走起

先登陸root用戶
sudo su - root

下載編譯一氣呵成

apt update
apt install -y libssl1.0-dev build-essential git gcc libncurses5-dev libreadline-dev make libssl-dev zlib1g-dev

cd ~
git clone https://github.com/SoftEtherVPN/SoftEtherVPN_Stable.git
cd SoftEtherVPN
./configure
make
make install

注冊開機啓動一氣呵成

echo [Unit] > /lib/systemd/system/vpnserver.service
echo Description=SoftEther VPN Server  >> /lib/systemd/system/vpnserver.service
echo After=network.target  >> /lib/systemd/system/vpnserver.service
echo " "  >> /lib/systemd/system/vpnserver.service
echo [Service] >> /lib/systemd/system/vpnserver.service
echo Type=forking >> /lib/systemd/system/vpnserver.service
echo ExecStart=/usr/bin/vpnserver start >> /lib/systemd/system/vpnserver.service
echo ExecStop=/usr/bin/vpnserver stop >> /lib/systemd/system/vpnserver.service
echo " " >> /lib/systemd/system/vpnserver.service
echo [Install] >> /lib/systemd/system/vpnserver.service
echo WantedBy=multi-user.target >> /lib/systemd/system/vpnserver.service

systemctl daemon-reload
systemctl enable vpnserver.service 
systemctl start vpnserver.service 

設置服務器密碼,方便客戶端遠程管理

cd /usr/local/vpnserver/
./vpncmd

1,各種回車后輸入

"""

ServerPasswordSet
"""

輸入兩次密碼。

剩下的就是在mac or windows下采用gui界面設置咯。

Windows 管理端下載:http://www.softether-download.com/files/softether/v4.25-9656-rtm-2018.01.15-tree/Windows/SoftEther_VPN_Server_and_VPN_Bridge/softether-vpnserver_vpnbridge-v4.25-9656-rtm-2018.01.15-windows-x86_x64-intel.exe

完~