Tunnel HTTP traffic through SSH
This is more a note to self, since every time I have to google for it.
If you want to tunnel some HTTP traffic (SOCKS) through SSH, on the client box, run:
$ ssh -D 8881 user@server
This will dynamic forward everything from the local port 8881 to the SSH server. Now go to firefox (inside edit->preferences->Advanced->Network->Settings ) and configure the SOCKS proxy to use 127.0.0.1 and port 8881. That’s all!
