Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-12-2004, 09:58 PM   #1
Registered: May 2003
Distribution: Ubuntu, Windows XP
Posts: 90

Rep: Reputation: 16
Setting up a webserver inside a lan, which should be accessible from outside

Hi all,

I am about to get an ADSL connection. I have decided to buy the Netgear DM602 modem and set it up using the ethernet cable option.

I have a lan setup (2 machines) at home at the moment. One Linux machine and a Windows machine. I used the linux machine as the main server and connected to the internet from it.

Now, when I get the ADSL modem, it will be the one that is connected to the internet and I will have to connnect my Linux Machine and the Windows Machine to a hub which will be connect to the ADSL modem.

I would like to setup a webserver in the linux machine and I have some questions on whether it is possible and how to do it.

The ADSL modem will have 2 IP address the lan one will be and the internet will be something like The linux machine will have an IP address something like and the windows machine

I want to setup a webserver so that any one can access my webserver with my interenet IP address, As far as I know, there should be routing facility in the modem.

I want to know if this is possible and if the DM602 has routing capabilities, and any other opinions from people who have done this before.

Old 05-15-2004, 11:33 PM   #2
LQ Newbie
Registered: May 2004
Distribution: Slackware 9.1
Posts: 16

Rep: Reputation: 0
I'm not sure about your particular model, but with a Nokia M1122 I just navigate in a web browser to:


so you might be able to do something like that for your model. Otherwise try:

and you should be able to connect to the router's admin interface like that.

Then you'll need to look up a section entitled either NAT or NAPT, all the settings you need to change are in there.

I've done this once before and it worked OK, however the M1122 is an all-in-one hub/router/DSL modem.

Last edited by agoatley; 05-15-2004 at 11:35 PM.
Old 05-18-2004, 08:26 AM   #3
Registered: May 2003
Distribution: Ubuntu, Windows XP
Posts: 90

Original Poster
Rep: Reputation: 16
I know I have to use in my browser and I have successfully setup my adsl connection.

I also check the settings but there is no NAT or portforwarding settings.
There is only a DMZ setting in which I can specifiy an IP address in the lan. and supposedly the router will route all unrecognised requests to that server. Using this it is possible to setup a web server or mail server. but it should all be on the same machine.

I am going to check for some firmware upgrade to see if there are any new features.


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 - servers not accessible from lan using external ip rubella Linux - Security 6 12-12-2005 09:16 PM
Server from inside LAN andrewjjones Linux - Networking 53 04-22-2005 02:07 PM
how to setup vsftpd to be accessible outside my lan? dx0r515t Linux - Networking 24 03-11-2005 07:30 AM
newbie setting up lan - can't see local webserver. nmoog Linux - Networking 1 03-27-2004 11:17 PM
pop3 inside and outside LAN clinger Linux - Software 2 03-20-2004 10:55 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:08 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration