summaryrefslogtreecommitdiff
path: root/templates/show/vpn/ipsec
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show/vpn/ipsec')
-rw-r--r--templates/show/vpn/ipsec/sa/detail/connection/node.tag/node.def4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/show/vpn/ipsec/sa/detail/connection/node.tag/node.def b/templates/show/vpn/ipsec/sa/detail/connection/node.tag/node.def
index de14bd7..2f7c8f3 100644
--- a/templates/show/vpn/ipsec/sa/detail/connection/node.tag/node.def
+++ b/templates/show/vpn/ipsec/sa/detail/connection/node.tag/node.def
@@ -1,3 +1,5 @@
help: Show detailed all active IPsec Security Associations (SA) for a specific connection
+
run: sudo /opt/vyatta/bin/sudo-users/command_proc_show_vpn show_vpn_ipsec_sa.xsl --pname detail --pval y --pname conn --pval "$7"
-allowed: ipsec auto --status | grep '000 "peer-' | perl -p -e 's/^000 "([^"]*)":\s.*/\1/' | sort -u
+
+allowed: sudo /usr/sbin/ipsec auto --status | grep '000 "peer-' | perl -p -e 's/^000 "([^"]*)":\s.*/\1/' | sort -u