summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-06 21:44:07 +0200
committerChristian Poessinger <christian@poessinger.com>2020-05-06 21:44:09 +0200
commited22334321d3b6f27b5d695a4f984257b909f78b (patch)
tree0f86605584c9a2c4d1d1b23ce7da86713cd9ffb7 /data/templates
parentd55050dcb8806a982b0394dcde00c1814499d9f3 (diff)
downloadvyos-1x-ed22334321d3b6f27b5d695a4f984257b909f78b.tar.gz
vyos-1x-ed22334321d3b6f27b5d695a4f984257b909f78b.zip
sstp: T2392: add IPv6 DNS support
New command added: * set vpn sstp network-settings name-server 2001:db8::1111
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/accel-ppp/sstp.config.tmpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/data/templates/accel-ppp/sstp.config.tmpl b/data/templates/accel-ppp/sstp.config.tmpl
index e0a48a44e..411fca489 100644
--- a/data/templates/accel-ppp/sstp.config.tmpl
+++ b/data/templates/accel-ppp/sstp.config.tmpl
@@ -54,6 +54,14 @@ dns{{ loop.index }}={{ dns }}
{% endfor -%}
{% endif %}
+{% if dnsv6 %}
+[ipv6-dns]
+{% for dns in dnsv6 -%}
+{{ dns }}
+{% endfor -%}
+{% endif %}
+
+
{% if auth_mode == 'local' %}
[chap-secrets]
chap-secrets={{ chap_secrets_file }}