Is your webserver on the same internal network as your localhost or on DMZ, which means on a separate network? If it is on a separate network you have to bridge the 2 networks. I am using IPCop as firewall and my servers are on DMZ, so I have to put the internal IP addresses and hostnames of my servers in the /etc/hosts file of the firewall for the two networks to talk to each other. Then you can type in either the server's internal IP address or its hostname.

Hope this helps!

For the world to see your webserver, you have to have portforwarding port 80 from your external IP address to the internal webserver IP address.

Cheers!!!

J.T.

From: Derek Jennings <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [newbie] help on port forwarding
Date: Sat, 18 Dec 2004 17:47:04 +0000

On Saturday 18 December 2004 21:47, amalasingh wrote:
>  Derek Jennings wrote:
>>> On Saturday 18 December 2004 17:23, amalasingh wrote:
>>>
>>> Folks,
>>>
>>> I am a mdk10.1 user. I am trying to access my localhost by
>>> typing my WAN IP address.
>>> But it just goes to the Router firewall page. I checked my
>>> router settings(especially virtual server configuration) all
>>> set correctly. Also confirmed with the router vendor.
>>> The vendor says we need technical expertise to forward the
>>> local server. Is that true? Do I need to have some networking
>>> knowledge to do forward even my http local server??

>>> I use just default ports(80)
>>> Please help me.
>>> Cheers
>>> Amala Singh
>
>> Didn't you already ask this question?
>> The answer remains the same.
>>
>> If you want people from the internet to reach your web server you must
>> disable access to your router administration from the internet, and
>> configure your router to forward port 80 to your local IP address. That is
>> all internal to your router configuration. Nothing to do with Linux.
>> Have you configured port forwarding in the router? How is it set up?
>>
>> Be aware that if you are trying to access your web server from inside your
>> local network by entering your WAN IP address, your router is probably not
>> going to forward the connection and will always display the admin page. So
>> just because you see the admin page does not necessarily mean that other
>> people see it.
>>
>> derek


> Derek,
>
> You are the man. Yes, I asked the question before. I am trying to access my
> web server from inside the local network only. I hope that that should be
> the problem. I will ask some body else to see that from outside.
>
> Tnx for the help.
>
> Cheers
> Amala Singh


Well if you are using the same IP address you sent this mail from
(213.40.155.128 ), then I have already tried it.
The response is no reply.
The good news is that I do not get your router admin page. The bad news is I
do not get your web server either.


Before you ask. The easy way to enable a web server in Mandrake is to install
the drakwizard package and then start Mandrake Control Centre. There will be
a new server section in which is a wizard to set up an Apache web server.


There will be a default home page provided. To add new pages insert them into
the directory /var/www/html


derek
--
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________



____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to