apt install build-essential
wget https://www.softether-download.com/files/softether/v4.42-9798-rtm-2023.06.30-tree/Linux/SoftEther_VPN_Server/64bit_-_Intel_x64_or_AMD64/softether-vpnserver-v4.42-9798-rtm-2023.06.30-linux-x64-64bit.tar.gz
tar -vxf softether-vpnserver-v4.42-9798-rtm-2023.06.30-linux-x64-64bit.tar.gz -C /usr/local
cd /usr/local/vpnserver/
./.install.sh
cd /etc/systemd/system/
touch vpnsvr.service
chmod 777 vpnsvr.service
vim /etc/systemd/system/vpnsvr.service
[Unit]
Description=SoftEther VPN server
After=network-online.target
After=dbus.service
[Service]
Type=forking
ExecStart=/usr/local/vpnserver/vpnserver start
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
systemctl enable vpnsvr
systemctl start vpnsvr
systemctl status vpnsvr
netstat -tunlp