export VPN_SERVER_IP="Server ip"
export VPN_IPSEC_PSK="Shared key"
export VPN_USER="User"
export VPN_PASSWORD="Password"
sudo su
sh init
sh start
sh disconnect # close the connection
anixhaja / l2tp-ipsec-ubuntu Goto Github PK
View Code? Open in Web Editor NEWScripts to connect to a L2TP over IPsec on Ubuntu