Single IP Address - Multiple hosts each with different domain name.

Single IP Address - Multiple hosts each with different domain name.

Post by will.. » Tue, 30 Aug 2005 00:42:35



My LAN has several hosts with one of them using a dynamic dns to allow
access from the internet.

What I want to do is to be able to get to more than one of my local
hosts through this single ip address.  I figure the domain names would
look like
mylan.dyndns.org, then host2.mylan.dyndns.org, host3.mylan.dyndns.org
etc..

How do I do this?  Since dyndns can (apparently) use the
one current IP address, how can I get to the other hosts on the LAN
with a domain name like above from the internet?

To clarify, I'm not talking about multiple web sites but multiple
hosts.

 
 
 

Single IP Address - Multiple hosts each with different domain name.

Post by James Knot » Tue, 30 Aug 2005 01:05:26



> My LAN has several hosts with one of them using a dynamic dns to allow
> access from the internet.

> What I want to do is to be able to get to more than one of my local
> hosts through this single ip address.  I figure the domain names would
> look like
> mylan.dyndns.org, then host2.mylan.dyndns.org, host3.mylan.dyndns.org
> etc..

> How do I do this?  Since dyndns can (apparently) use the
> one current IP address, how can I get to the other hosts on the LAN
> with a domain name like above from the internet?

> To clarify, I'm not talking about multiple web sites but multiple
> hosts.

You'd have to use other port numbers.  Then you could forward the ports to
the appropriate system.  However, I'm not sure how dyndns would handle the
different port numbers.

 
 
 

Single IP Address - Multiple hosts each with different domain name.

Post by haki » Tue, 30 Aug 2005 01:27:46


Hi,

If you have five hosts in your lan running ssh on their IP on port 22.
Then on your gateway arrange a ipforwarding for example from

dyndns-ip port 10000 to your-host-1 port 22
dyndns-ip port 10001 to your-host-2 port 22
and so on

And everything will work fine...

Achim

 
 
 

Single IP Address - Multiple hosts each with different domain name.

Post by haki » Tue, 30 Aug 2005 01:31:10


Hi,

And on dyndns.org you can buy a service called custom dns where you are
able to register hostnames under your dyndns domain...

Achim