It is known that one can use SSH to create a Tunnel but SSH has more tricks in its sleeves. It can be used to create a SOCKS based Web proxy.
The full explanation is really clearly shown in this article: Thanks to the author for that.
Prerequisites: A Linux server in Internet with SSH service running which will be used as SOCKS Proxy.
Desktop Browser+SSH(localhost) ==>> Internet SSH Server(example-ssh-server.com) ==>> World Wide Web
In the desktop terminal: run the following SSH command.
ssh -D 1337 -q -C -N -f example-ssh-server.com
(the command will look like ‘stuck’ but it’s doing its job of proxying in the background)
In the browser:
Set the Web Browser Proxy configuration to:
Proxy type: SOCKS V5
SOCKS Host: localhost