SOCKS through SSH?
Author
Discussion

V8LM

Original Poster:

5,563 posts

240 months

Wednesday 3rd January 2007
quotequote all
I'm trying to tunnel out of my job? I have an OpenSSH server running on my PC at home, and want to use PuTTY to tunnel to it to act as a SOCKS server and hence bypass the work's firewall. However, I can only SSH to my home PC from one Unix machine at work. The firewall blocks all other traffic.

Is it possible to use PuTTY to tunnel to this intermediate Unix machine, and then SSH from this to home, and tunnel traffic? If so, how?

EDIT:- Needless to say, the Unix machine doesn't do dynamic port forwarding (apparently!).

Edited by V8LM on Wednesday 3rd January 23:18

SneakyNeil

9,292 posts

268 months

Thursday 4th January 2007
quotequote all
How about forgetting SSH, and just running a VPN over port 22? OpenVPN doesnt need anything more than a single TCP or UDP port... then enable ip_forward on the unix box and set that as your work machine's default gateway? The unix box should then route traffic for your home subnet out the VPN and everything else to the correct gateway.

zumbruk

7,848 posts

291 months

Thursday 4th January 2007
quotequote all
How about doing what your employer demands? If they find out you are deliberately circumventing their security, you could get the sack or worse.

www.lightlink.com/spacenka/fors/

V8LM

Original Poster:

5,563 posts

240 months

Thursday 4th January 2007
quotequote all
Thanks for the replies. Problem solved, with the help of my employer.