summaryrefslogtreecommitdiff
path: root/interface-definitions/vpn_sstp.xml.in
diff options
context:
space:
mode:
authorgoodNETnick <pknet@ya.ru>2022-05-26 02:10:26 -0400
committergoodNETnick <pknet@ya.ru>2022-05-26 02:47:42 -0400
commit1aeaedb06928ce72c9439802055770826b32b454 (patch)
tree20c71f8b3af1158783f66e8f4b7a1f41f58b1e4d /interface-definitions/vpn_sstp.xml.in
parente25afbf4a589e472d13310d8a84cc925ee8473bf (diff)
downloadvyos-1x-1aeaedb06928ce72c9439802055770826b32b454.tar.gz
vyos-1x-1aeaedb06928ce72c9439802055770826b32b454.zip
sstp: T4444. Port number changing support
Diffstat (limited to 'interface-definitions/vpn_sstp.xml.in')
-rw-r--r--interface-definitions/vpn_sstp.xml.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/interface-definitions/vpn_sstp.xml.in b/interface-definitions/vpn_sstp.xml.in
index fe2fea9f8..c85cab7dc 100644
--- a/interface-definitions/vpn_sstp.xml.in
+++ b/interface-definitions/vpn_sstp.xml.in
@@ -37,6 +37,20 @@
</children>
</node>
#include <include/accel-ppp/client-ipv6-pool.xml.i>
+ <leafNode name="port">
+ <properties>
+ <help>SSTP server listening port</help>
+ <valueHelp>
+ <format>u32:1-65535</format>
+ <description>SSTP server listening port</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ <constraintErrorMessage>SSTP server listening port must be between 1 and 65535</constraintErrorMessage>
+ </properties>
+ <defaultValue>443</defaultValue>
+ </leafNode>
<node name="ppp-options">
<properties>
<help>PPP (Point-to-Point Protocol) settings</help>