summaryrefslogtreecommitdiff
path: root/templates/show/vpn
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2009-10-09 16:59:53 -0700
committerMohit Mehta <mohit.mehta@vyatta.com>2009-10-09 16:59:53 -0700
commit92a42fb741210a774309ceb8da438e005d80421f (patch)
treee417e184d033c9e9b5b2c419c142cc23c6112a5d /templates/show/vpn
parent4337b53ed0fcf777d1ed5e4b227450bd44a484b4 (diff)
downloadvyatta-op-vpn-92a42fb741210a774309ceb8da438e005d80421f.tar.gz
vyatta-op-vpn-92a42fb741210a774309ceb8da438e005d80421f.zip
* Fix Bug 4017 Add the ability to restart individual IPSec tunnels
added new operational mode commands - clear vpn ipsec-peer peer <peer> # clear all tunnels for given peer clear vpn ipsec-peer peer <peer> tunnel <tunnel> # clear specific tunnel If peer is 0.0.0.0/any/@id then tunnel is brought down and loaded again but connection is not initiated as remote end could be multiple end-points The remote ends will bring up the tunnel when they get/detect tunnel down * don't call script with sudo from templates. use sudo in script where needed * script clean up
Diffstat (limited to 'templates/show/vpn')
-rw-r--r--templates/show/vpn/debug/detail/node.def2
-rw-r--r--templates/show/vpn/debug/node.def2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/show/vpn/debug/detail/node.def b/templates/show/vpn/debug/detail/node.def
index c12cac8..112cbf6 100644
--- a/templates/show/vpn/debug/detail/node.def
+++ b/templates/show/vpn/debug/detail/node.def
@@ -1,6 +1,6 @@
help: Show detailed VPN debugging information
run: if [ -d $VYATTA_ACTIVE_CONFIGURATION_DIR/vpn/ipsec/site-to-site/peer ] && [ -n "`ls $VYATTA_ACTIVE_CONFIGURATION_DIR/vpn/ipsec/site-to-site/peer/`" ] ; then
- sudo /opt/vyatta/bin/sudo-users/vyatta-vpn-op.pl --op=show-vpn-debug-detail
+ /opt/vyatta/bin/sudo-users/vyatta-vpn-op.pl --op=show-vpn-debug-detail
else
echo VPN ipsec not configured
fi
diff --git a/templates/show/vpn/debug/node.def b/templates/show/vpn/debug/node.def
index ceb64c9..2327d95 100644
--- a/templates/show/vpn/debug/node.def
+++ b/templates/show/vpn/debug/node.def
@@ -1,6 +1,6 @@
help: Show VPN debugging information
run: if [ -d $VYATTA_ACTIVE_CONFIGURATION_DIR/vpn/ipsec/site-to-site/peer ] && [ -n "`ls $VYATTA_ACTIVE_CONFIGURATION_DIR/vpn/ipsec/site-to-site/peer/`" ] ; then
- sudo /opt/vyatta/bin/sudo-users/vyatta-vpn-op.pl --op=show-vpn-debug
+ /opt/vyatta/bin/sudo-users/vyatta-vpn-op.pl --op=show-vpn-debug
else
echo VPN ipsec not configured
fi