LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-31-2005, 06:31 PM   #1
mprk
LQ Newbie
 
Registered: May 2005
Distribution: Suse 9.1 Pro
Posts: 2

Rep: Reputation: 0
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)
 
Old 06-01-2005, 11:09 AM   #2
60s TV Batman
Member
 
Registered: Oct 2004
Location: London (UK)
Distribution: Ubuntu 12.04
Posts: 60

Rep: Reputation: 17
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
 
Old 06-01-2005, 01:18 PM   #3
mprk
LQ Newbie
 
Registered: May 2005
Distribution: Suse 9.1 Pro
Posts: 2

Original Poster
Rep: Reputation: 0
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NetGear Router problems Chrax Slackware 14 08-04-2004 03:58 PM
Linux Router & Netgear Wireless Router DMaCATO Linux - Wireless Networking 1 04-30-2004 09:16 AM
NetGear ADSL Router uselinux34 Linux - Networking 1 02-05-2004 03:52 PM
Cannot access Netgear router acampbell Linux - Networking 4 01-20-2004 09:46 AM
wireless router netgear athenerx Linux - General 2 06-02-2002 06:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration