Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

webserver through netcomm nb1300 adsl modem

3 views
Skip to first unread message

leo

unread,
Jan 28, 2004, 7:41:46 PM1/28/04
to
hi there

i want to reach the web server i'm running on my Mac Os X 10.3.2 machine
from the outside world.

the NB1300 adsl modem is connected via ethernet to the machine and via adsl
phone line to the provider. i did not change the standrad config. so i guess
the modem acts as a "router".

the provider issues dynamic ip addresses (however the address stays fixed
for at least on session).

i tried to reach the web server from the outside via the just issued ip
address but i can get through the modem.i always get a 404 error.

does anubody know how i have to configure the NB1300 modem so the http and
ftp requests go through?

thanks for advice,

leo broska

Heath Raftery

unread,
Jan 28, 2004, 10:20:03 PM1/28/04
to
leo <hall...@noospaam.myrealbox.com> wrote:
> hi there

> i want to reach the web server i'm running on my Mac Os X 10.3.2 machine
> from the outside world.

> the NB1300 adsl modem is connected via ethernet to the machine and via adsl
> phone line to the provider. i did not change the standrad config. so i guess
> the modem acts as a "router".

Yep, DHCP server and network router is the default. Works quite
well and will allow web serving if you set it up.

> the provider issues dynamic ip addresses (however the address stays fixed
> for at least on session).

Lets call that 200.200.200.200. Are you aware you can get a free
referrer name from dyndns and the like, which can be set up to
update the referenced IP as your IP changes?

> i tried to reach the web server from the outside via the just issued ip
> address but i can get through the modem.i always get a 404 error.

Yep, the web requests will go to the modem, not your web server.

> does anubody know how i have to configure the NB1300 modem so the http and
> ftp requests go through?

Yes. I have the 1300Plus4. I imagine the 1300 interface is similar.

Now, you will have probably set up your web server to get an IP via
DHCP (check your network settings to confirm this). The modem will
have given you a private IP to use. Lets call it 192.168.1.12 (did
I get it right?).

All you need to do is to tell the modem to forward all connections
on port 80 (the normal web server port) to your computer. From your
web server, browse to the modem's configuration web interface
(probably just by entering 192.168.1.1 as the URL in your browser.
Click on Advanced Settings, and find the Port Forwarding
configuration page.

Add a new forward like this:
Incoming port: 80
Destination port: 80 (or whatever your web server is set to)
Connection type: TCP
Destination host: 192.168.1.12 (or your private IP if different).

Click the link to save and reboot the modem. In 30 seconds or so,
you should be right to go. Note that you can't test this from
inside your network though! Either go to some other Internet
connected machine, or remote login to another machine on the
Internet and make a connection back to your web server from there.

Enabling ftp is similar, but a bit more complicated. To enable
PASSIVE ftp, forwards ports 20 TCP and 21 TCP as above. To enable
ACTIVE ftp, you'd actually need to put your web server in the DMZ,
or put the modem into half-bridge mode. Passive should work fine
though.

Hope that helps!
--
*--------------------------------------------------------*
| ^Nothing is foolproof to a sufficiently talented fool^ |
| Heath Raftery, HRSoftWorks _\|/_ |
*______________________________________m_('.')_m_________*

leo

unread,
Jan 31, 2004, 7:18:11 AM1/31/04
to
Heath Raftery wrote:

> leo <hall...@noospaam.myrealbox.com> wrote:
>
>>the NB1300 adsl modem is connected via ethernet to the machine and via adsl
>>phone line to the provider. i did not change the standrad config. so i guess
>>the modem acts as a "router".
>
>
> Yep, DHCP server and network router is the default. Works quite
> well and will allow web serving if you set it up.
>
>>the provider issues dynamic ip addresses (however the address stays fixed
>>for at least on session).
>
> Lets call that 200.200.200.200. Are you aware you can get a free
> referrer name from dyndns and the like, which can be set up to
> update the referenced IP as your IP changes?

first of all, thanks for your detailed info!

and yep, i've already got my subdomain name with dyndns. :-)

>>does anubody know how i have to configure the NB1300 modem so the http and
>>ftp requests go through?
>
>
> Yes. I have the 1300Plus4. I imagine the 1300 interface is similar.
>
> Now, you will have probably set up your web server to get an IP via
> DHCP (check your network settings to confirm this). The modem will
> have given you a private IP to use. Lets call it 192.168.1.12 (did
> I get it right?).
>
> All you need to do is to tell the modem to forward all connections
> on port 80 (the normal web server port) to your computer. From your
> web server, browse to the modem's configuration web interface
> (probably just by entering 192.168.1.1 as the URL in your browser.
> Click on Advanced Settings, and find the Port Forwarding
> configuration page.
>
> Add a new forward like this:
> Incoming port: 80
> Destination port: 80 (or whatever your web server is set to)
> Connection type: TCP
> Destination host: 192.168.1.12 (or your private IP if different).
>
> Click the link to save and reboot the modem. In 30 seconds or so,
> you should be right to go. Note that you can't test this from
> inside your network though! Either go to some other Internet
> connected machine, or remote login to another machine on the
> Internet and make a connection back to your web server from there.

thanks, i did that (btw 192.168.1.12 _is_ my private IP issued from
NB1300), but it still doesn't work:

when i try to reach my server the browser always prsents the
authentication dialog with the realm BB1300, so the request still does
not go through the modem... :(

any idea?

leo

Heath Raftery

unread,
Feb 1, 2004, 8:07:26 PM2/1/04
to

Oops, I forgot to mention that you have to disable the modem's
own web server on that port somehow. The way I did it, which is
pretty easy, was just to move it to port 81 instead.

Can't quite recall the steps at this stage, but just go through
the options and find the one which deals with the modem's
configuration web server. There'll be an option to allow LAN or
WAN access, and then one to specify the port it runs on. Change
it to 81, Save and Reboot modem, and you should be away.

leo

unread,
Feb 3, 2004, 11:47:03 PM2/3/04
to

"Heath Raftery" <hraf...@myrealbox.com> wrote in message
news:bvk7se$hqf$1...@seagoon.newcastle.edu.au...

> leo <hall...@nospam.myrealbox.com> wrote:
> > Heath Raftery wrote:
>
> >> leo <hall...@noospaam.myrealbox.com> wrote:
> >>>does anubody know how i have to configure the NB1300 modem so the http
and
> >>>ftp requests go through?
> >>
> >> All you need to do is to tell the modem to forward all connections
> >> on port 80 (the normal web server port) to your computer.
>
> > thanks, i did that (btw 192.168.1.12 _is_ my private IP issued from
> > NB1300), but it still doesn't work:
>
> > when i try to reach my server the browser always prsents the
> > authentication dialog with the realm BB1300, so the request still does
> > not go through the modem... :(
>
> Oops, I forgot to mention that you have to disable the modem's
> own web server on that port somehow. The way I did it, which is
> pretty easy, was just to move it to port 81 instead.

did that as well, so i have to reach the modem config now on 192.168.1.1:81.
plain http requests on port 80 for my webbrowser still don't go
through...what else can i have done wrong????

thanks, leo


Heath Raftery

unread,
Feb 4, 2004, 7:01:59 PM2/4/04
to
leo <hall...@noospaam.myrealbox.com> wrote:

Don't have a firewall running do you? Double check the IP address you
are forwarding to. Look through your system.log and httpd/access.log
for any clues. You've reset the modem (using the Save and Reboot button
on the website will do)?

leo

unread,
Feb 5, 2004, 5:39:52 PM2/5/04
to

"Heath Raftery" <hraf...@myrealbox.com> wrote in message
news:bvs15n$cre$1...@seagoon.newcastle.edu.au...

> leo <hall...@noospaam.myrealbox.com> wrote:
>
> > "Heath Raftery" <hraf...@myrealbox.com> wrote in message
> > news:bvk7se$hqf$1...@seagoon.newcastle.edu.au...
> >> leo <hall...@nospam.myrealbox.com> wrote:
> > ...

> > did that as well, so i have to reach the modem config now on
192.168.1.1:81.
> > plain http requests on port 80 for my webbrowser still don't go
> > through...what else can i have done wrong????
>
> Don't have a firewall running do you? Double check the IP address you
> are forwarding to. Look through your system.log and httpd/access.log
> for any clues. You've reset the modem (using the Save and Reboot button
> on the website will do)?

now it works, additionally i had to enabled the dmz to my internatl
ip.(don't know why...) but now i can get through from the outside! jipeee!

thanks for your help, heath!

cheers, leo

0 new messages