Redirect all traffic to specified hosts behind NAT

Posted by biesiad on Server Fault See other posts from Server Fault or by biesiad
Published on 2010-06-18T06:30:04Z Indexed on 2010/06/18 6:33 UTC
Read the original article Hit count: 235

Filed under:
|

Is there a possibility to redirect all traffic to specified hosts behind NAT?

For example i have a server, a domain "mydomain.com" and 3 hosts behind NAT. I wish to configure 3 subdomains:

host1.mydomain.com
host2.mydomain.com
host2.mydomain.com
and each of them to redirect all ports to specified host in local net.

That redirection should provide funcionality like this:
http://host1.mydomain.com (can be achieved using apache)
ssh [email protected] (???)
and other protocols on diferent ports

Thanks for any help.

© Server Fault or respective owner

Related posts about redirect

Related posts about subdomain