summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorckath <ckath@yandex.ru>2025-01-20 21:46:42 +0100
committerckath <ckath@yandex.ru>2025-01-20 21:46:42 +0100
commitdbbe4e2e42efac2923b8e3260ec97fbe0063f2a2 (patch)
tree6bc0eb31425e61d8a87787f24ac8010d4f8520fa /docs
parent5cc3e61da347f3b7834f01b6acbc769e06d8e294 (diff)
downloadvyos-documentation-dbbe4e2e42efac2923b8e3260ec97fbe0063f2a2.tar.gz
vyos-documentation-dbbe4e2e42efac2923b8e3260ec97fbe0063f2a2.zip
update firewall example in nat44.rst
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration/nat/nat44.rst6
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/configuration/nat/nat44.rst b/docs/configuration/nat/nat44.rst
index 68854c16..fb0d5af9 100644
--- a/docs/configuration/nat/nat44.rst
+++ b/docs/configuration/nat/nat44.rst
@@ -585,7 +585,7 @@ rule, using ``connection-status`` matcher:
set firewall ipv4 forward filter rule 10 action accept
set firewall ipv4 forward filter rule 10 connection-status nat destination
- set firewall ipv4 forward filter rule 10 state new enable
+ set firewall ipv4 forward filter rule 10 state new
This would generate the following configuration:
@@ -599,9 +599,7 @@ This would generate the following configuration:
connection-status {
nat destination
}
- state {
- new enable
- }
+ state new
}
}
}