Linux + IPTables + NAT = some http hosts unreachable.

Posted by Daniel on Server Fault See other posts from Server Fault or by Daniel
Published on 2010-11-10T10:38:45Z Indexed on 2010/12/25 20:55 UTC
Read the original article Hit count: 275

Filed under:
|
|

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.

© Server Fault or respective owner

Related posts about linux

Related posts about iptables