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/nat.xml.in | 110 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 interface-definitions/nat.xml.in (limited to 'interface-definitions/nat.xml.in') diff --git a/interface-definitions/nat.xml.in b/interface-definitions/nat.xml.in new file mode 100644 index 000000000..bcbdb37af --- /dev/null +++ b/interface-definitions/nat.xml.in @@ -0,0 +1,110 @@ + + + + + Network Address Translation (NAT) parameters + 220 + + + + + Destination NAT settings + + + #include + + + + + Inbound interface of NAT traffic + + + + + + + + Inside NAT IP (destination NAT only) + + + + + IP address, subnet, or range + + ipv4 + IPv4 address to match + + + ipv4net + IPv4 prefix to match + + + ipv4range + IPv4 address range to match + + + + + #include + + + + + + + + + Source NAT settings + + + #include + + + + + Outbound interface of NAT traffic + + + + + + + + Outside NAT IP (source NAT only) + + + + + IP address, subnet, or range + + masquerade + + + ipv4 + IPv4 address to match + + + ipv4net + IPv4 prefix to match + + + ipv4range + IPv4 address range to match + + + masquerade + NAT to the primary address of outbound-interface + + + + + #include + + + + + + + + + -- cgit v1.2.3