Web proxy over ssh?

A friend’s company is blocking Facebook from their network, but he is addicted to FB and wants to visit it anyway. Using his phone is not an option so he asked me for some kind of proxy. The question is how to setup SSH tunneling and use it as proxy for your browser?

You will need to have SSH access to remote linux server and then run the following command on ther terminal.

ssh -D 22222 -N user@hostname
Leave the console, go in your browser edit the proxy settings and setup “localhost” port 2222 and use SOCKET to access Facebook..:)