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

Discussion in 'Linux Networking' started by willirl, Aug 28, 2005.

  1. willirl

    willirl Guest

    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.
     
    willirl, Aug 28, 2005
    #1
    1. Advertisements

  2. willirl

    James Knott Guest

    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.
     
    James Knott, Aug 28, 2005
    #2
    1. Advertisements

  3. willirl

    hakim Guest

    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
     
    hakim, Aug 28, 2005
    #3
  4. willirl

    hakim Guest

    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
     
    hakim, Aug 28, 2005
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.