LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-30-2003, 05:52 PM   #1
mScDeX
LQ Newbie
 
Registered: Mar 2003
Location: Washington DC
Posts: 8

Rep: Reputation: 0
Accessing box over WAN IP


Hi everyone,

I use to run a webserver using IIS 5 on a Windows 2000 AS server. This past weekend i decided to make the switch to Red Hat Linux and use Apache. I got everything working correctly on my local network, but when i try to access the computer using my WAN ip, nothing shows up. I have already set up my router correctly and from webserver use, I know that my ISP allows port 80. Can any of you help me out
 
Old 03-30-2003, 06:34 PM   #2
geno976
LQ Newbie
 
Registered: Mar 2003
Distribution: Slackware.. what else ?
Posts: 24

Rep: Reputation: 15
Quote:
but when i try to access the computer using my WAN ip, nothing shows up.
can you explain step by step what you are doing here? i'm not exactly sure which way to interpret this..

-geno
 
Old 03-30-2003, 07:01 PM   #3
mScDeX
LQ Newbie
 
Registered: Mar 2003
Location: Washington DC
Posts: 8

Original Poster
Rep: Reputation: 0
sorry
basicly i am trying to access port 80 on my webserver (apache) and although i can see the website on my local LAN I can't see it when I type my WAN ip in my browser.
 
Old 03-30-2003, 10:42 PM   #4
geno976
LQ Newbie
 
Registered: Mar 2003
Distribution: Slackware.. what else ?
Posts: 24

Rep: Reputation: 15
does your web server have an external ipaddress (anything other that 10.x.x.x, 192.168.x.x, 172.x.x.x) ? if not it sounds like you need to configure NAT (assuming your router supports it) ... basically if your webserver has an internal ipaddress, say 10.1.1.1, and you have one external (wan) ipaddress, NAT will allow you to map your external ipaddress to your internal ipaddresses and keep track of the connections (i.e port 80) so that anyone from the outside of your network can punch in the http://your_external_ip_address in their web browser and it will direct them to the webserver on your internal lan..

Else if your webserver does indeed have an external ipaddress, maybe you need to configure the default gateways on your client PCs in your lan to point to your router's internal ipaddress ..

-geno

Last edited by geno976; 03-30-2003 at 10:44 PM.
 
Old 03-30-2003, 11:10 PM   #5
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Also, if your router is configured properly you may want to check to see if you are running a firewall and what the current rules are. Your firewall may be blocking port 80.

What version of RedHat are you using?
 
Old 03-31-2003, 01:06 PM   #6
mScDeX
LQ Newbie
 
Registered: Mar 2003
Location: Washington DC
Posts: 8

Original Poster
Rep: Reputation: 0
ya i have NAT configured on my router and it workes perfectly when i reconnect my windows webserver. Someone told me that i might have to type my external (WAN) ip into Apache somewhere. If i can't get this working I might find myself having to swithc back to Windows 2002 AS
 
Old 03-31-2003, 01:15 PM   #7
mScDeX
LQ Newbie
 
Registered: Mar 2003
Location: Washington DC
Posts: 8

Original Poster
Rep: Reputation: 0
just in case...does anyone know of any good Apache help forums?
 
Old 03-31-2003, 04:40 PM   #8
geno976
LQ Newbie
 
Registered: Mar 2003
Distribution: Slackware.. what else ?
Posts: 24

Rep: Reputation: 15
maybe u need the NameVirtualHost directive in your http.conf file? Try a google search for NameVirtualHost ..

-geno
 
  


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
Accessing a Linux Box From My PC Uberseehandel Linux - Newbie 3 04-21-2005 04:23 AM
Accessing XP box from Sarge davej Debian 1 03-27-2005 04:53 AM
FreeS/Wan Vs. OpenS/Wan Vs. StrongS/Wan bkankur Linux - Security 1 03-01-2005 09:27 AM
Password Message Box when accessing linux box from Window Machine mikeccs Linux - Networking 1 08-04-2004 05:47 AM
Network and accessing internet via XP box owain Linux - Networking 14 06-05-2004 02:55 PM

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

All times are GMT -5. The time now is 12:32 PM.

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