Posted on 2006-05-08
I have a domain name and 1 IP address. I give that address to a router that NATs the public address. I have another router behind the first that NATs the private address. Behind that I want to have servers like s1.mydomain.com, s2.mydomain.com, etc. I want traffic to come in on a port from the first router, go to the second and depending on the host name route to the appropriate server. How could I do this. The first router is not very configurable, although I can forward ports but not much else. The second router will probably be some kind of linux box, so configurable. Also suggestions for the best distro for this job would be appreciated.