The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some routing help please



Malcolm,

Two questions:

1: What router are you using?

2: You have have a single IP address from your ISP, or a range?

To access a server, a web browser needs an IP address and a port number.
The
IP address is normally gotten by decoding the name, so www.ascentium.co.uk
resolves to 216.66.19.100

If no port number is specified, the service-default is used, which for HTTP
requests is port 80.

Where you've got one IP address from your ISP, but multiple internal PCs,
the EASY way to set thngs up is with a combination of "NAT" -
Network
Address Translation, and  "PAT" - Port Address Translation.

Say your ISP-provided external IP address is 1.2.3.4, and you have two
internal servers, both running HTTP on port 80, with IP addressess
192.168.0.1 and 192.168.0.2.

You will set up a NAT/PAT rule on your router so that, for example:

1.2.3.4:80    -> 192.168.0.1:80
1.2.3.4:81    -> 192.168.0.2:80

Then you point your web-browser at http://1.2.3.4:80 or http://1.2.3.4:81
depending on which site you want.

How you configure the router to do this depends on the router.

The one drawback is that some Internet locations do NOT allow access out to
ports other than 80 (access from paranoid office networks is a classic
example.) If you need to deal with such a situation, there IS a solution,
but it involves installing a "reverse proxy server" in your home,
which is
able to map the bit of the URL _after_ the machine name onto different
machines... so you can have http://1.2.3.4/server1 and
http://1.2.3.4/server2 mapping
appropriately. If you need to do this, let me
know. I've been meaning to write up a HOWTO for Mark's site on this for a
while.

Regards,

Mark



----- Original Message -----
From: "Malcolm Surgenor" <malcolm@surgenor.net>
To: <ukha_d@yahoogroups.com>
Sent: Thursday, January 29, 2004 12:20 PM
Subject: [ukha_d] Some routing help please


>
> I'm a bit out of my depth here so no laughing at the back there if
this is
> just plain daft!  8-)
>
> At the moment my home page contains a link to my HomeSeer status page.
That
> link points at the IP address (the one my ISP gave me) for my ADSL
router.
> The router then has a port re-direction set up that points to the IP
address
> of the PC running HomeSeer. I'm assuming this is all standard stuff -
it
> works for me anyway.
>
> I have another web page on another PC on my internal network that I
also
> want my home page to contain a link to.  What I can't figure out is
the
> redirection details for the router (or even if it can manage more than
one
> redirection).  Can anyone help please. Be gentle!
>
> Malcolm
>
>
>
> UK Home Automation Meet 2004 - BOOK NOW!
> http://www.ukha2004.com
>
> http://www.automatedhome.co.uk
> Post message: ukha_d@yahoogroups.com
> Subscribe:  ukha_d-subscribe@yahoogroups.com
> Unsubscribe:  ukha_d-unsubscribe@yahoogroups.com
> List owner:  ukha_d-owner@yahoogroups.com
>
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
>  http://groups.yahoo.com/group/ukha_d/
>
> To unsubscribe from this group, send an email to:
>  ukha_d-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to:
>  http://docs.yahoo.com/info/terms/
>
>
>
>


UK Home Automation Meet 2004 - BOOK NOW!
http://www.ukha2004.com

http://www.automatedhome.co.uk
Post message: ukha_d@yahoogroups.com
Subscribe:  ukha_d-subscribe@yahoogroups.com
Unsubscribe:  ukha_d-unsubscribe@yahoogroups.com
List owner:  ukha_d-owner@yahoogroups.com


Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.