INVALID connections and SNAT
Hello,
Just noticed few packets which pass SNAT in POSTROUTING without altering their SRC. The problem has been obscured by the fact, that all works in general, no one complain.
After I add REJECT rule for "-m state --state INVALID" connections, unmodified (not NATed) packets have disappeared. All right now.
Why INVALID connections pass thru NAT instead of dropping them? It seems like a security risk, when hacker can listen not-NATed packets behind the router and learn a network topology.
Signature · 3 lines
С уважением, Igor Bogomazov
Quoted 2 lines · Igor Bogomazov
Why INVALID connections pass thru NAT instead of dropping them?
They don't pass through it.