summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorDmitriyEshenko <dmitriy.eshenko@vyos.io>2020-04-10 21:56:00 +0000
committerDmitriyEshenko <dmitriy.eshenko@vyos.io>2020-04-10 21:57:02 +0000
commit56dfe1a5030e1e79d6b7fda6225377a7abd811de (patch)
treeb08ca8b24bc93e8831ee0cfb5bd6d6b4b62a5ffa /op-mode-definitions
parent5e61b09a5d0ad4d4cfd25eafcc95f0d2b1a927b9 (diff)
downloadvyos-1x-56dfe1a5030e1e79d6b7fda6225377a7abd811de.tar.gz
vyos-1x-56dfe1a5030e1e79d6b7fda6225377a7abd811de.zip
sstp: T2263: Implement reset feature
Diffstat (limited to 'op-mode-definitions')
-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>