On Wed, April 5, 2006 8:50 pm, Bo Andresen wrote: > On Thursday 06 April 2006 02:27, JimD wrote: > > If you can connect to home with a command similar to: > > > # ssh -p 443 [EMAIL PROTECTED]
Yup, the above works fine from work. > And you wish to connect to newsserver.com at port 119 (news) and > mailserver.com at port 143 (imap) which can be reached from home then you can > create tunnels to those by: > > # ssh -p 443 [EMAIL PROTECTED] -L 119:newsserver.com:119 -L > 143:mailserver.com:143 Will ssh tunnel everything over the one connection? newsserver.com and mailserver.com are both really localhost to my HOME machine since I am running those services. So I take it the command below will connect from WORK to HOME and let me get to HOME's ports 119 and 143 from WORK's port 119 and 143? ssh -p 443 [EMAIL PROTECTED] -L 119:localhost:119 -L 143:localhost:143 > After that you just direct your mail and news clients towards localhost as the > servername. One way of doing that is to add: I always understood this part. I just couldn't get the -L stuff down. > Read man ssh for more info on ssh local port forwarding. Will do. > Bo Andresen Thanks, Jim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- I'm a geek, but I don't get it. 36-24-36 = -24. What's the significance? =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Florida, USA, Earth, Solar System, Milky Way -- [email protected] mailing list

