ssh -D <local_port> -CqNf <user>@<remote_ip> [-p <port>]
- -D <local_port>: open a SOCKS proxy on . If that port is taken, try a different port number. If you want to open multiple SOCKS proxies to multiple endpoints, choose a different port for each one.
- -C: compress data in the tunnel, save bandwidth
- -q: quiet mode, don’t output anything locally
- -N: do not execute remote commands, useful for just forwarding ports
- -f: make the command go to background
- @<remote_ip> [-p ]: the remote SSH server you have access to
Use SOCKS proxy in chrome / firefox.