diff options
author | Christian Breunig <christian@breunig.cc> | 2023-08-08 06:38:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-08 06:38:41 +0200 |
commit | 69f983d45716683d0ce41bf094cf53548395717f (patch) | |
tree | 207ca6c97864aebd5dd4fdd4906cbfdf8734a522 /interface-definitions/include/firewall/nat-balance.xml.i | |
parent | f651b61d45a7500711d2f058faf1e2ce48179e0d (diff) | |
parent | 657a566df58478c2f5d4bccad952bfcb7991e847 (diff) | |
download | vyos-1x-69f983d45716683d0ce41bf094cf53548395717f.tar.gz vyos-1x-69f983d45716683d0ce41bf094cf53548395717f.zip |
Merge pull request #2119 from nicolas-fort/T5014-dnat
T5014: nat: add source and destination nat options for configuring lo…
Diffstat (limited to 'interface-definitions/include/firewall/nat-balance.xml.i')
-rw-r--r-- | interface-definitions/include/firewall/nat-balance.xml.i | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/interface-definitions/include/firewall/nat-balance.xml.i b/interface-definitions/include/firewall/nat-balance.xml.i new file mode 100644 index 000000000..01793f06b --- /dev/null +++ b/interface-definitions/include/firewall/nat-balance.xml.i @@ -0,0 +1,28 @@ +<!-- include start from firewall/nat-balance.xml.i --> +<tagNode name="backend"> + <properties> + <help>Translated IP address</help> + <valueHelp> + <format>ipv4</format> + <description>IPv4 address to match</description> + </valueHelp> + <constraint> + <validator name="ipv4-address"/> + </constraint> + </properties> + <children> + <leafNode name="weight"> + <properties> + <help>Set probability for this output value</help> + <valueHelp> + <format>u32:1-100</format> + <description>Set probability for this output value</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--allow-range --range 1-100"/> + </constraint> + </properties> + </leafNode> + </children> +</tagNode> +<!-- include end -->
\ No newline at end of file |