On Sun, Apr 25, 2004 at 07:36:11PM +0300, David Suna wrote: > When I was running RH7.3 I had the Linux box set up with ip_masq and > ip_filter to be the Internet gateway for the other machines on the > network. I am trying to do the same now but it is not working. I am > able to connect to the Internet from the Linux box. I am able to ping > the Linux box from the other machines on the LAN. I have Samba running > and I am able to browse the Linux box from the Windows machines. > However, when I try to ping an IP address (i.e. 192.0.34.161 > www.internic.net) from the Windows boxes on the LAN I get Request timed > out responses. I do see that the request is going out on the ISDN > connection but it doesn't seem to be going back to the machine on the > LAN. I ran tcpdump and saw the icmp: echo request recorded. > > The problem seems to be that the packets from the LAN machine are going > out onto the Internet as coming from 192.168.0.4 which are then being > ignored. I believe the problem is with my routing table but I don't > know how to fix it.
Are you sure? Is that what you get from: tcpdump -n -i ippp0 ? If it is: What is your current iptables config? (Paste the output of /sbin/iptables-save if you're not sure) > > The output from route -n is: > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 > 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo > 62.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 ippp0 That's odd. Why was this rule added? Seems harmless, though. > 0.0.0.0 62.219.193.1 0.0.0.0 UG 0 0 0 ippp0 -- Tzafrir Cohen +---------------------------+ http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend| mailto:[EMAIL PROTECTED] +---------------------------+ ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
