The purpose of this guide is to provide an easy to follow set of instructions that should allow you to create an SSH tunnel in around 10 minutes.
Step 1: Getting started
What you will need:
- Remote server running SSH (Debian server is used in this guide)
apt-get install squid
Step 2: Configure putty
- Start putty
- From left hand tree menu select Click SSH (under the Connection menu item) to expand the tree items, then click on Tunnels
- In Source port enter 3128 (default Squid port), select Dynamic and click on the Add button
An entry should show up in the forwarded ports section
- In the left hand menu go to Session
- Put the hostname of your server, select SSH (if not already selected), then under Saved Sessions type tunnel (or any name you want to call the saved session) and click save. This will enable you, in the future to click on “tunnel”, click Load, then Open.
- Click Open. You cannot SSH tunnel without an open connection, it will ask you for your username and password.
Step 3: Configure Firefox
- Click Tools, then select Options…
- Select the Advanced option then then Network tab.
- Click on Settings
- Select Manual proxy configuration, then under SOCKS Host type localhost and in Port enter 3128 (In Vista SP1 you might have to use 127.0.0.1 instead of localhost for the SOCKS Host)
Congratulations, you should now have a fully functioning SSH Tunnel, you can test this by going to Whats My IP