From 9bfe2749a1fa41a4c77a3364851ac1fbefbf3ef3 Mon Sep 17 00:00:00 2001 From: Nataliia Solomko Date: Fri, 13 Feb 2026 12:29:00 +0200 Subject: vpp: T8254: Move 'nat44' and 'settings nat44' sections to 'nat nat44' --- interface-definitions/vpp.xml.in | 461 ++++++++++++++++++--------------------- 1 file changed, 218 insertions(+), 243 deletions(-) (limited to 'interface-definitions') diff --git a/interface-definitions/vpp.xml.in b/interface-definitions/vpp.xml.in index 159b99a55..f33f9a985 100644 --- a/interface-definitions/vpp.xml.in +++ b/interface-definitions/vpp.xml.in @@ -879,92 +879,6 @@ - - - NAT settings - - - - - NAT44 session timeouts - - - - - ICMP timeout - - u32 - Timeout in seconds (default: 60) - - - 60 - - - - TCP established timeout - - u32 - TCP established timeout in seconds (default: 7440) - - - 7440 - - - - TCP transitory timeout - - u32 - Timeout in seconds (default: 240) - - - 240 - - - - UDP timeout - - u32 - Timeout in seconds (default: 300) - - - 300 - - - - - - Maximum number of sessions per thread - - u32 - Number of sessions - - - - - Number of sessions must be between 1 and 4294967295 - - 64512 - - - - List of NAT workers - - <id> - Worker id - - - <idN>-<idM> - Worker id range (use '-' as delimiter) - - - - - Not a valid value or range - - - - - Physical memory settings @@ -1203,107 +1117,237 @@ - - - - - NAT44 - 330 - - - + - NAT interface setting + NAT44 + 330 - + - NAT inside interface - - - - + NAT44 session timeouts - - + + + + ICMP timeout + + u32 + Timeout in seconds (default: 60) + + + 60 + + + + TCP established timeout + + u32 + TCP established timeout in seconds (default: 7440) + + + 7440 + + + + TCP transitory timeout + + u32 + Timeout in seconds (default: 240) + + + 240 + + + + UDP timeout + + u32 + Timeout in seconds (default: 300) + + + 300 + + + + - NAT outside interface - - - - + Maximum number of sessions per thread + + u32 + Number of sessions + + + + + Number of sessions must be between 1 and 4294967295 + 64512 - - - - - NAT address pool - - - + - NAT translation pool + NAT interface setting - #include - #include + + + NAT inside interface + + + + + + + + + NAT outside interface + + + + + + - + - NAT twice-nat pool + NAT address pool - #include - #include + + + NAT translation pool + + + #include + #include + + + + + NAT twice-nat pool + + + #include + #include + + - - - - - Static NAT rules - - - + - Rule number for NAT - - u32 - Number of NAT rule - + Static NAT rules - #include - + - NAT external parameters + Rule number for NAT + + u32 + Number of NAT rule + - + #include + - IP address - - ipv4 - IPv4 address - - - - + NAT external parameters - - #include + + + + IP address + + ipv4 + IPv4 address + + + + + + + #include + + + + + NAT local parameters + + + + + IP address + + ipv4 + IPv4 address + + + + + + + #include + + + + + NAT static mapping options + + + + + Rewrite source IP addresses on packets sent from outside to inside + + + + + + Rewrite source IP addresses on packets sent only from a local address to an external address + + + + + + Only apply rule for traffic from outside to inside interfaces + + + + + + Force use of specific IP address from twice-nat address pool + + ipv4 + IPv4 address + + + + + + + + + #include - - + + + + + + Exclude packets matching these rules from NAT + + + - NAT local parameters + Rule number + + u32 + Number of rule + - + - IP address + IP address of the internal (local) device ipv4 IPv4 address @@ -1313,102 +1357,33 @@ - #include - - - - - NAT static mapping options - - - - - Rewrite source IP addresses on packets sent from outside to inside - - - - - - Rewrite source IP addresses on packets sent only from a local address to an external address - - - - - - Only apply rule for traffic from outside to inside interfaces - - - - + - Force use of specific IP address from twice-nat address pool + Port number used by connection on internal device - ipv4 - IPv4 address + u32:1-65535 + Numeric IP port - + + Port number must be in range 1 to 65535 + #include + + + External interface + + + + + + #include - - #include - - - - - - - Exclude packets matching these rules from NAT - - - - - Rule number - - u32 - Number of rule - - - - - - IP address of the internal (local) device - - ipv4 - IPv4 address - - - - - - - - - Port number used by connection on internal device - - u32:1-65535 - Numeric IP port - - - - - Port number must be in range 1 to 65535 - - - #include - - - External interface - - - - - - #include + - + -- cgit v1.2.3