from the desk of aniketh

code and ideas

Quick SSH Proxy

without comments

If you have access to ssh to a server, its very simple to use the connection as a proxy server. To do so go to the terminal and run the following command :

ssh -C2qTnN -D 8081 youruser@yourhost.com

The number after -D (8081) specifies which port to listen on. Change it to something else of your liking if something else is using this port.

Then use localhost with the port number you specified as the SOCKS proxy, like so :

You can use ipchicken.com to check that everything is set up correctly.

Written by aniketh

October 7th, 2010 at 12:42 am

Posted in Uncategorized

Leave a Reply