SOCKS5 proxy through ssh tunnel ans setting Firefox to use it.
==============================================================
Obiously you need a remote server you can access to using ssh. On your computer,
open a console and type:
ssh -C2qTnN -D localhost:9079 user@remoteserver
You will be prompted for your password for your remote system user.
Now you have an ssh (secure) tunnel to the remote server that is listening on the
port 9079 of your local computer. You can choose any open unused port on your computer.
Now the Firefox part. Go to Preferences -> Advanced -> Network Tab, and at the Conection part hit the configuration button. Then select Manual configuration, in the SOCKS Server box enter '127.0.0.1' (without the quotes) and in the Port box enter the port you used for the tunnel, 9079 in our example. Make sure that the SOCKS5 option is marked.
Now Firefox is using the tunnel as a proxy, so the IP you are showing to the websites you visit is the IP of the remote server, instead the one of your local machine. You can check it here for example: http://www.whatismyip.com/