mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
update firewall example in nat44.rst
This commit is contained in:
parent
5cc3e61da3
commit
dbbe4e2e42
@ -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 action accept
|
||||||
set firewall ipv4 forward filter rule 10 connection-status nat destination
|
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:
|
This would generate the following configuration:
|
||||||
|
|
||||||
@ -599,9 +599,7 @@ This would generate the following configuration:
|
|||||||
connection-status {
|
connection-status {
|
||||||
nat destination
|
nat destination
|
||||||
}
|
}
|
||||||
state {
|
state new
|
||||||
new enable
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user