SOCKS proxy over SSH

From Spivey's Corner
Jump to: navigation, search

In case of Socratic difficulty,

  • Start an SSH tunnel with
$ ssh -D 1337 -N 〈remotehost〉
Here -D 〈port〉 means to set up a tunnel whose local end is 〈port〉, and -N means don't run a shell command at the far end. You can add more options -f to fork a background process and -q to use 'quiet mode' if you wish.
  • Configure a SOCKS proxy with Settings>Network>Network Proxy set to Manual and Socks host = localhost:1337.

https://www.digitalocean.com/community/tutorials/how-to-route-web-traffic-securely-without-a-vpn-using-a-socks-tunnel