diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-08-15 20:16:02 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-08-15 20:44:21 +0200 |
commit | 66af9a9daa245b9478d7103861935ee5b8c2526a (patch) | |
tree | d89cb29d6e4335e01ee025dfd129459e5b04aa76 /data/templates/ocserv/ocserv_config.tmpl | |
parent | 923728b19a790728685027ef8fadabffee20e5bc (diff) | |
download | vyos-1x-66af9a9daa245b9478d7103861935ee5b8c2526a.tar.gz vyos-1x-66af9a9daa245b9478d7103861935ee5b8c2526a.zip |
ocserv: openconnect: T4614: add support for split-dns
set vpn openconnect network-settings split-dns <domain>
(cherry picked from commit e41685a2f56cca0a53b4f8c084f61a85cf561c80)
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 %} - |