summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-06-09 18:34:29 +0200
committerChristian Poessinger <christian@poessinger.com>2022-06-09 18:34:29 +0200
commit23f610f1a1fec326d1f68cddeaabd9c35009e47b (patch)
tree591580fc6c8f91757d98ba24e547cf877cc5f357 /interface-definitions
parent5294710b9280053f09ed01ddde6eca3e65fda060 (diff)
parent1aeaedb06928ce72c9439802055770826b32b454 (diff)
downloadvyos-1x-23f610f1a1fec326d1f68cddeaabd9c35009e47b.tar.gz
vyos-1x-23f610f1a1fec326d1f68cddeaabd9c35009e47b.zip
Merge branch 'sstp_port' of https://github.com/goodNETnick/vyos-1x into current
* 'sstp_port' of https://github.com/goodNETnick/vyos-1x: sstp: T4444. Port number changing support
Diffstat (limited to 'interface-definitions')
-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>