You are here

browsing through an ssh proxy

Set up the proxy:

ssh -ND 8989

(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,

Browse to 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. Note that chrome must not be already running.
google-chrome --proxy-server="socks5://localhost:8989" & ssh -ND 8989