summaryrefslogtreecommitdiff
path: root/interface-definitions/vpn-openconnect.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-08-15 20:16:02 +0200
committerChristian Poessinger <christian@poessinger.com>2022-08-15 20:16:51 +0200
commite41685a2f56cca0a53b4f8c084f61a85cf561c80 (patch)
tree01009f6ad19b2653b5e07c5dc7fc9c57a43ff9de /interface-definitions/vpn-openconnect.xml.in
parentbd102eac6d0c97a5f75324d1248814ebdad42da5 (diff)
downloadvyos-1x-e41685a2f56cca0a53b4f8c084f61a85cf561c80.tar.gz
vyos-1x-e41685a2f56cca0a53b4f8c084f61a85cf561c80.zip
ocserv: openconnect: T4614: add support for split-dns
set vpn openconnect network-settings split-dns <domain>
Diffstat (limited to 'interface-definitions/vpn-openconnect.xml.in')
-rw-r--r--interface-definitions/vpn-openconnect.xml.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/interface-definitions/vpn-openconnect.xml.in b/interface-definitions/vpn-openconnect.xml.in
index 21b47125d..6309863c5 100644
--- a/interface-definitions/vpn-openconnect.xml.in
+++ b/interface-definitions/vpn-openconnect.xml.in
@@ -265,6 +265,19 @@
</children>
</node>
#include <include/name-server-ipv4-ipv6.xml.i>
+ <leafNode name="split-dns">
+ <properties>
+ <help>Domains over which the provided DNS should be used</help>
+ <valueHelp>
+ <format>txt</format>
+ <description>Client prefix length</description>
+ </valueHelp>
+ <constraint>
+ <validator name="fqdn"/>
+ </constraint>
+ <multi/>
+ </properties>
+ </leafNode>
</children>
</node>
</children>