diff options
author | Daniil Baturin <daniil@vyos.io> | 2022-08-18 15:18:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-18 15:18:33 +0100 |
commit | dc0e468046bef4aef3ee81eec23c3703e0b5da85 (patch) | |
tree | 375ae6f0a735436bd58643f6d1d74eeca88e7c21 /data/templates/ocserv/ocserv_config.tmpl | |
parent | 4d845cc368220b509faa91e61260eab1b4c38517 (diff) | |
parent | 28936477c4f4c4633c9a384054c0a65090ece101 (diff) | |
download | vyos-1x-dc0e468046bef4aef3ee81eec23c3703e0b5da85.tar.gz vyos-1x-dc0e468046bef4aef3ee81eec23c3703e0b5da85.zip |
Merge pull request #1470 from c-po/openconnect-T4614
ocserv: openconnect: T4614: add support for split-dns (equuleus)
Diffstat (limited to 'data/templates/ocserv/ocserv_config.tmpl')
-rw-r--r-- | data/templates/ocserv/ocserv_config.tmpl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/data/templates/ocserv/ocserv_config.tmpl b/data/templates/ocserv/ocserv_config.tmpl index 328af0c0d..8a394f0ac 100644 --- a/data/templates/ocserv/ocserv_config.tmpl +++ b/data/templates/ocserv/ocserv_config.tmpl @@ -70,6 +70,11 @@ ipv6-network = {{ network_settings.client_ipv6_pool.prefix }} ipv6-subnet-prefix = {{ network_settings.client_ipv6_pool.mask }} {% endif %} {% endif %} +{% if network_settings.split_dns is defined %} +{% for tmp in network_settings.split_dns %} +split-dns = {{ tmp }} +{% endfor %} +{% endif %} {% endif %} {% if network_settings.push_route is string %} @@ -79,4 +84,3 @@ route = {{ network_settings.push_route }} route = {{ route }} {% endfor %} {% endif %} - |