Redirect all traffic to specified hosts behind NAT
- by biesiad
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.