(Flags: -N opens the tunnel without starting an interactive remote shell, and -C enables optional compression.)
The SSH client will create a SOCKS proxy that you can configure applications to use. All traffic sent through the proxy will be routed through the SSH server. It takes local traffic sent to a specific port on your PC and sends it over the SSH connection to a remote host.
And in your browser (I recommend Firefox for this), configure a SOCKS v5 proxy using host 127.0.0.1 (or localhost) and the port you chose. To prevent DNS leaks outside the SSH tunnel, also enable Proxy DNS when using SOCKS v5 in Firefox Network Settings (or set network.proxy.socks_remote_dns = true in about:config).
Comments are Disabled