-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Quick Setup Guide for SoftEther VPN Server on Linux
Kyrylo Slatin edited this page Jan 1, 2021
·
1 revision
The guide is created to help people like me who is first time using this software and spent a lot of time search a working configuration. ( The Linux Documentation is not great!!!)
- Download the code and make/install to
/usr/local/vpnserver
- Enable it using systemd unit by creating
/lib/systemd/system/vpnserver.service
[Unit]
Description=SoftEther VPN Server
After=network.target
[Service]
Type=forking
ExecStart=/usr/local/vpnserver/vpnserver start
ExecStop=/usr/local/vpnserver/vpnserver stop
[Install]
WantedBy=multi-user.target
-
systemctl enable vpnserver systemctl start vpnserver
-
run the vpn command
/usr/local/vpnserver/vpnserver
-
set up the vpn server using follow commands in sequence
1 #select server configuration mode
ServerPasswordSet
Hub Default #select the virtual hub
UserCreate
UserPasswordSet
IPsecEnable #keep hitting yes and setup shared key for LT2P
#Optional enable openvpn protocol
ServerCertRegenerate <your_server_IP OR domain>
ServerCertGet ~/cert.cer
SstpEnable yes
OpenVpnEnable yes /PORTS:1194
- test the functionality in client like iOS/Andriod