Saturday, August 13, 2011

SSH Tunnelling + SOCKS Proxy browsing

This is the simplest way to access content not available in your country. For example, if you want to access hulu.com from Canada, you may use this method.

First of all, you need a server running Linux in the US.  You may either have a dedicated server or virtual dedicated server, or your home computer in the US.

From your client side, you need to issue 'ssh -D 9999 user@your_server_ip', so that to create a tunnel from your client to the server.

Then, in your browser, you just need to set the proxy to 'localhost:9999' so you can access content in the US with a US IP address, aka your server's ip.

This is the simplest way to access content outside of US.


Reference:
http://embraceubuntu.com/2006/12/08/ssh-tunnel-socks-proxy-forwarding-secure-browsing/