summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorNataliia Solomko <natalirs1985@gmail.com>2024-05-09 16:35:48 +0300
committerNataliia Solomko <natalirs1985@gmail.com>2024-05-09 18:10:33 +0300
commit92b468b9a0d5eee8484601568227f7c56e71b119 (patch)
tree271444d4ff4deea1f081d0b1f371c4427f418ff8 /data/templates
parent52efc39691737fd0be965cad955758ca8b8e40e9 (diff)
downloadvyos-1x-92b468b9a0d5eee8484601568227f7c56e71b119.tar.gz
vyos-1x-92b468b9a0d5eee8484601568227f7c56e71b119.zip
sstp: T4393: Add support to configure host-name (SNI)
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/accel-ppp/sstp.config.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/accel-ppp/sstp.config.j2 b/data/templates/accel-ppp/sstp.config.j2
index b624f83a3..22fb55506 100644
--- a/data/templates/accel-ppp/sstp.config.j2
+++ b/data/templates/accel-ppp/sstp.config.j2
@@ -42,6 +42,9 @@ accept=ssl
ssl-ca-file=/run/accel-pppd/sstp-ca.pem
ssl-pemfile=/run/accel-pppd/sstp-cert.pem
ssl-keyfile=/run/accel-pppd/sstp-cert.key
+{% if host_name is vyos_defined %}
+host-name={{ host_name }}
+{% endif %}
{% if default_pool is vyos_defined %}
ip-pool={{ default_pool }}
{% endif %}