From 2c4b6b74317240eedbbae9d2816f86eda464ae68 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Mon, 14 Nov 2022 16:54:24 +0000 Subject: T4812: Add op-mode Show vpn ipsec connections Add op-mode CLI "show vpn ipsec connections" Add the ability to show all configured connections/tunnels and their states. Ability to get --raw data --- op-mode-definitions/vpn-ipsec.xml.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/vpn-ipsec.xml.in b/op-mode-definitions/vpn-ipsec.xml.in index f1af65fcb..803ce4cc2 100644 --- a/op-mode-definitions/vpn-ipsec.xml.in +++ b/op-mode-definitions/vpn-ipsec.xml.in @@ -137,6 +137,12 @@ Show Internet Protocol Security (IPsec) information + + + Show VPN connections + + sudo ${vyos_op_scripts_dir}/ipsec.py show_connections + Show the in-kernel crypto policies -- cgit v1.2.3