summaryrefslogtreecommitdiff
path: root/op-mode-definitions/reset-vpn.xml
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-11 01:26:04 +0200
committerGitHub <noreply@github.com>2020-04-11 01:26:04 +0200
commit74f498f8119a53c801b5e8d37186742b8b303734 (patch)
tree33e0c1e295bcf6948e96ab17c749a3ab58349e12 /op-mode-definitions/reset-vpn.xml
parent0979291765824553d068947d96ff82b065cbf10b (diff)
parent56dfe1a5030e1e79d6b7fda6225377a7abd811de (diff)
downloadvyos-1x-74f498f8119a53c801b5e8d37186742b8b303734.tar.gz
vyos-1x-74f498f8119a53c801b5e8d37186742b8b303734.zip
Merge pull request #327 from DmitriyEshenko/fix-res-ra
sstp: T2263: Implement reset feature
Diffstat (limited to 'op-mode-definitions/reset-vpn.xml')
-rw-r--r--op-mode-definitions/reset-vpn.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/op-mode-definitions/reset-vpn.xml b/op-mode-definitions/reset-vpn.xml
index a081ea488..ae553c272 100644
--- a/op-mode-definitions/reset-vpn.xml
+++ b/op-mode-definitions/reset-vpn.xml
@@ -37,6 +37,12 @@
</properties>
<command>sudo ${vyos_op_scripts_dir}/reset_vpn.py --username="all_users" --protocol="pptp"</command>
</leafNode>
+ <leafNode name="sstp">
+ <properties>
+ <help>Terminate all user's current remote access VPN session(s) with SSTP protocol</help>
+ </properties>
+ <command>sudo ${vyos_op_scripts_dir}/reset_vpn.py --username="all_users" --protocol="sstp"</command>
+ </leafNode>
</children>
</node>
</children>
@@ -70,6 +76,12 @@
</properties>
<command>sudo ${vyos_op_scripts_dir}/reset_vpn.py --username="$5" --protocol="pptp"</command>
</leafNode>
+ <leafNode name="sstp">
+ <properties>
+ <help>Terminate all user's current remote access VPN session(s) with SSTP protocol</help>
+ </properties>
+ <command>sudo ${vyos_op_scripts_dir}/reset_vpn.py --username="$5" --protocol="sstp"</command>
+ </leafNode>
</children>
</node>
</children>