From 40e8938667b06615e0a1a26271a30e00f8cff2c6 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 1 May 2020 13:23:20 +0200 Subject: nat: T2198: initial XML and Python representation --- interface-definitions/include/nat-rule.xml.i | 86 ++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 interface-definitions/include/nat-rule.xml.i (limited to 'interface-definitions/include/nat-rule.xml.i') diff --git a/interface-definitions/include/nat-rule.xml.i b/interface-definitions/include/nat-rule.xml.i new file mode 100644 index 000000000..fdba4b8bd --- /dev/null +++ b/interface-definitions/include/nat-rule.xml.i @@ -0,0 +1,86 @@ + + + Rule number for NAT + + 1-9999 + Number for this NAT rule + + + + + NAT rule number must be between 1 and 9999 + + + + + Rule description + + + + + NAT destination parameters + + + #include + + + + + Disable NAT rule + + + + + + Exclude packets matching this rule from NAT + + + + + + NAT rule logging + + + + + + Protocol to NAT + + tcp udp tcp_udp all + + + tcp + Transmission Control Protocol + + + udp + User Datagram Protocol + + + tcp_udp + Both TCP and UDP + + + all + All IP protocols + + + 0-255 + IP protocol number + + + !<protocol> + All IP protocols except for the specified name or number (negation) + + + + + + NAT source parameters + + + #include + + + + -- cgit v1.2.3