summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-05-09 17:12:11 +0200
committerGitHub <noreply@github.com>2024-05-09 17:12:11 +0200
commit7925402b487b93d1ae8dd4941e0981437f7fb951 (patch)
tree6671c4c96b55ba56d40c8e44901377022271cdb6 /data
parent7d035fe85624623c2eb06bfe23b31e435456b960 (diff)
parent92b468b9a0d5eee8484601568227f7c56e71b119 (diff)
downloadvyos-1x-7925402b487b93d1ae8dd4941e0981437f7fb951.tar.gz
vyos-1x-7925402b487b93d1ae8dd4941e0981437f7fb951.zip
Merge pull request #3436 from natali-rs1985/T4393-current
sstp: T4393: Add support to configure host-name (SNI)
Diffstat (limited to 'data')
-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 %}