summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/reset/vpn/ipsec-peer/node.tag/vti/node.def5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/reset/vpn/ipsec-peer/node.tag/vti/node.def b/templates/reset/vpn/ipsec-peer/node.tag/vti/node.def
new file mode 100644
index 0000000..f0f39a8
--- /dev/null
+++ b/templates/reset/vpn/ipsec-peer/node.tag/vti/node.def
@@ -0,0 +1,5 @@
+help: Reset a vti tunnel for given peer
+
+run: /opt/vyatta/bin/sudo-users/vyatta-vpn-op.pl \
+ --op=clear-vtis-for-peer \
+ --peer="$4"