Problems routing through a Lynksys firewall router
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Problems routing through a Lynksys firewall router
I'm running SuSe on one end and Win Xp on the other Both can Ping the router but not each other. I tried a few settings but nothing has worked. Does anyone know what I might need to do. The Lynksys router is also the DHCP server, so Win XP gets it's ip from there. The internal IP of the SUSe NIC is 192.168.5.2. The router is 192.168.1.1. I disabled the firewall from the router also.
Thanks,
Homer
You could always try traceroute or nmap -P0 to see if any other protocols get through. You may not have these installed though. Traceroute users high udp ports unless specified, nmap you would have to do some reading on the syntax, but you can test all the TCP suites, TCP/UDP/ICMP. Ping is just one part of ICMP protocol. Also try using different ports or the router to make isnt an internal hardware issue. Example commands would be:
# traceroute <YOUR XP BOX IP>
# nmap -P0 <YOUR XP BOX IP>
Also, firewalls on both operating systems can be configured to allow outgoing pings, but block incoming ping requests, as these are two seperate ICMP types. Double check iptables, and the other firewall to make sure you allow replys from that computer.
I seem to remember reading somewhere that the Linksys can only be configured using Internet Explorer. I tried to alter the settings on my Linksys WAG54G recently from an iMac, and although it seemed to accept my changes, they didn't 'stick' when I checked later from the XP machine.
So it could be that you think you set it up, but really you haven't, if you see what I mean.
The problem is that the linksys sends out DHCP's with a subnet mask of 255.255.255.0. That means that the XP box can only talk to IPS in the 192.168.1.* range. Set static IP's for both with 255.255.0.0 netmasks, or make both boxes in the 192.168.1.* range.
I do have all the IPs set at 192.168.1.* range. I had configured it using IE, also. I also tried advance routing it in the router settings with 192.168.1.2(SuSE box) as the destination and 192.168.1.1(LynkSYS router) as the gateway but that didn't work either.
The XP Box does have Norton Internet Security but it has been disabled. Hopefully soon to be removed.
-XP: 192.168.1.5 - Dhcp from the router, gateway is 192.168.1.1(router ip)
-Linux: 192.168.1.2 -Static
-Linksys: 192.168.1.1 -Static Ip address, gateway is 192.168.1.2(Linux ip).
The netmask on all is 255.255.255.0.
-Can't connect from Xp and Linux either way, but I can reach the Router from both sides
-Firewall has been disabled on the Lynksys router.
I appreciate your help.
Thanks,
Homer
Originally posted by Homer Glemkin The XP Box does have Norton Internet Security but it has been disabled. Hopefully soon to be removed.
-XP: 192.168.1.5 - Dhcp from the router, gateway is 192.168.1.1(router ip)
-Linux: 192.168.1.2 -Static
-Linksys: 192.168.1.1 -Static Ip address, gateway is 192.168.1.2(Linux ip).
The netmask on all is 255.255.255.0.
-Can't connect from Xp and Linux either way, but I can reach the Router from both sides
-Firewall has been disabled on the Lynksys router.
I appreciate your help.
Thanks,
Homer
I hope that this is a typo
"-Linksys: 192.168.1.1 -Static Ip address, gateway is 192.168.1.2(Linux ip)."
You have made a big loop and that will not work.
Linksys 192.1.1.1
XP what ever dhcp gives it
Linux static ip 192.168.1.2 gateway 192.168.1.1
Do you have DSL or dial up? Your linksys is connected to you DSL or Cable modem right?
Distribution: SuSE Linux Open/Enterprise, Red Hat, Ubuntu
Posts: 147
Rep:
Its pretty obvious that one or both of the computers have a firewall running somewhere.
Are you using XP Service Pack 2?(Microsoft's firewall doesn't allow other computers to ping it. I know that for a fact because other computers in my network cant access it unless i disable the firewall. I was able to ping it before the upgrade.)
How did you setup the firewall in SuSE? Did you set the interface connecting to the router as the external interface in the configuration wizard?
OK lets get this straight: the gateway for the router should be some address of your ISP: and the firewall should not be disabled. The packets are using the switching function, not the routing.
-made a static route to router from the Suse box (In Suse routing)
destination 192.168.1.1 gateway 192.168.1.2. subnet 255.255.255.0 device eth0
-I haven't installed sp2 or ever will
-Suse's firewall is setup using the default gui, which I modified to allow eth0 as trusted.
-Lynksys router firewall has been disabled.
-Norton disabled on xp box.
-I can the ping outside address and connect on the internet with the SuSe box.
-I can ping the router from both sides, but not each other (pinging from either machine)
Assuming you set up iptabes and such as well as NAT and forwarding, the linksys also expects all sorts of crap in it's DHCP assignment: it wants to know the gate way, net mask, etc, all through DHCP as I recal.
I've never acutally done this and don't know if it works, but that's what a friend told me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.