LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-13-2003, 08:54 PM   #1
plexi100
LQ Newbie
 
Registered: Aug 2003
Posts: 17

Rep: Reputation: 0
Access Web Server lacated on DMZ


I have a Red Hat 7.3 Web Server running Apache. It is behind an older 3Com Home Gateway. I can connect to the Web Server from the LAN. I want to be able to connect to the Server from the internet via IP Address. I have the 3Com Gateway set to DMZ the Web Server. I have my httd.conf file with ServerNamer as 192.168.5.57. I believe this is the only change I have made to the file.

Here comes a dumb question I know...I am not sure of the URL to place in my address bar for Internet Explorer. I have tried the externel IP of the Home Gateway. I have tried the external IP plus :80, also external plus /test.html (this being a file located in /var/www/html). Do I need a real DNS name to connect, or can I use the IP address? I do not believe that my Home Gateway will not forward from the external IP to the 192.168.2.57.

Any help is greatly appreciated.
 
Old 10-13-2003, 09:09 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Re: Access Web Server lacated on DMZ

Quote:
I do not believe that my Home Gateway will not forward from the external IP to the 192.168.2.57.
Ummm... Let me think past the double-negative...

You will need to set-up the 3Com to forward any port 80 traffic coming to it to the webserver. Then, you can just use the external IP of your 3Com. You don't really need a domain-name... It's just easier to remember and type.

If you can't set-up the 3Com to forward port 80, then you are out of luck... The external IP is the only thing reachable from the internet. The 3Com would work as a router going both out from the network to the internet, and in from the internet to the webserver.

You will also need to be sure that your ISP doesn't block port 80. If they do, then the requests will never reach your computers.
 
Old 10-13-2003, 10:01 PM   #3
plexi100
LQ Newbie
 
Registered: Aug 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Sorry about the double negative...

I use RoadRunner. I am not sure if they block port 80 or not.
The router DMZ is configured as such: ip address 192.168.2.57 enabled. there is nothing leading to Port Forward. It does have a Virtual Server feature, however I am not sure if I will be able to access it from the Internet.

Are there any other ways to configure the Port forwarding of the router. Can I use another Linux box as a router for the Web Server...

thanks for the info...
 
  


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
[IPTABLES] open ext access to web server on GW server kozaki Linux - Networking 3 08-27-2005 06:11 PM
web server,dmz,iptables puding Linux - Networking 7 08-10-2004 03:48 PM
Access internal web server by name LoRd Of XAoS Linux - Software 2 07-02-2004 04:56 PM
smoothwall DMZ web server andyroshill Linux - Networking 1 09-16-2003 04:38 AM
Can't access Linux web server web pages from LAN client jaydave Linux - Networking 4 03-16-2003 03:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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