Access Any Blocked Website Using SSH Tunnel

3506
Share:
access-any-blocked-website-using-ssh-tunnel

Background

  • Sometimes I need to access some government-blocked website
  • My internet provider tracks my visited websites and inject my browser with ads.

Solution

Back in college when our sysadmins were blocking most active Indonesian forum, we use SSH tunnel to bypass his proxy. I still remember each steps to configure the tunnel in PuTTY.

I find this method still relevant today, especially when my provider tracks my browsing activity. I'm not doing anything illegal, I just don't like being tracked.

Being linux user, I don't need PuTTY anymore. Just enter this command in the terminal:

ssh <your-server-username>@<your-server-domain> -D 8080 -Nf

In few seconds, it will ask for a password. Enter your password and press "Return".

Next, open your web browser and change the proxy to use SOCKS v5 proxy and enter 127.0.0.1 for the host field and 8080 for the port field. Please also make sure to check the "Proxy DNS when using SOCKS v5" option.

Now you can surf the web safely.

Tags
Share:

0 comment

Leave a reply

Your email address will not be published. Required fields are marked *