browsing through an ssh proxy

Set up the proxy:

ssh -ND 8989 user@myproxysite.com

(will prompt for password and appear to hang)

use ctrl-C to break connection

Go to firefox preferences/advanced/connection-settings

  • Manual proxy
  • SOCKS host: localhost port: 8989
  • SOCKSv5

no proxy for: localhost, 127.0.0.1

Browse to site:www.itistimed.com to verify your location

  • To connect through a port other than 22, simply add -ND 8989 to the normal login, after the -p XXXX.
  • For single usage without configuring proxy, try:
google-chrome --proxy-server="socks5://localhost:8989"
  • This can be done all in one line which can be ended by closing chrome and then ctrl-C to break connection
google-chrome --proxy-server="socks5://localhost:8989" & ssh -ND 8989 user@myproxysite.com