SSH as Proxy

Three steps:

A server with SSH access, say its address is yourhostname.com.
ssh -D 8080 -Nf yourhostname.com
Setup browser or other applications to use the proxy with Host: 127.0.0.1 Port: 8080 Type: SOCKS v5.