4 ms·
The "implicit firewall by IPv4 NAT" is functionally the same as: Outbound allow Deny all In any stateful firewall implementation. The only difference from IPv
by zamadatix 8y ago
The "implicit firewall by IPv4 NAT" is functionally the same as:
Outbound allow
Deny all
In any stateful firewall implementation. The only difference from IPv4 is the ruleset doesn't have the NAT statement.
- KMag 8y ago100% agree. A simple stateful firewall is more simple than a NAT box, and all else being equal, is likely less exploitable/buggy. Some will argue about what the exact firewall rules should be, but we can have that argument after we all agree to replace NAT with sateful firewalls.
- lloeki 8y agoDefinitely. I suppose this was meant to say "outbound allow all / (inbound) deny all". Nitpick: please make sure ICMPv6 is allowed inbound though, else you'll get PMTU issues among other things.
- zrm 8y agoThis is true of IPv4 ICMP as well. Same PMTU issues, but many IPv4 implementations fallback to allowing in-path packet fragmentation by the routers (which IPv6 discontinued), which is less visible breakage but still inefficient/problematic. It's also slightly more complicated than "outbound allow, inbound deny" because you want to accept reply packets to the outbound ones, using something like the iptables "-m state --state related,established" match.