diff options
author | Christian Breunig <christian@breunig.cc> | 2024-08-05 07:26:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-05 07:26:17 +0200 |
commit | aa842a640cbe96719caf4cd1843d718a68f81319 (patch) | |
tree | 5b0cc5a7f403fe2efb9a916b667dd925486d799f /interface-definitions | |
parent | 9340765d8484304274d30d252fc16fbebd80a870 (diff) | |
parent | 0162a27952d2166583a9e6aee2cd77b9c693062b (diff) | |
download | vyos-1x-aa842a640cbe96719caf4cd1843d718a68f81319.tar.gz vyos-1x-aa842a640cbe96719caf4cd1843d718a68f81319.zip |
Merge pull request #3920 from fett0/T6555
OPENVPN: T6555: add server-bridge options in mode server
Diffstat (limited to 'interface-definitions')
-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 13ef3ae5b..3563caef2 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> |