Saturday, March 31, 2007

How to visit some blocked websites

Last time,I translated Fermi's smart means,and luckily he read it and promised to tell us how to put wikipedia and livejournal in the script.

This evening, I open his blog again and happy to see some updates of the proxy.pac:
function FindProxyForURL(url,host){
if(dnsDomainIs(host, ".blogspot.com")){
return "PROXY 72.14.219.190:80";
}
if(dnsDomainIs(host, ".wikipedia.org")){
return "PROXY 66.230.200.101:80";
}
if(dnsDomainIs(host, ".wordpress.com")){
return "PROXY 72.232.101.41:80";
}
if(dnsDomainIs(host, ".livejournal.com")){
return "PROXY 204.9.177.19:80";
}
return "DIRECT";
}
Yes,do as we did last time:save these codes as proxy.pac,and place it anywhere in your hardware (take C:/ for example).In Firefox,Tools->Options->Advanced->Network->Settings...->tick "Automatic proxy configuration URL" and insert the following text in the blank:
file:///C:/proxy.pac
then click Reload button on the right,press OK, and OK,and you're done.check it up with these links Wikipedia(not including zh)WordPressLiveJournal ;)

In IE(LAN network):
Tools -> Internet Options -> Connections -> LAN settings -> Use automatic configuration script ->file:///C:\proxy.pac
In Opera:
Options -> Advanced -> Networking -> Proxy -> C:\proxy.pac
How Does the Script Work?

My understanding is,GFW block a website by banning its prime IP,while this script will directs web browser to the backup IP address that do not in the banned list.

Kevin Smith has a post to explain the theory,you should read it.

Other websites

Technorati? No idea,but I usually visit Technorati Japan to see who links my and the blog rank.

zh.wikipedia.org ? Fermi said GFW censorship filter URL that contain words like zh.wikipedia.org,so the script does not work for zh,wikipedia.However,Fermi recommend wiki.biti.org.cn ,a
HTTPS-based mirror wikipedia.


Technorati Tags: , , , , , ,