diff options
author | fett0 <fernando.gmaidana@gmail.com> | 2024-07-31 18:21:25 +0000 |
---|---|---|
committer | fett0 <fernando.gmaidana@gmail.com> | 2024-07-31 18:21:25 +0000 |
commit | 4acad3eb8d9be173b76fecafc32b0c70eae9b192 (patch) | |
tree | 1bede28b5fde36fc26e717986a416d6d50e3be7a /interface-definitions | |
parent | 7724a5f58b515fbc094b4f211d455c1bd5071a74 (diff) | |
download | vyos-1x-4acad3eb8d9be173b76fecafc32b0c70eae9b192.tar.gz vyos-1x-4acad3eb8d9be173b76fecafc32b0c70eae9b192.zip |
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..a988bf36c 100644 --- a/interface-definitions/interfaces_openvpn.xml.in +++ b/interface-definitions/interfaces_openvpn.xml.in @@ -445,6 +445,62 @@ </leafNode> </children> </tagNode> + <node name="server-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> |