circumvent stupid ip address restrictions January 3rd, 2011

This type of info is available all over, but I’m writing it here so that I can find it again later.  This quickly sets up a private http proxy over an SSH tunnel so that your web traffic looks like its coming from your server.  I did this to sign up for Google Voice from Puerto Rico. This was done for a Ubuntu Lucid server.

ssh your.free.world.server
sudo apt-get install squid3
sudo cp /etc/squid3/squid.conf /etc/squid3/squid.conf.orig
sudo nano /etc/squid3/squid.conf
# Find "http_port" and change it to 127.0.0.1:3128
# IMPORTANT! This only exposes the proxy on the localhost
sudo /etc/init.d/squid3 restart

Then to establish the ssh tunnel:

ssh -L 3128:127.0.0.1:3128 your.free.world.server

Configure your http proxy settings to send all protocol traffic to localhost, port 3128.

This entry was posted on Monday, January 3rd, 2011 at 8:38 am and is filed under geeky. You can follow any responses to this entry through the RSS 2.0 feed.You can leave a response, or trackback from your own site.

No Responses

Leave a Reply