Setup a SOCKS5 proxy via SSH
mouse 4118 · person cloud · link
Last update
« — »
  • Have a host with SSH server installed.

  • Optional: keep alive your connection, see SSH tunnel howto and hints

  • Start the proxy with this command:

ssh -f -C -N -D exit.hostname
  • Configure your browser proxy settings to connect to the SOCKS5 proxy at localhost port 1080 and remember to forward DNS lookups through it.
    In Firefox open about:config and set network.proxy.socks_remote_dns = true, and if you are using FoxyProxy then also set extensions.foxyproxy.socks_remote_dns = true.

Source: Catonmat, Lifehacker

See also: tinyproxy, privoxy