From 15f0b10e408d1ca32a68c4895b31b14ef9373c7e Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Tue, 14 May 2019 08:43:43 -0400 Subject: ipsec tunnels are now configured with 'auto=route', so no need to put them up manually --- bin/vpnc | 3 ++- bin/vpnd | 3 ++- 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 -- cgit v1.2.3