翻墙

Poon 发表于 随便说两句 分类,标签:
0

两年前的goagent翻墙文章:https://www.yaohonglou.com/r/2012.06.23/02:22:14  现在重新简化一下:

第一步:申请Google App Engine 并创建 appid

申请地址是:https://appengine.google.com (直接创建appid,可以不用开启两步验证,开启的话安全但麻烦)

 

第二步:下载goagent 并上传至 Google App Engine

下载地址是:https://code.google.com/p/goagent (如果打不开那就是被墙了,请自行百度或谷歌之)

然后解压缩之后,编辑 local\proxy.ini,把其中 appid = goagent 中的goagent 改成你第一步申请的应用的appid(如果流量不够用,可以申请多个appid,中间用|隔开,比如appid1|appid2|appid3)

继续编辑 local\proxy.ini 把其中 [iplist] 内容修改为以下的:(替换一些被屏蔽的Google的IP地址)

[iplist]
google_cn = 74.125.20.31|173.194.123.68|173.194.123.121|173.194.123.75|173.194.123.66|173.194.123.98|173.194.123.119|173.194.123.103|173.194.123.87|173.194.123.43|173.194.123.50|173.194.123.78|173.194.123.65|173.194.123.94|173.194.123.117|173.194.123.53|173.194.123.74|173.194.123.77|173.194.123.84|173.194.123.57|173.194.123.110|173.194.123.109|173.194.123.118|173.194.123.120|173.194.123.48|173.194.123.79|173.194.123.35|173.194.123.49|173.194.123.82|173.194.123.83|173.194.123.91|173.194.123.62|173.194.123.30|173.194.123.105|173.194.123.114|173.194.123.59|173.194.123.89|173.194.123.0|173.194.123.88|173.194.123.115|173.194.123.41|173.194.123.70|173.194.123.102|173.194.123.123|173.194.123.96|173.194.123.86|173.194.123.64|173.194.123.72|173.194.123.108|173.194.123.99|173.194.123.42|173.194.123.112|173.194.123.95|173.194.123.45|173.194.123.81|173.194.123.46|173.194.123.111|173.194.123.76|173.194.123.34|173.194.123.104|173.194.123.106|173.194.123.93|173.194.123.56|173.194.123.80|173.194.123.101|173.194.123.61|173.194.123.122|173.194.123.67|173.194.123.97|173.194.123.116|173.194.123.113|173.194.123.92|173.194.123.90|173.194.123.58|173.194.123.47|173.194.123.60|173.194.123.44|173.194.123.51|173.194.123.73|173.194.123.107|173.194.123.71|173.194.123.100|173.194.123.63|173.194.123.69|173.194.123.33|173.194.123.52|173.194.123.85|173.194.123.32|173.194.123.54|173.194.123.55|173.194.123.37|173.194.123.36|173.194.123.31|173.194.123.40|173.194.123.39|173.194.123.22|173.194.123.21|173.194.123.29|173.194.123.28|173.194.123.38|173.194.123.24|173.194.123.19|173.194.123.23|173.194.123.27|173.194.123.20|173.194.123.26|173.194.123.18|173.194.123.17|173.194.123.25|173.194.123.1|173.194.123.16|173.194.123.2|173.194.123.13|173.194.123.14|173.194.123.3|173.194.123.4|173.194.123.12|173.194.123.11|173.194.123.5|173.194.123.6|173.194.123.8|173.194.123.7|173.194.123.9|173.194.123.1|64.233.160.36|64.233.160.58|64.233.160.57|64.233.160.38|64.233.160.37|64.233.160.39|64.233.160.40|64.233.160.56|64.233.160.51|64.233.160.54|64.233.160.41|64.233.160.52|64.233.160.53|64.233.160.48|64.233.160.43|64.233.160.47|64.233.160.46|64.233.160.49|64.233.160.42|64.233.160.44|64.233.160.50|64.233.160.45|64.233.160.36|64.233.160.58|64.233.160.57|64.233.160.38|64.233.160.37|64.233.160.39|64.233.160.40|64.233.160.56|64.233.160.51|64.233.160.54|64.233.160.41|64.233.160.52|64.233.160.53|64.233.160.48|64.233.160.43|64.233.160.47|64.233.160.46|64.233.160.49|64.233.160.42|64.233.160.44|64.233.160.50|64.233.160.45|216.239.32.46|216.239.32.27|216.239.32.37|216.239.32.30|216.239.32.45|216.239.32.42|216.239.32.44|216.239.32.50|216.239.32.34|216.239.32.47|216.239.32.49|216.239.32.41|216.239.32.48|216.239.32.31|74.125.31.39|74.125.31.33|74.125.31.42|74.125.31.43|74.125.31.36|74.125.31.45|74.125.31.37|74.125.31.38|74.125.31.40|61.19.1.49|61.19.1.40|61.19.1.50|61.19.1.30|61.19.1.45|109.232.83.91|109.232.83.113|210.242.125.40|85.182.250.30|210.242.125.24|218.253.0.83|103.1.139.245|193.134.255.89|41.201.128.44|93.183.211.234|95.143.84.152|193.92.133.50|118.143.88.103|86.127.118.178|62.0.54.109|103.1.139.152|210.242.125.54|93.183.211.227|193.120.166.101|210.242.125.50|212.188.7.242
google_hk = 74.125.20.31|173.194.123.68|173.194.123.121|173.194.123.75|173.194.123.66|173.194.123.98|173.194.123.119|173.194.123.103|173.194.123.87|173.194.123.43|173.194.123.50|173.194.123.78|173.194.123.65|173.194.123.94|173.194.123.117|173.194.123.53|173.194.123.74|173.194.123.77|173.194.123.84|173.194.123.57|173.194.123.110|173.194.123.109|173.194.123.118|173.194.123.120|173.194.123.48|173.194.123.79|173.194.123.35|173.194.123.49|173.194.123.82|173.194.123.83|173.194.123.91|173.194.123.62|173.194.123.30|173.194.123.105|173.194.123.114|173.194.123.59|173.194.123.89|173.194.123.0|173.194.123.88|173.194.123.115|173.194.123.41|173.194.123.70|173.194.123.102|173.194.123.123|173.194.123.96|173.194.123.86|173.194.123.64|173.194.123.72|173.194.123.108|173.194.123.99|173.194.123.42|173.194.123.112|173.194.123.95|173.194.123.45|173.194.123.81|173.194.123.46|173.194.123.111|173.194.123.76|173.194.123.34|173.194.123.104|173.194.123.106|173.194.123.93|173.194.123.56|173.194.123.80|173.194.123.101|173.194.123.61|173.194.123.122|173.194.123.67|173.194.123.97|173.194.123.116|173.194.123.113|173.194.123.92|173.194.123.90|173.194.123.58|173.194.123.47|173.194.123.60|173.194.123.44|173.194.123.51|173.194.123.73|173.194.123.107|173.194.123.71|173.194.123.100|173.194.123.63|173.194.123.69|173.194.123.33|173.194.123.52|173.194.123.85|173.194.123.32|173.194.123.54|173.194.123.55|173.194.123.37|173.194.123.36|173.194.123.31|173.194.123.40|173.194.123.39|173.194.123.22|173.194.123.21|173.194.123.29|173.194.123.28|173.194.123.38|173.194.123.24|173.194.123.19|173.194.123.23|173.194.123.27|173.194.123.20|173.194.123.26|173.194.123.18|173.194.123.17|173.194.123.25|173.194.123.1|173.194.123.16|173.194.123.2|173.194.123.13|173.194.123.14|173.194.123.3|173.194.123.4|173.194.123.12|173.194.123.11|173.194.123.5|173.194.123.6|173.194.123.8|173.194.123.7|173.194.123.9|173.194.123.1|64.233.160.36|64.233.160.58|64.233.160.57|64.233.160.38|64.233.160.37|64.233.160.39|64.233.160.40|64.233.160.56|64.233.160.51|64.233.160.54|64.233.160.41|64.233.160.52|64.233.160.53|64.233.160.48|64.233.160.43|64.233.160.47|64.233.160.46|64.233.160.49|64.233.160.42|64.233.160.44|64.233.160.50|64.233.160.45|64.233.160.36|64.233.160.58|64.233.160.57|64.233.160.38|64.233.160.37|64.233.160.39|64.233.160.40|64.233.160.56|64.233.160.51|64.233.160.54|64.233.160.41|64.233.160.52|64.233.160.53|64.233.160.48|64.233.160.43|64.233.160.47|64.233.160.46|64.233.160.49|64.233.160.42|64.233.160.44|64.233.160.50|64.233.160.45|216.239.32.46|216.239.32.27|216.239.32.37|216.239.32.30|216.239.32.45|216.239.32.42|216.239.32.44|216.239.32.50|216.239.32.34|216.239.32.47|216.239.32.49|216.239.32.41|216.239.32.48|216.239.32.31|74.125.31.39|74.125.31.33|74.125.31.42|74.125.31.43|74.125.31.36|74.125.31.45|74.125.31.37|74.125.31.38|74.125.31.40|61.19.1.49|61.19.1.40|61.19.1.50|61.19.1.30|61.19.1.45|109.232.83.91|109.232.83.113|210.242.125.40|85.182.250.30|210.242.125.24|218.253.0.83|103.1.139.245|193.134.255.89|41.201.128.44|93.183.211.234|95.143.84.152|193.92.133.50|118.143.88.103|86.127.118.178|62.0.54.109|103.1.139.152|210.242.125.54|93.183.211.227|193.120.166.101|210.242.125.50|212.188.7.242
google_talk = 74.125.20.31|173.194.123.68|173.194.123.121|173.194.123.75|173.194.123.66|173.194.123.98|173.194.123.119|173.194.123.103|173.194.123.87|173.194.123.43|173.194.123.50|173.194.123.78|173.194.123.65|173.194.123.94|173.194.123.117|173.194.123.53|173.194.123.74|173.194.123.77|173.194.123.84|173.194.123.57|173.194.123.110|173.194.123.109|173.194.123.118|173.194.123.120|173.194.123.48|173.194.123.79|173.194.123.35|173.194.123.49|173.194.123.82|173.194.123.83|173.194.123.91|173.194.123.62|173.194.123.30|173.194.123.105|173.194.123.114|173.194.123.59|173.194.123.89|173.194.123.0|173.194.123.88|173.194.123.115|173.194.123.41|173.194.123.70|173.194.123.102|173.194.123.123|173.194.123.96|173.194.123.86|173.194.123.64|173.194.123.72|173.194.123.108|173.194.123.99|173.194.123.42|173.194.123.112|173.194.123.95|173.194.123.45|173.194.123.81|173.194.123.46|173.194.123.111|173.194.123.76|173.194.123.34|173.194.123.104|173.194.123.106|173.194.123.93|173.194.123.56|173.194.123.80|173.194.123.101|173.194.123.61|173.194.123.122|173.194.123.67|173.194.123.97|173.194.123.116|173.194.123.113|173.194.123.92|173.194.123.90|173.194.123.58|173.194.123.47|173.194.123.60|173.194.123.44|173.194.123.51|173.194.123.73|173.194.123.107|173.194.123.71|173.194.123.100|173.194.123.63|173.194.123.69|173.194.123.33|173.194.123.52|173.194.123.85|173.194.123.32|173.194.123.54|173.194.123.55|173.194.123.37|173.194.123.36|173.194.123.31|173.194.123.40|173.194.123.39|173.194.123.22|173.194.123.21|173.194.123.29|173.194.123.28|173.194.123.38|173.194.123.24|173.194.123.19|173.194.123.23|173.194.123.27|173.194.123.20|173.194.123.26|173.194.123.18|173.194.123.17|173.194.123.25|173.194.123.1|173.194.123.16|173.194.123.2|173.194.123.13|173.194.123.14|173.194.123.3|173.194.123.4|173.194.123.12|173.194.123.11|173.194.123.5|173.194.123.6|173.194.123.8|173.194.123.7|173.194.123.9|173.194.123.1|64.233.160.36|64.233.160.58|64.233.160.57|64.233.160.38|64.233.160.37|64.233.160.39|64.233.160.40|64.233.160.56|64.233.160.51|64.233.160.54|64.233.160.41|64.233.160.52|64.233.160.53|64.233.160.48|64.233.160.43|64.233.160.47|64.233.160.46|64.233.160.49|64.233.160.42|64.233.160.44|64.233.160.50|64.233.160.45|64.233.160.36|64.233.160.58|64.233.160.57|64.233.160.38|64.233.160.37|64.233.160.39|64.233.160.40|64.233.160.56|64.233.160.51|64.233.160.54|64.233.160.41|64.233.160.52|64.233.160.53|64.233.160.48|64.233.160.43|64.233.160.47|64.233.160.46|64.233.160.49|64.233.160.42|64.233.160.44|64.233.160.50|64.233.160.45|216.239.32.46|216.239.32.27|216.239.32.37|216.239.32.30|216.239.32.45|216.239.32.42|216.239.32.44|216.239.32.50|216.239.32.34|216.239.32.47|216.239.32.49|216.239.32.41|216.239.32.48|216.239.32.31|74.125.31.39|74.125.31.33|74.125.31.42|74.125.31.43|74.125.31.36|74.125.31.45|74.125.31.37|74.125.31.38|74.125.31.40|61.19.1.49|61.19.1.40|61.19.1.50|61.19.1.30|61.19.1.45|109.232.83.91|109.232.83.113|210.242.125.40|85.182.250.30|210.242.125.24|218.253.0.83|103.1.139.245|193.134.255.89|41.201.128.44|93.183.211.234|95.143.84.152|193.92.133.50|118.143.88.103|86.127.118.178|62.0.54.109|103.1.139.152|210.242.125.54|93.183.211.227|193.120.166.101|210.242.125.50|212.188.7.242
google_ipv6 = 2404:6800:4005:c00::64|2404:6800:4005:c00::65|2404:6800:4005:c00::5e|2404:6800:4005:c00::67|2404:6800:4005:c00::2f
(此行仅为方便复制,使用时请删除此行)

然后打开 server\upload.bat,根据提示输入appid、邮箱、密码即可,等待一会看到上传成功的提示就OK了(请注意,如果开启两步验证,密码使用16位的应用程序专用密码;否则,直接使用Gmail的密码即可)

 

第三步:导入浏览器证书

IE/Chrome:使用管理员身份运行goagent.exe会自动向系统导入IE/Chrome的证书,你也可以双击local文件夹中的CA.crt安装证书(需要安装到“受信任的根证书颁发机构”)

Firefox:需要单独导入证书,打开FireFox?->选项->高级->加密->查看证书->证书机构(必须是这项)->导入证书, 选择local\ca.crt, 勾选所有项,导入;

opera:导入证书方法:首选项→高级→安全性→管理证书→证书颁发机构(必须是这项)->导入->选择local\ca.crt文件->依次确认

 

OK,运行 local\goagent.exe,代理设置是:127.0.0.1:8087,搞定!

 

============================

 

到这里为止,可以翻墙看东西了,但是有一个问题:打开所有网站都是通过goagent,所以浏览国内网站的速度会变慢。

所以,需要安装一个自动代理插件,Firefox下面推荐Autoproxy,Chrome下面推荐SwitchySharp,它们的原理基本都是一样的:根据规则将部分特殊的网站走代理、其它网站则不走代理(这个规则网上有现成的,用得最多的是gfwList,作者不定期添加已知的被墙网站到这个列表;另外,除了订阅列表之外,还可以手动添加一些网站强制走代理)

Autoproxy 参考:https://www.yaohonglou.com/r/2014.05.28/15:59:53

SwitchySharp 参考:https://www.yaohonglou.com/r/2012.06.23/02:22:14

 

============================

 

延伸阅读:

如果在公司安装成功了,回到家里还想使用,可以按照以下步骤:

1、将配置好的公司电脑的goagent文件夹打包

2、将打包好的文件带回家,解压到家里的电脑

3、导入浏览器证书,然后安装Autoproxy或SwitchySharp,就可以直接用了

 

如果嫌goagent麻烦,也可以通过其它代理形式配合Autoproxy或SwitchySharp使用,主要有如下几种方案:

1、购买SSH账号,通过BitviseSSH等软件自建代理隧道 (相对比较安全,但非绝对,除非自架服务器端)

2、安装一些带翻墙功能的浏览器,比如 http://11go.net/forum-90-1.html (有一定风险)

3、使用X界、某某门等软件 (有一定风险,因为这些都是基本都是海外不法分子搞的)

 

再提供三个链接:

1、https://code.google.com/p/gogo-tester  寻找本文开头第二步的iplist(可以找到适合自己网络的优质IP)

1、http://blog.yadgen.com/?page_id=1466  如果嫌上面的太麻烦,这里还有现成的iplist(能用,但可能不优质)

2、http://blog.yadgen.com/?page_id=585  这个是修改hosts文件的,翻墙&去广告略有效果

(上述链接是网络志愿者提供的,如不能使用请直接咨询其博主)


========================================================================

【版权声明】
 本文短地址:ounn.cn/1027  本文版权属于:YaoHonglou.Com
 含有照片的文章谢绝转载,包括但不限于本人及本人亲朋好友的照片
 其余文章允许非商用性质的转载,转载时须保留本文链接及本人署名

发表我的评论