Skip to content

Instantly share code, notes, and snippets.

@sAws
sAws / l2tpclient.sh
Last active March 12, 2019 12:24 — forked from danielv99/l2tpclient.sh
L2TP VPN client on Linux Debian
#!/usr/bin/env bash
# Requirements
# debian/ubuntu
apt-get -y update && apt-get -y upgrade
apt-get -y install strongswan xl2tpd libstrongswan-standard-plugins libstrongswan-extra-plugins
VPN_SERVER_IP=''
VPN_IPSEC_PSK=''
VPN_USER=''