Softether VPN
VPN software that is the strongest in Japan but free (amazing!)
Install Softether VPN
SoftEther VPN - Document Softether VPN - Download
VPN Server
# Ubuntu20.04 is already build bridge interface
# Setup VPN server
apt install make gcc -y
wget softether-vpnserver-???.tar.gz
tar zxvf softehter-vpnserver-*.tar.gz
cd vpnserver
make
cd ..
mv vpnserver /usr/local/
Copy the config file from the previous installation (if exist).
cp /usr/local/vpnserver/vpn_server.config ~/vpnserver/
Boot script
vi /usr/local/vpnserver.sh
#!/bin/sh
# chkconfig: 2345 99 01
# description: SoftEther VPN Server
DAEMON=/usr/local/vpnserver/vpnserver
LOCK=/var/lock/subsys/vpnserver
test -x $DAEMON || exit 0
case "$1" in
start)
$DAEMON start
touch $LOCK
;;
stop)
$DAEMON stop
rm $LOCK
;;
restart)
$DAEMON stop
sleep 3
$DAEMON start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit 0
# +x
chmod +x /usr/local/vpnserver.sh
Then append service.
vi /etc/systemd/system/vpnserver.service
[Unit]
Description="SoftEther VPN Server"
After=network-online.target
[Service]
Type=forking
Restart=always
ExecStart=/usr/local/vpnserver.sh start
ExecStop=/usr/local/vpnserver.sh stop
[Install]
WantedBy=network-online.target
# start service
systemctl daemon-reload
systemctl start vpnserver
SoftEther VPN Bridge
Same procedure as installing VPN Server.The server version also includes the bridge version, so both can be the server version.
VPN Server Manager for Windows
Set remotely from the Windows app.
- [Local bridge settings] - Connect via the bridge interface and Tap device.
- [Virtual HUB] - User manager - Create user for VPN (VPNserver)
-
[Virtual HUB] - cascade connect - login setting(VPNbridge)
apt install net-tools