Howdy!
I've setup my home network consisting of 2(!) computers, with the "server" accessing the Internet via modem - ppp0 and sharing this connection with the client via eth0, using masquerade of course.
Now, at first it seems that all is fine and working, but it turns out that some domains are inaccessible from the client!
With those, all I get is a blank screen (with the 'connecting' or similar in the status bar), the result is the same whether the client runs Debian or WinXp.
Examples of inaccessible domains include opera, microsoft, realplayer (and a load of others).
I've investigated the problem a bit, and here's some output from the client:
>host opera.com
>opera.com is an alias for front. opera. com.
>front.opera. com has address 193.69. 116.18
>front.opera. com has address 193.69. 116.19
>front.opera. com has address 193.69. 116.22
>opera.com is an alias for front.opera.com.
>opera.com is an alias for front.opera.com.
Now, if I try to access opera.com or 193.69. 116.18 it fails as described, but putting 193.69. 116.19 in the address bar get me into the webpage.
Any ideas as to what have I forgotten about? All runs fine on the server and the resolv.conf files are identical and point to my ISP's DNS servers.
Iptables configuration on the server is presented below (feedback welcomed):
# Clear
iptables -X
iptables -P INPUT DROP
iptables -F INPUT
iptables -P OUTPUT ACCEPT
iptables -F OUTPUT
iptables -P FORWARD DROP
iptables -F FORWARD
iptables -t nat -F
iptables -t mangle -F
# Load modules
modprobe ipt_MASQUERADE
# Allow related traffic
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
# Open aMule ports
iptables -A INPUT -m state --state NEW,ESTABLISHED,RELATED -p tcp --dport 4662 -j ACCEPT
# Open loopback
iptables -A INPUT -i lo -j ACCEPT
# Allow pinging within the intranet
iptables -A INPUT -i eth0 -p icmp -j ACCEPT
#Open DHCP ports
iptables -A INPUT -i eth0 -p udp --dport 67 -j ACCEPT
iptables -A INPUT -i eth0 -p udp --dport 68 -j ACCEPT
#631 is CUPS
iptables -A INPUT -i eth0 -p tcp --dport 631 -j ACCEPT
# Intranet config
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
iptables -A FORWARD -i eth0 -o ppp0 -j ACCEPT
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward
ps. there should be a tripple "w" before opera.com, as I can't post url's within threads yet
