用Google IPv6 代理(proxy)翻墙
Google 的大部分服务现在都可以通过IPv6访问,并且GFW对其屏蔽好像不起作用:)
http://ipv6.google.com是Google运行在IPv6上的搜索服务,千万不要把它仅仅看做是一个网站,它还是Google针对自家网站的一个代理服务器。在IE或者Firefox里将代理服务器设置为ipv6.google.com:80,就可以通过IPv6访问Google的大部分服务。
为了避免频繁在浏览器启用/停止代理的麻烦,可以使用自动代理配置的PAC文件,用记事本编辑以下内容,并保存为proxy.pac文件:
function FindProxyForURL(url, host)
{
if( (url.substring(0, 4) != "http") || isPlainHostName(host) ) return "DIRECT";
else if(
(shExpMatch(host, "*youtube.com")) ||
(shExpMatch(host, "*google.com")) ||
(shExpMatch(host, "*blogger.com")) ||
(shExpMatch(host, "*appspot.com")) ||
(shExpMatch(host, "*ytimg.com")) ||
(shExpMatch(host, "*googlesyndication.com")) ||
(shExpMatch(host, "*ggpht.com")) ||
(shExpMatch(host, "*blogspot.com")) ) {
if (url.substring(0, 5) != "https")
return "PROXY ipv6.google.com:80; DIRECT";
else return "DIRECT";
}
}
然后在浏览器的代理设置中选择使用自动配置脚本,URL输入:
file:///D:/yourpath/proxy.pac
就可以通过IPv6顺利访问Google了,此脚本在Firefox 3.5下测试通过。目前访问Google各项HTTP服务都没有问题。当然如果还正在使用其他的代理,也可以添加其他规则,比如把else return “DIRECT”改为其他代理。
0 comments:
Post a Comment