summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2025-01-23 12:21:01 +0100
committerGitHub <noreply@github.com>2025-01-23 12:21:01 +0100
commita2b8e8d87e34b4266c375ad1db0b6ca8b6a7da8c (patch)
tree21446d568cf770425a3251a4aa40f47555391f09
parenta75b18016b69df51d9839bbba47c1af4d738441b (diff)
parentdbbe4e2e42efac2923b8e3260ec97fbe0063f2a2 (diff)
downloadvyos-documentation-a2b8e8d87e34b4266c375ad1db0b6ca8b6a7da8c.tar.gz
vyos-documentation-a2b8e8d87e34b4266c375ad1db0b6ca8b6a7da8c.zip
Merge pull request #1590 from Ckath/new_enable
update firewall example in nat44.rst
-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
}
}
}