aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2019-05-14 08:43:43 -0400
committerRyan Kavanagh <rak@debian.org>2019-05-14 08:43:43 -0400
commit15f0b10e408d1ca32a68c4895b31b14ef9373c7e (patch)
tree932a1d012894e8889af61697aee628d71ffa7b0b /bin
parentMake chrome default browser (diff)
ipsec tunnels are now configured with 'auto=route', so no need to put them up manually
Diffstat (limited to 'bin')
-rwxr-xr-xbin/vpnc3
-rwxr-xr-xbin/vpnd3
2 files changed, 4 insertions, 2 deletions
diff --git a/bin/vpnc b/bin/vpnc
index 053254c..3933feb 100755
--- a/bin/vpnc
+++ b/bin/vpnc
@@ -1,3 +1,4 @@
#!/bin/sh
-sudo ipsec up $1 && sleep 1 && sudo xl2tpd-control connect $1
+#sudo ipsec up $1 && sleep 1 && sudo xl2tpd-control connect $1
+sudo xl2tpd-control connect $1
diff --git a/bin/vpnd b/bin/vpnd
index 0631a90..a43dc0d 100755
--- a/bin/vpnd
+++ b/bin/vpnd
@@ -1,3 +1,4 @@
#!/bin/sh
-sudo xl2tpd-control disconnect $1 && sudo ipsec down $1
+# sudo xl2tpd-control disconnect $1 && sudo ipsec down $1
+sudo xl2tpd-control disconnect $1