[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Masquerading problem with ADSL





Hello,

I have successfully connected to the ISP using the ADSL-HOWTO on iglu, but
I am unable to masquerade any HTTP (specifically HTTP, everything else
works OK) connections.

I am using a 2.4.3 vanilla kernel, with iptables.
I issue 

[root@RedGhost /root]# iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -i
ppp0 -j MASQUERADE
[root@RedGhost /root]# echo 1 > /proc/sys/net/ipv4/ip_forward

After which all my client machines ( Win2k and win98 ) can successfully
ping to the internet, use irc, ftp and everything EXCEPT http.
When I try to use HTTP I can see the information leave (via tcpdump) and I
can see that there is a reply from the http server, but it never reaches
the client machine.

On the linux box itself every network service works, so I think that this
is a masquerading problem.

I get the exact same behaviour using ipchains on a 2.2.16 kernel.
The distribution I am using is Redhat 7.0.

The one thing that really bothers me is that when I telnet to a HTTP
server, say yahoo, on port 80, and I issue an INCORRECT request, I get the
error on the client machine correctly. 
If I telnet on port 80 and issue a correct request then it waits about 2-3
minutes, after which I get all the information.


Any ideas, anybody?????

Thanks,

Eyal




=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il