Quick Tip: Socks for everyone !
I’m talking about Socks PROXY and not my/your foot socks :). Socks is a layer 5 proxy and can “route” your packets (TCP and UDP) through other host(server). Usually you need to install a Socks proxy somewhere on a server, but if you have a openSSH server somewhere then you can use ssh as Socks Proxy. SSH clients know proxy? Yes! openSSH Client (Linux) and even putty (Windows) know Socks proxy.
For Linux, connect with ssh client to the server with -D option
$ ssh root@host -D 12345
and in your localhost port 12345 you will have an socks proxy. New version of openSSH also know address binding. That means, if you have multiple interfaces in your computer, then you can specify on what interface your socks should bind.
$ ssh root@host -D 10.0.0.1:12345
Under Windows you can use putty. Configure a normal session. On Tunnel (expand SSH tree if is not already) menu just check Dynamic (normally is Local) and write the port on source port and on destination hostname:port. Press Add and it should appear under “forwarded ports”.
Now you can enjoy your SOCKS proxy.