Netgear Router and Apache2
I'm trying to setup a billboard site using Apache2 and Suse 9.1, behind a Netgear router. When I have someone try and access the page from outside my firewall, they keep getting a connection timeout. To try and troubleshoot what is wrong, I setup JBoss on port 80 on another machine using windows XP to make sure my ISP wasn't blocking port 80, and they had no trouble accessing that from the outside. The router is setup to forward all port 80 requests to the linux box, and I confirmed that the IP dynamically assigned to the linux box is the same as the port forward settings in the router. Also, I can access the linux box from behind the firewall using the windows box. I'm not sure what is causing the problem, if its how DHCP works under SuSe or if I just missed some obvious setting. Also, the linux box can reach the Internet. Below, you'll find my network setup, with the router setup on the standard IP address, 192.168.0.1. Any help would be greatly appreciated.
TIA ====================================================== linux:/home/parker # route -n 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 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0 linux:/home/parker # ifconfig eth0 Link encap:Ethernet HWaddr 00:10:5A:F5:3B:03 inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::210:5aff:fef5:3b03/64 Scope:Link UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:337 errors:0 dropped:0 overruns:0 frame:0 TX packets:357 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:220767 (215.5 Kb) TX bytes:44602 (43.5 Kb) Interrupt:11 Base address:0xc000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:52 errors:0 dropped:0 overruns:0 frame:0 TX packets:52 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3360 (3.2 Kb) TX bytes:3360 (3.2 Kb) |
I've recently done something similar, and had the same kind of problem you're having.
In my case, the problem wasn't the router, but the firewall Fedora 3 installed and activated. I solved the problem by running setup from the command prompt (as root), and enabled the ports used for HTTP, SSH, Email and so on. This approach, which is pretty friendly for Linux, may well be specific to Fedora 3's firewall. If you're using something else, I guess you'll need to do some research. I recommend you do the following to help people make suggestions... 1) Post a follow up that contains your flavor of Linux, including the version you're running 2) Find out whether or not your Linux box is running its own firewall |
As you can see in the original post, I'm using Suse 9.1.
The firewall is not currently up. Would turning it on, and enabling port 80 make a difference? I'm using PHP Nuke for the billboard, and I can connect to the site using my windows machine that is situated behind the firewall. Would it still be a firewall issue? |
All times are GMT -5. The time now is 10:25 PM. |