Setup a SOCKS5 proxy via SSH
Last update
2018-07-25
2018-07-25
« — »
Have a host with SSH server installed.
Optional: keep alive your connection, see SSH tunnel howto and hints
Start the proxy with this command:
1 | ssh -f -C -N -D 127.0.0.1:1080 exit.hostname |
- Configure your browser proxy settings to connect to the SOCKS5 proxy at
localhost
port1080
and remember to forward DNS lookups through it.
In Firefox openabout:config
and setnetwork.proxy.socks_remote_dns = true
, and if you are using FoxyProxy then also setextensions.foxyproxy.socks_remote_dns = true
.
Source: Catonmat, Lifehacker