How to setup a SSH Tunnel using Putty and Firefox from Windows

Goals:

1) Setup SSH tunnel for use as a http proxy.

Requirements:

1) A dedicated server or vps running Freebsd/Linux
2) A windows client with Firefox and Putty

Step 1) configure ssh tunnel

Load the saved putty session that you want to add the SSH tunnel to.

image3
Load your saved session.
Go to tunnels under SSH
select “Dynamic” check box and insert your desired port number in to the Source port. Example used 16666

image1

Save your session and connect to your server.
Step 2) Configure Firefox Proxy settings, Add localhost and the port you specified to the Socks v5 proxy and enable remote dns.

image2

Test the SSH tunnel is working by going to http://myip.dk inside the browser, it should now display your server IP address not your local IP address.

Advertisements