summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/show/vpn/ipsec/connections/node.def6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/show/vpn/ipsec/connections/node.def b/templates/show/vpn/ipsec/connections/node.def
new file mode 100644
index 0000000..f56ac60
--- /dev/null
+++ b/templates/show/vpn/ipsec/connections/node.def
@@ -0,0 +1,6 @@
+help: Show VPN connections
+run: if pgrep charon >&/dev/null; then
+ sudo ${vyos_op_scripts_dir}/show_ipsec_connections.py
+ else
+ echo -e "IPSec Process NOT Running\n"
+ fi