Thanks for answering Andrew, but after a lot of time investigating I found that is was a problem with the MTU (Maximum Packet Size). I don't understand it really well yet but it has something to do with that and I fixed it activating mss clamp running some iptables commands:
iptables --insert FORWARD 1 --proto tcp --tcp-flags SYN,RST SYN --out-interface ppp0 --match tcpmss --mss 1400:1536 --jump TCPMSS --clamp-mss-to-pmtu Now everything works ok! :-) 2005/9/7, Andrew Benton <[EMAIL PROTECTED]>: > hyper soldier wrote: > > Hi > > I have a speedtouch 330 usb modem. I managed after some difficulties > > to install and configure it in fedora core 4. Now I have it working > > with a pppoe connection. > > The problem is that I want to share my adsl conection with another > > computer in a LAN. > > Before having this adsl modem I had a 56 kb dialup modem and the > > internet sharing worked perfectly in both computers. > > I used this script to make it: > > echo 1 > /proc/sys/net/ipv4/ip_forward > > /sbin/iptables -t nat -A POSTROUTING -j MASQUERADE > > > > But when I tried to make it with this xdsl conection I am having > > problems in the other computer. It can make pings to whatever machine, > > list ftp directories, comunicate with Instant messengers but internet > > browsing doesn't work > > That sounds like a nameserver issue. Have you copied the numerical addresses > of your ISP's nameserver into the /etc/resolv.conf on the client machine? Can > you ping websites by their numerical address? > > > (I think that the problems are receiving the > > data from web servers). I've been checking the browsers and everything > > in that computer but it seems that everything is ok and the problem is > > in the gateway. Internet conection sharing also works when the gateway > > is running windows xp. > > > > > Liste de diffusion modem ALCATEL SpeedTouch USB > Pour se désinscrire : mailto:[EMAIL PROTECTED] > > > Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED]
