vadossam
10/17/2019 - 9:13 AM

VPN client linux server

https://github.com/hwdsl2/setup-ipsec-vpn/blob/master/docs/clients.md#configure-linux-vpn-clients-using-the-command-line

route add 193.111.63.252 gw 199.192.29.1
route add 193.111.60.26 gw 199.192.29.1
route add 95.132.128.78 gw 199.192.29.1
route add 178.137.91.184 gw 199.192.29.1
route add 193.111.60.5 gw 199.192.29.1


ipsec up nl
echo "c nl" > /var/run/xl2tpd/l2tp-control
bash /root/vpn.sh

ipsec down nl
echo "d nl" > /var/run/xl2tpd/l2tp-control