Skip to content

Commit 6fc3a90

Browse files
committed
vpp: T7972: Improve nat44 no-forwarding feature name and description in CLI
1 parent 155ddbd commit 6fc3a90

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

docs/vpp/configuration/nat/nat44.rst

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -554,23 +554,22 @@ This setting helps prevent memory exhaustion and ensures predictable performance
554554
# Increase session limit for high-capacity deployment
555555
set vpp settings nat44 session-limit 100000
556556
557-
Forwarding Behavior
557+
Processing Mode
558558
-------------------
559559

560-
By default, VyOS NAT44 forwards packets that don't match any NAT rules according to the routing table. This behavior can be controlled:
560+
NAT44 processing behavior can be controlled using the processing-mode option. Choose how NAT44 treats packets that do not match any NAT rule:
561561

562-
.. cfgcmd:: set vpp settings nat44 no-forwarding
562+
.. cfgcmd:: set vpp settings nat44 processing-mode <mode>
563563

564-
Disable forwarding of packets that don't match existing NAT translations. When enabled, only packets that match static or dynamic NAT rules will be processed; all other traffic will be dropped.
564+
The available processing modes are:
565565

566-
.. important::
567-
568-
This is a significant difference from traditional NAT solutions. By default, VyOS NAT44 allows non-NAT traffic to be forwarded normally. Using ``no-forwarding`` creates a pure NAT-only device that drops any traffic not covered by NAT rules.
566+
- ``static-dynamic``: Process traffic by both static rules and dynamic NAT (default)
567+
- ``static-bypass``: Process traffic by static NAT rules only, pass without NAT if not matched
569568

570-
**Use cases for no-forwarding:**
569+
**Use cases:**
571570

572-
* **Pure NAT gateway**: When the router should only handle NAT traffic and drop everything else
573-
* **Security isolation**: Preventing any non-NAT traffic from traversing the device
571+
* **static-dynamic**: Use when you want dynamic translations created for unmatched inbound traffic so most flows get NATed
572+
* **static-bypass**: Use when NAT should apply only to explicitly configured static mappings and all other traffic must continue to be routed normally
574573

575574
Worker Assignment
576575
-----------------

0 commit comments

Comments
 (0)