1
2
3
4
5
6
$ ssh -4 -N -D 1025 [email protected]

1025 is a proxy port (localhost:1025)
it work with socks v5!

// http://www.sebastian.korotkiewicz.eu/2013/03/30/ssh-tunel-to-your-proxy-webbrowser/