summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-07-04 20:57:15 +0200
committerChristian Poessinger <christian@poessinger.com>2021-07-04 20:57:33 +0200
commitc8bf1deec9ce169f74049423ba21f6ef1360a3df (patch)
tree8a8b897f37f8a87ebe8724b48621b6a80674bb44 /data/templates
parentb16827699604b3aa1f222c76a4cf80e9011974aa (diff)
downloadvyos-1x-c8bf1deec9ce169f74049423ba21f6ef1360a3df.tar.gz
vyos-1x-c8bf1deec9ce169f74049423ba21f6ef1360a3df.zip
ipsec: T1210: T1251: add remote-access "name-server" definition to pool config
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/ipsec/swanctl.conf.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/ipsec/swanctl.conf.tmpl b/data/templates/ipsec/swanctl.conf.tmpl
index 03f1e9942..0eda8479a 100644
--- a/data/templates/ipsec/swanctl.conf.tmpl
+++ b/data/templates/ipsec/swanctl.conf.tmpl
@@ -26,7 +26,7 @@ pools {
{% for ra, ra_conf in remote_access.items() if remote_access is defined %}
ra-{{ ra }} {
addrs = {{ ra_conf.pool.prefix }}
- dns = {{ ra_conf.pool.dns_server | join(",") }}
+ dns = {{ ra_conf.pool.name_server | join(",") }}
{% if ra_conf.pool.exclude is defined %}
split_exclude = {{ ra_conf.pool.exclude | join(",") }}
{% endif %}