aboutsummaryrefslogtreecommitdiff
path: root/bin/vpnc
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2019-01-08 17:54:15 -0500
committerRyan Kavanagh <rak@debian.org>2019-01-08 17:54:15 -0500
commit5fcff9a27a26d4d4ad903bfa69675e02c491b4ad (patch)
tree5732c8a0c194cd51e82ee62874b930a65322dfe8 /bin/vpnc
parentupdate savehooks (diff)
Added vpn management scripts
Diffstat (limited to 'bin/vpnc')
-rwxr-xr-xbin/vpnc3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/vpnc b/bin/vpnc
new file mode 100755
index 0000000..053254c
--- /dev/null
+++ b/bin/vpnc
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+sudo ipsec up $1 && sleep 1 && sudo xl2tpd-control connect $1