Type: ssh -D 1337 -N -f -q -C username@example.com
This starts ssh
and makes it listen on port 1337.
-N
tells ssh not to execute a remote command; needed since we're just forwarding a connection-f
starts the program in the background (after you enter your password for the server, if needed)-q
suppresses warnings-C
compresses the connectionThen open Firefox. Go to preferences. Then network settings. Then click manual proxy settings. Enter these details:
example.com
1337
.Done