LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-24-2003, 05:12 AM   #1
vlk72
LQ Newbie
 
Registered: Jan 2003
Location: London
Distribution: RedHat8
Posts: 15

Rep: Reputation: 0
Question About apache setup and router


Have setup apache, can access the website on the lan using hostname or internal IP 10.x.x.x ; I now want to give external access to it, have a fixed IP 81.x.x.x assigned to the router from my ISP. How do I go in order to make it accessible?
Thanks.
 
Old 01-24-2003, 08:48 AM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Is this router also a firewall? Then you'll need to forward port 80 on the forewall to whatever port you Apache server is listening on (usually port 80, or 8080).
 
Old 01-24-2003, 08:57 AM   #3
vlk72
LQ Newbie
 
Registered: Jan 2003
Location: London
Distribution: RedHat8
Posts: 15

Original Poster
Rep: Reputation: 0
That is already enabled, tested both port 80 and 8080 (in case my ISP is blocking port 80) but still no joy, on the internet get message, page cannot be displayed...
Wondering if is something to do with the external or internal router IP that needs to be configured on Apache.
 
Old 01-24-2003, 09:04 AM   #4
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Enabled on you external firewall? I still don't really have a clue how you have set things up over there. My best guess is something like this.
Code:
(Inernet)----(Router)-----(Apache Server)
(0.0.0.0)   (81.X.X.X)     (Private IP)
Something like that? If you have only one static IP then you'll be masquerading your server using a private IP.

Last edited by mcleodnine; 01-24-2003 at 09:05 AM.
 
Old 01-24-2003, 09:51 AM   #5
vlk72
LQ Newbie
 
Registered: Jan 2003
Location: London
Distribution: RedHat8
Posts: 15

Original Poster
Rep: Reputation: 0
Yes that is correct, but the router have also an internal IP 10.0.0.2
and works as DHCP (eventhought all PCs have been configured with fixed IP) the linux box can connect to the internet ok

(Inernet)---------(Router)---------(Apache Server)
(0.0.0.0) (81.X.X.X / 10.0.0.2) (Private IP)

Plus have already opened port 80 and 8080 for the Linux box.
 
Old 01-24-2003, 10:41 AM   #6
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Opening the ports is great if you want to talk to the router itself from the outside (it depends on how you define great) but they still need to know which machine to go to on the inside - either a DMZ or NAT host.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Want Router Setup Help. JohnStormrider Linux - Networking 4 10-18-2005 04:14 PM
Router setup sawan Linux - Networking 2 07-15-2005 03:31 PM
setup apache/mailserver and router/firewall for win machine--help jmpmjmpm Linux - Networking 2 03-16-2005 04:06 AM
ADSL Routers Setup- Microsom Deskporte router 100 and Planet ADSL modem router mabonline Linux - Hardware 1 02-27-2004 05:36 PM
HELP! Router Setup? chris200t Linux - Networking 1 11-11-2002 01:39 AM


All times are GMT -5. The time now is 09:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration