On Sunday 02 April 2006 11:35 pm, Mark Mitchell wrote: > What I've got is a DynDNS domain name that points to my DSL connection, > with a Linksys WRT54G router running OpenWRT with 2 linux machines and a > Windows box behind it. > > I've gotten the system to the point where I can ssh to my domain and log > into the router and then to one of the linux boxes remotely. What I want > is to set it up so that I can set mydomain.net to point to one of the linux > boxes, but I can still ssh to router.mydomain.net or {linuxbox1| > linuxbox2}.mydomain.net. > > I'm sure this is possible, but I'm not sure where to look for a solution. > > Where do I start reading? > I do not know the capabilities of OpenWRT but presumably you can install iptables or some other packet handling program that supports NAT and port redirection. You could leave port 22 on your router and redirect a different TCP port like 2022 to port 22 on one of your internal hosts. This is not exactly what you asked but I don't think it is really possibly to do what you are asking unless you can get access to multiple IP addresses. I don't know enough about DNS SIP but it may be possible to do it that way as well. If you can get multiple public IP addresses then you'd be able to do what you want easily.