summaryrefslogtreecommitdiff
path: root/op-mode-definitions/vpn-ipsec.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-14 18:24:13 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-14 18:24:13 +0200
commitf96435277e4c2b1e305f10f39206e281693f6232 (patch)
treeb4fc83e50c031b0e866e3c35ea75ba619ec8fef0 /op-mode-definitions/vpn-ipsec.xml.in
parente36a4e684b95c4fd1e9ab042270fafd95e697586 (diff)
downloadvyos-1x-f96435277e4c2b1e305f10f39206e281693f6232.tar.gz
vyos-1x-f96435277e4c2b1e305f10f39206e281693f6232.zip
op-mode: combine two "show vpn" definitions
Diffstat (limited to 'op-mode-definitions/vpn-ipsec.xml.in')
-rw-r--r--op-mode-definitions/vpn-ipsec.xml.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/op-mode-definitions/vpn-ipsec.xml.in b/op-mode-definitions/vpn-ipsec.xml.in
index 20f275e9b..18b72b87c 100644
--- a/op-mode-definitions/vpn-ipsec.xml.in
+++ b/op-mode-definitions/vpn-ipsec.xml.in
@@ -140,6 +140,12 @@
</properties>
<command>sudo ip xfrm policy list</command>
</node>
+ <leafNode name="remote-access">
+ <properties>
+ <help>Show active VPN server sessions</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/show_vpn_ra.py</command>
+ </leafNode>
<node name="sa">
<properties>
<help>Show all active IPSec Security Associations (SA)</help>