This command will create an SSH connection to a remote server (the “proxy”) that you can tunnel your browser traffic through. Your IP address will appear to be that of the remote server’s. This also works in other browsers and any other application that allows a SOCKS proxy.
ssh -D 8123 -f -C -q -N [email protected]
Stop the proxy by killing the new process that was created:
ps aux | grep 'ssh -D 8123'
To use the flag, configure Chrome/Chromium to use
localhost:8123 as a SOCKS5
proxy, or start it from the command line with the flag