diff --git a/interface-definitions/include/nat-address-port.xml.i b/interface-definitions/include/nat-address.xml.i similarity index 66% rename from interface-definitions/include/nat-address-port.xml.i rename to interface-definitions/include/nat-address.xml.i index 8705d31cb..933dae07b 100644 --- a/interface-definitions/include/nat-address-port.xml.i +++ b/interface-definitions/include/nat-address.xml.i @@ -1,54 +1,37 @@ IP address, subnet, or range ipv4 IPv4 address to match ipv4net IPv4 prefix to match ipv4range IPv4 address range to match !ipv4 Match everything except the specified address !ipv4net Match everything except the specified prefix !ipv4range Match everything except the specified range - - - Port number - - 1-65535 - Numeric IP port - - - start-end - Numbered port range (e.g., 1001-1005) - - - - \n\nMultiple destination ports can be specified as a comma-separated list.\nThe whole list can also be negated using '!'.\nFor example: '!22,telnet,http,123,1001-1005' - - - diff --git a/interface-definitions/include/nat-port.xml.i b/interface-definitions/include/nat-port.xml.i new file mode 100644 index 000000000..24803ae05 --- /dev/null +++ b/interface-definitions/include/nat-port.xml.i @@ -0,0 +1,17 @@ + + + Port number + + 1-65535 + Numeric IP port + + + start-end + Numbered port range (e.g., 1001-1005) + + + + \n\nMultiple destination ports can be specified as a comma-separated list.\nThe whole list can also be negated using '!'.\nFor example: '!22,telnet,http,123,1001-1005' + + + diff --git a/interface-definitions/include/nat-rule.xml.i b/interface-definitions/include/nat-rule.xml.i index fdba4b8bd..183692664 100644 --- a/interface-definitions/include/nat-rule.xml.i +++ b/interface-definitions/include/nat-rule.xml.i @@ -1,86 +1,88 @@ 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 + #include + #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 + #include + #include