LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 05-12-2004, 09:58 PM   #1
seidren
Member
 
Registered: May 2003
Distribution: Ubuntu, Windows XP
Posts: 90

Rep: Reputation: 15
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 192.168.0.1 and the internet will be something like 203.193.90.94. The linux machine will have an IP address something like 192.168.0.2 and the windows machine 192.168.0.3.

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.

Thanks.
 
Old 05-15-2004, 11:33 PM   #2
agoatley
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:

http://m1122

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

http://192.168.0.1

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
seidren
Member
 
Registered: May 2003
Distribution: Ubuntu, Windows XP
Posts: 90

Original Poster
Rep: Reputation: 15
I know I have to use 192.168.0.1 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.
 
  


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


All times are GMT -5. The time now is 10:40 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration