PuTTY proxy trick

Did you know you use an SSH connection as a proxy using PuTTY? I didn’t until today :)

Fire up PuTTY but before you connect navigate to Connection–>SSH–>Tunnels.
Here you can specify a port you want PuTTY to respond to proxy requests. Choose a port that is not in use on your localhost, I will use 8080 in this example. Choose Dynamic on Destination and click Add.

In the forwarded ports part of the windows you will now see D8080.
Connect to your host and open up your browser of choice.

Specify the following in SOCKS proxy: 127.0.0.1:8080

Now you will tunnel your traffic through the SSH host you connected to.
This trick works for all applications that support SOCKS proxy, not just browsers.

One comment on “PuTTY proxy trick

Leave a Reply

Your email address will not be published. Required fields are marked *