diff options
author | Nataliia Solomko <natalirs1985@gmail.com> | 2024-05-09 16:35:48 +0300 |
---|---|---|
committer | Nataliia Solomko <natalirs1985@gmail.com> | 2024-05-09 18:10:33 +0300 |
commit | 92b468b9a0d5eee8484601568227f7c56e71b119 (patch) | |
tree | 271444d4ff4deea1f081d0b1f371c4427f418ff8 /interface-definitions | |
parent | 52efc39691737fd0be965cad955758ca8b8e40e9 (diff) | |
download | vyos-1x-92b468b9a0d5eee8484601568227f7c56e71b119.tar.gz vyos-1x-92b468b9a0d5eee8484601568227f7c56e71b119.zip |
sstp: T4393: Add support to configure host-name (SNI)
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/vpn_sstp.xml.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/interface-definitions/vpn_sstp.xml.in b/interface-definitions/vpn_sstp.xml.in index d23a001d5..d9ed1c040 100644 --- a/interface-definitions/vpn_sstp.xml.in +++ b/interface-definitions/vpn_sstp.xml.in @@ -53,6 +53,15 @@ #include <include/accel-ppp/wins-server.xml.i> #include <include/generic-description.xml.i> #include <include/name-server-ipv4-ipv6.xml.i> + <leafNode name="host-name"> + <properties> + <help>Only allow connection to specified host with the same TLS SNI</help> + <constraint> + #include <include/constraint/host-name.xml.i> + </constraint> + <constraintErrorMessage>Host-name must be alphanumeric and can contain hyphens</constraintErrorMessage> + </properties> + </leafNode> </children> </node> </children> |