This post will guide you through on how to tunnel web/dns traffic though ssh with putty (setup a ssh based proxy for firefox or any program that supports a socks proxy)
1. download putty here: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
2. create a shortcut to putty.exe on your desktop
3. right click and open the property dialog box of the shutcut
4. Add the content below to the target box of the dialog, replace username, password, servername with your real value, this shutcut will create a socks proxy on your local computer on port 8080, you can change to other port number if you like.
“path to putty.exe” -D 8080 -l username -pw “password” servername
5. Config firefox to parse dns through your ssh tunnel. Open firefox, type “about:config“, enter the blow text into the filter, and set the value to true
6. Config firefox to use the socks proxy, follow the menu: tools>options->advanced->connection settings to open a dialog box, fill localhost in the socks host, and set port to 8080 as you have done in step 4 above.
7. Double click the shortcut you’ve created in step 4 to start the ssh tunnel, you have your web/dns traffic tunnel through secure ssh now.