LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Access Web Server lacated on DMZ (https://www.linuxquestions.org/questions/linux-newbie-8/access-web-server-lacated-on-dmz-103602/)

plexi100 10-13-2003 07:54 PM

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.

ranger_nemo 10-13-2003 08:09 PM

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.

plexi100 10-13-2003 09:01 PM

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...


All times are GMT -5. The time now is 04:14 PM.