everything about machines

December 2, 2008

break the firewall/isp — view blocked websites

Filed under: linux — Tags: , , , , — cyrenity @ 4:49 pm

If a website is blocked by your ISP (or even government authorities). it is very likely that you can still gain access to those websites, this post will tell you how to bypass blockage by firewalls/ISPs, in order to achieve this goal we are going to use SSH tunneling to bypass firewalls and ISP’s rules/policies.

Preparation:

  1. windows users: download putty on your desktop.
    ubuntu users:
    no additional software/utility required.
  2. get an ssh account on a remote machine (e.g. an ssh server running at home), if you don’t have a machine running ssh service, you can still get ssh account from many paid and free ssh service providers listed here (a server in another country will help you browsing blocked websites by government agencies :) ), I got a free account from rootshell.be and it’s tested.

Establishing the Tunnel:

for windows users I would recommend this video tutorial for tunnel set-up using putty.

Linux/Windows users can achieve this using following simple command.

ssh username@hostname -C -D 7070

where username is the username to connect with remote machine, hostname is ip or hostname of the remote machine, and 7070 is the tunnel port.

let me know if you liked this tip, comments and quries welcomed.

4 Comments »

  1. Please, explain briefly what is in you-tube,
    youtube is also blocked there.

    Comment by Riz — December 3, 2008 @ 11:24 am

  2. @Riz,ridiculous, this youtube video will guide you how to setup tunnel in putty, please check this out http://amtp.cam.ac.uk/user/jp107/xp-remote/web-tunnel/

    Comment by cyrenity — December 3, 2008 @ 11:26 am

  3. break the firewall/isp — view blocked websites…

    If a website is blocked by your ISP (or even government authorities). …

    Trackback by break the firewall/isp — view blocked websites / LiveFromPakistan — February 2, 2009 @ 3:52 pm

  4. Dont forget about if the user is behind a firewall and cannot get out simply using ssh. There is a program called connect-proxy that works really well. here is a link to a writeup someone did on it. i’m sure this will help quite a few people. http://serverlinux.blogspot.com/2008/02/how-to-use-ssh-through-proxy-in-ubuntu.html

    NOTE: this explains how to install the .deb in ubuntu (debian) if you do not have it, simply download the latest source file http://archive.ubuntu.com/ubuntu/pool/universe/c/connect-proxy/ unzip, and do “gcc -o connect-proxy connect.c” at the command promt, copy the compiled file to /bin and then follow the rest of the tutorial

    Comment by Brett — March 24, 2009 @ 4:41 pm


RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.