Proxy using an SSH tunnel

Browse the web through your SSH server by turning it into a proxy server.
Secure Shell (SSH) client-server encrypted connection icon
To use it, open a terminal on Linux, or use PuTTY/WSL on Windows:
ssh -D 8888 -N -C [email protected]

(Flags: -N opens the tunnel without starting an interactive remote shell, and -C enables optional compression.)

Firefox Connection Settings configured with Manual SOCKS v5 Host 127.0.0.1 and Port 8888 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). Firefox Network Settings with Proxy DNS when using SOCKS v5 enabled to prevent DNS leaks

Comments are Disabled