Setting up XP machines for use with Redhat masquerading server : Part II
Posted on 2003-10-25
I am having difficulty getting my XP machine to access the internet through my masquerading Red Hat 7.1 box. While experimenting, I did an ipconfig /displaydns on the XP machine, and got a short list of 8 URLs. I can ping these URLs, however, *I cannot ping any other URLs.*
My setup is:
connection type: cable
Linux (two LAN cards): 192.168.0.1 (eth1) and using DHCP for eth0.
XP: 192.168.0.2, using the Linux box as gateway. An ipconfig /all in XP reveals that "IP Routing" is enabled, however, I do not see where to disable this.
The problem is, despite being able to connect to the ISP and ping any URLs from the Linux box, I cannot ping most internet sites from the XP machine. The Linux and XP machines can ping each other without problem.
My Linux firewall settings (which are minimal for testing) are:
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -A POSTROUTING -t nat -s 192.168.0.0/255.255.255.0 -j MASQUERADE
I have no firewalls enabled on the XP machine.
Does anyone know what might be the problem? This is related to an earlier question of mine, that I have not successfully worked through...