diff options
author | Christian Breunig <christian@breunig.cc> | 2024-08-20 07:24:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-20 07:24:55 +0200 |
commit | 2277371fe18577502ce318c23789f86d1ec97be7 (patch) | |
tree | 44dfcee280ad6d46e858ef0af266755d70bb066a /interface-definitions/interfaces_openvpn.xml.in | |
parent | 538930c27a0984cd9f9a58115e6ea6395002707e (diff) | |
parent | 18ea3673a105d9d12699afb2607c81412dde441b (diff) | |
download | vyos-1x-2277371fe18577502ce318c23789f86d1ec97be7.tar.gz vyos-1x-2277371fe18577502ce318c23789f86d1ec97be7.zip |
Merge pull request #3975 from lucasec/t6183
T6183: interfaces openvpn: suppport specifying IP protocol version
Diffstat (limited to 'interface-definitions/interfaces_openvpn.xml.in')
-rw-r--r-- | interface-definitions/interfaces_openvpn.xml.in | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/interface-definitions/interfaces_openvpn.xml.in b/interface-definitions/interfaces_openvpn.xml.in index 3563caef2..3c844107e 100644 --- a/interface-definitions/interfaces_openvpn.xml.in +++ b/interface-definitions/interfaces_openvpn.xml.in @@ -318,6 +318,34 @@ </properties> <defaultValue>udp</defaultValue> </leafNode> + <leafNode name="ip-version"> + <properties> + <help>Force OpenVPN to use a specific IP protocol version</help> + <completionHelp> + <list>auto ipv4 ipv6 dual-stack</list> + </completionHelp> + <valueHelp> + <format>auto</format> + <description>Select one IP protocol to use based on local or remote host</description> + </valueHelp> + <valueHelp> + <format>_ipv4</format> + <description>Accept connections on or initate connections to IPv4 addresses only</description> + </valueHelp> + <valueHelp> + <format>_ipv6</format> + <description>Accept connections on or initate connections to IPv6 addresses only</description> + </valueHelp> + <valueHelp> + <format>dual-stack</format> + <description>Accept connections on both protocols simultaneously (only supported in server mode)</description> + </valueHelp> + <constraint> + <regex>(auto|ipv4|ipv6|dual-stack)</regex> + </constraint> + </properties> + <defaultValue>auto</defaultValue> + </leafNode> <leafNode name="remote-address"> <properties> <help>IP address of remote end of tunnel</help> |