From 92b468b9a0d5eee8484601568227f7c56e71b119 Mon Sep 17 00:00:00 2001 From: Nataliia Solomko Date: Thu, 9 May 2024 16:35:48 +0300 Subject: sstp: T4393: Add support to configure host-name (SNI) --- data/templates/accel-ppp/sstp.config.j2 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'data/templates/accel-ppp') 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 %} -- cgit v1.2.3