News for hackers. Stuff that matters.
Re:How does Linux NAT a ping? by starfallg on Sunday September 10, 2023 @02:10PM (#37458417)
Any NAT that is not statically mapping IP addresses or ports 1-to-1 will require connections to be tracked and hence makes it stateful on the side after the translation (usually outside).

Hence you do need state syncing between firewalls in order for NAT connections to failover correctly, unless it's a statically mapped, one-on-one, one range onto another range, for example.

Re:How does Linux NAT a ping? by devman0 on Sunday September 10, 2023 @02:43PM (#37458715)
This isn't really specific to NAT either, connection tracking is required for most firewalls as well even if NAT isn't in play just to implement the most basic ALLOW related,estabalished rule even, and especially, what would normally be connectionless protocols.
Re:How does Linux NAT a ping? by starfallg on Sunday September 10, 2023 @04:34PM (#37459782)
Yes, tracking the state of connections (e.g. TCP) is needed enforce rules on OSI layers 4 - 7. That's kinda the typically scenario when we think of connection tracking and stateful enforcement of rules.

I was just pointing out when NAT also requires connection tracking (i.e. when the NAT table needs to be built dynamically, as opposed to statically mapped).