On Thursday 06 April 2006 02:27, JimD wrote: > From work I seem to only be able to get to thes ports: [SNIP] > 443 is what I connect to ssh over [SNIP] > I could never figure out how to get ssh tunneling working. So I just have > my firewall forward port 443-> 22, 21->5900, 8080->119... > > The with just forwarding the ports is that I don't get any compression. > > For example, what would be the ssh command to connect from WORK to HOME and > tunnel port 5900 from HOME to WORK so that I can run vnc at WORK to > localhost::5555 and really be connecting to HOME. ssh is listening on port > 443 on HOME.
If you can connect to home with a command similar to: # ssh -p 443 [EMAIL PROTECTED] 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 After that you just direct your mail and news clients towards localhost as the servername. One way of doing that is to add: 127.0.0.1 newsserver.com mailserver.com to your /etc/hosts. You can add as many tunnels as you want to the same ssh connection by just specifying more "-L localport:servername_or_ip:port" to the ssh command. Read man ssh for more info on ssh local port forwarding. -- Bo Andresen -- [email protected] mailing list

