diff options
-rw-r--r-- | templates/show/vpn/ipsec/sa/detail/connection/node.tag/node.def | 1 |
1 files changed, 1 insertions, 0 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 a71464a..0094f92 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,2 +1,3 @@ help: Show details of all active IPsec Security Associations (SA) for a specific connection. run: sudo /opt/vyatta/sbin/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 |