summaryrefslogtreecommitdiff
path: root/templates/show/vpn/ipsec/sa/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show/vpn/ipsec/sa/node.def')
-rw-r--r--templates/show/vpn/ipsec/sa/node.def6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/show/vpn/ipsec/sa/node.def b/templates/show/vpn/ipsec/sa/node.def
new file mode 100644
index 0000000..99a5cc1
--- /dev/null
+++ b/templates/show/vpn/ipsec/sa/node.def
@@ -0,0 +1,6 @@
+help: Show all active IPsec Security Associations (SA)
+run: if pgrep charon >&/dev/null; then
+ sudo /usr/sbin/swanctl --list-sas
+ else
+ echo -e "IPSec Process NOT Running\n"
+ fi