Ever needed a SOCKS5 proxy on the go without the need of keeping Putty up and running? Here it is:
ssh -f -N -D 0.0.0.0:YOUR_DESIRED_PORT_ABOVE_1024 localhost
- you will be prompted to enter your password
- you can run this under any non-root account
- you cannot control WHO you’re proxying so I’d better change this often
Anyways, I hope you’re running the SSH server on a non-default port:
ssh -p YOUR_SSHD_CONFIG_PORT -f -N -D 0.0.0.0:YOUR_PORT localhost
And if you’re using a FoxyProxy-like-program, make sure to check Perform remote DNS lookups on hostnames loading through this proxy.