summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-05-09 17:29:36 +0200
committerGitHub <noreply@github.com>2024-05-09 17:29:36 +0200
commit0999a75da918485a26b3fbcd1be79711bfba1244 (patch)
treed69e4bea4fc31ea89e0498f939e53c9675234eba /data/templates/accel-ppp
parentc38795e317cd314c21e594467df3eea86ad188ab (diff)
parentfaf450705d464bf2a87bcd989c0e1f031a54c03e (diff)
downloadvyos-1x-0999a75da918485a26b3fbcd1be79711bfba1244.tar.gz
vyos-1x-0999a75da918485a26b3fbcd1be79711bfba1244.zip
Merge pull request #3438 from vyos/mergify/bp/sagitta/pr-3436
sstp: T4393: Add support to configure host-name (SNI) (backport #3436)
Diffstat (limited to 'data/templates/accel-ppp')
-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 %}