LinuxQuestions.org
Help answer threads with 0 replies.
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 02-21-2002, 12:46 PM   #1
zambaras
LQ Newbie
 
Registered: Feb 2002
Posts: 2

Rep: Reputation: 0
Talking Apache / Network Configuration


Hello all. I recently put up a Redhat 7.1 system to serve as a gateway/router for my small lan. I also want to serve some web content and run postgreSQL. I've configured IPTABLES to do IP Masquerading. I am running two ethernet cards -- one to the cable modem, and one to the lan... I launched the Apache web server manually by typing "httpd"...

My problem is as follows:

I can successfully telnet into the box from the internet...

My WEB SERVER kinda works...
When I put "http:\\192.168.1.1" in my browser (on the local lan) it works...

When I put the IP address of the EXTERNAL ethernet device (eth0) in the browser window (from the local lan) it works too!

BUT... When I try to access the web server from the INTERNET (ie... NOT on my 192.168.1.x lan) it times out...

Is this a default route problem? It seems strange that I can TELNET and PING the box from off of the local lan but I can't get http!!! Do I need to do something special to forward port 80?

My IPTABLES rules seem to be configured properly.

HELP!!! This has been eating me for several days now.

Frank

Last edited by zambaras; 02-21-2002 at 12:49 PM.
 
Old 02-21-2002, 05:10 PM   #2
manthram
Member
 
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

Rep: Reputation: 31
most of the ISP's are blocking port 80, so you need to run your web server on a different port. you can do this by changing the port number at the port option in the httpd.conf.

in the web browser you can then give your iportnumber

good luck
 
  


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
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 06:48 AM
Network Configuration Hanging in FC4 After Using Wireless Network Wizard Trip in VA Linux - Wireless Networking 2 07-18-2005 08:32 AM
Apache configuration snurckle Linux - Newbie 4 07-25-2004 10:06 PM
apache configuration saurabh777 Linux - Software 0 10-06-2003 05:35 AM
apache configuration bluestorm Linux - General 5 09-26-2003 10:13 AM

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

All times are GMT -5. The time now is 09:23 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