diff options
author | Christian Breunig <christian@breunig.cc> | 2024-08-06 06:57:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-06 06:57:02 +0200 |
commit | 260f6d9365b4e40084fa28ba43dd5e35c4288640 (patch) | |
tree | efc84054daa4a7a4170e6a935d65c62385e9df18 /interface-definitions/interfaces_openvpn.xml.in | |
parent | f51657532b546cc1e20df1a18b1111c46db045be (diff) | |
parent | 01da8d9cd91b9c35dcbbc9160f6377655d5c8983 (diff) | |
download | vyos-1x-260f6d9365b4e40084fa28ba43dd5e35c4288640.tar.gz vyos-1x-260f6d9365b4e40084fa28ba43dd5e35c4288640.zip |
Merge pull request #3943 from vyos/mergify/bp/circinus/pr-3920
OPENVPN: T6555: add server-bridge options in mode server (backport #3920)
Diffstat (limited to 'interface-definitions/interfaces_openvpn.xml.in')
-rw-r--r-- | interface-definitions/interfaces_openvpn.xml.in | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/interface-definitions/interfaces_openvpn.xml.in b/interface-definitions/interfaces_openvpn.xml.in index 1860523c2..2d880feef 100644 --- a/interface-definitions/interfaces_openvpn.xml.in +++ b/interface-definitions/interfaces_openvpn.xml.in @@ -445,6 +445,62 @@ </leafNode> </children> </tagNode> + <node name="bridge"> + <properties> + <help>Used with TAP device (layer 2)</help> + </properties> + <children> + #include <include/generic-disable-node.xml.i> + <leafNode name="start"> + <properties> + <help>First IP address in the pool</help> + <constraint> + <validator name="ipv4-address"/> + </constraint> + <valueHelp> + <format>ipv4</format> + <description>IPv4 address</description> + </valueHelp> + </properties> + </leafNode> + <leafNode name="stop"> + <properties> + <help>Last IP address in the pool</help> + <constraint> + <validator name="ipv4-address"/> + </constraint> + <valueHelp> + <format>ipv4</format> + <description>IPv4 address</description> + </valueHelp> + </properties> + </leafNode> + <leafNode name="subnet-mask"> + <properties> + <help>Subnet mask pushed to dynamic clients.</help> + <constraint> + <validator name="ipv4-address"/> + </constraint> + <valueHelp> + <format>ipv4</format> + <description>IPv4 subnet mask</description> + </valueHelp> + </properties> + </leafNode> + <leafNode name="gateway"> + <properties> + <help>Gateway IP address</help> + <constraint> + <validator name="ipv4-address"/> + </constraint> + <valueHelp> + <format>ipv4</format> + <description>IPv4 address</description> + </valueHelp> + </properties> + </leafNode> + </children> + </node> <node name="client-ip-pool"> <properties> <help>Pool of client IPv4 addresses</help> |