Page MenuHomeVyOS Platform

reset-vpn.xml.in
No OneTemporary

Size
3 KB
Referenced Files
None
Subscribers
None

reset-vpn.xml.in

<?xml version="1.0"?>
<interfaceDefinition>
<node name="reset">
<children>
<node name="vpn">
<properties>
<help>Reset Virtual Private Network (VPN) information</help>
</properties>
<children>
<node name="l2tp">
<properties>
<help>Reset L2TP server VPN sessions</help>
</properties>
<children>
<node name="all">
<properties>
<help>Reset all L2TP server VPN sessions</help>
</properties>
<command>sudo ${vyos_op_scripts_dir}/reset_vpn.py reset_conn --protocol="l2tp"</command>
</node>
<tagNode name="interface">
<properties>
<help>Reset specified interface on L2TP VPN server</help>
</properties>
<command>sudo ${vyos_op_scripts_dir}/reset_vpn.py reset_conn --protocol="l2tp" --interface="$5"</command>
</tagNode>
<tagNode name="user">
<properties>
<help>Reset specified user on L2TP VPN server</help>
</properties>
<command>sudo ${vyos_op_scripts_dir}/reset_vpn.py reset_conn --protocol="l2tp" --username="$5"</command>
</tagNode>
</children>
</node>
<node name="pptp">
<properties>
<help>Reset PPTP server VPN sessions</help>
</properties>
<children>
<node name="all">
<properties>
<help>Reset all PPTP server VPN sessions</help>
</properties>
<command>sudo ${vyos_op_scripts_dir}/reset_vpn.py reset_conn --protocol="pptp"</command>
</node>
<tagNode name="interface">
<properties>
<help>Reset specified interface on PPTP VPN server</help>
</properties>
<command>sudo ${vyos_op_scripts_dir}/reset_vpn.py reset_conn --protocol="pptp" --interface="$5"</command>
</tagNode>
<tagNode name="user">
<properties>
<help>Reset specified user on PPTP VPN server</help>
</properties>
<command>sudo ${vyos_op_scripts_dir}/reset_vpn.py reset_conn --protocol="pptp" --username="$5"</command>
</tagNode>
</children>
</node>
<node name="sstp">
<properties>
<help>Reset SSTP server VPN sessions</help>
</properties>
<children>
<node name="all">
<properties>
<help>Reset all SSTP server VPN sessions</help>
</properties>
<command>sudo ${vyos_op_scripts_dir}/reset_vpn.py reset_conn --protocol="sstp"</command>
</node>
<tagNode name="interface">
<properties>
<help>Reset specified interface on SSTP VPN server</help>
</properties>
<command>sudo ${vyos_op_scripts_dir}/reset_vpn.py reset_conn --protocol="sstp" --interface="$5"</command>
</tagNode>
<tagNode name="user">
<properties>
<help>Reset specified user on SSTP VPN server</help>
</properties>
<command>sudo ${vyos_op_scripts_dir}/reset_vpn.py reset_conn --protocol="sstp" --username="$5"</command>
</tagNode>
</children>
</node>
</children>
</node>
</children>
</node>
</interfaceDefinition>

File Metadata

Mime Type
text/xml
Expires
Fri, Nov 6, 7:49 AM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4653247
Default Alt Text
reset-vpn.xml.in (3 KB)

Event Timeline