Linux + IPTables + NAT = some http hosts unreachable.
- by Daniel
Hi.
I've set up dead simple NAT:
iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o ppp0 -j MASQUERADE
Everything works almost ok. Almost.
The problem I've expirienced is some hosts are not reachable by NAT clients, i.e.
there's http://code.jquery.com/jquery-1.4.2.min.js - I can download it from server, but
in case of NAT client download stalls on connection stage. I thought its FFs fault, but wget has the same
issue. I didn't find any logs/messages that can shed some light on this situtation.
Any ideas what's going on?
Maybe some tricky thing in sysclt is causing this?
P.S. 3/3 client boxes are expiriencing this issue. This is definitely server trouble.