Douglas F Shearer wrote: > Hi Folks. > > I've recently started using OpenSolaris, and have set up some zones to cover web/db/svn etc. > > I have one public IP (This is at home), but each zne has it's own internal IP (192.169.1.11*). > > Basically I'd like some way to have SHH request redirected to the correct zone internally depending ont he hostname requested. > > Say I do 'ssh foo.com' I want it to go to a certain IP, this is easy enough using port forwarding in my router. > > But what if I want 'ssh svn.foo.com' to be redirected to my svn server?
There is another way to accomplish something similar. (I assume your goal is to provide direct ssh access to all the zones). On the public IP, setup firewall port forwarding rules that forward a handful of arbitrary unused ports to port 22 on the different zone IPs. If this doesn't work for you you are going to have to setup NAT with a separate public IP translated to each private IP.
_______________________________________________ opensolaris-discuss mailing list [email protected]
