作者:Dincar 来源:http://www.weiphone.com/viewthread.php?tid=422418
国内mac不用代理上youtube和twitter:
步骤:
1, 打开termianl,输入: sudo vim /etc/hosts 然后密码打上
2, 按 i 键进入编辑模式
3, 添加:
203.208.33.100 www.youtube.com
203.208.33.100 gdata.youtube.com
128.121.146.228 twitter.com
203.208.39.104 wlfs.blogspot.com
203.208.39.104 www.bogger.com
203.208.39.104 www.youtube.com
203.208.39.99 upload.youtube.com
203.208.39.99 insight.youtube.com
203.208.39.160 help.youtube.com
(包含了 blogspot, youtube, twitter, 但是blogspot已被墙,可能用不了)
4, 按ESC键退出编辑模式
5, 按 :wq (w指写入,q指退出)
done.
(via @sunshaoyu)
iphone无代理翻墙上youtube, twitter:
和mac是一个道理, 也是找etc/hosts,
必须是越狱的iphone一台, 用ssh工具例如:winscp活着cyberduck(mac), 找到etc/hosts, 下载到硬盘,用记事本or textedit打开, 添加:
203.208.33.100 www.youtube.com
203.208.33.100 gdata.youtube.com
128.121.146.228 twitter.com
203.208.39.104 wlfs.blogspot.com
203.208.39.104 www.bogger.com
203.208.39.104 www.youtube.com
203.208.39.99 upload.youtube.com
203.208.39.99 insight.youtube.com
203.208.39.160 help.youtube.com
然后保存, 传到etc/ 覆盖 权限644就可 重启, done(via @sunshaoyu)
[ 本帖最后由 Dincar 于 2009-7-7 20:20 编辑 ]
步骤:
1, 打开termianl,输入: sudo vim /etc/hosts 然后密码打上
2, 按 i 键进入编辑模式
3, 添加:
203.208.33.100 www.youtube.com
203.208.33.100 gdata.youtube.com
128.121.146.228 twitter.com
203.208.39.104 wlfs.blogspot.com
203.208.39.104 www.bogger.com
203.208.39.104 www.youtube.com
203.208.39.99 upload.youtube.com
203.208.39.99 insight.youtube.com
203.208.39.160 help.youtube.com
(包含了 blogspot, youtube, twitter, 但是blogspot已被墙,可能用不了)
4, 按ESC键退出编辑模式
5, 按 :wq (w指写入,q指退出)
done.
(via @sunshaoyu)
iphone无代理翻墙上youtube, twitter:
和mac是一个道理, 也是找etc/hosts,
必须是越狱的iphone一台, 用ssh工具例如:winscp活着cyberduck(mac), 找到etc/hosts, 下载到硬盘,用记事本or textedit打开, 添加:
203.208.33.100 www.youtube.com
203.208.33.100 gdata.youtube.com
128.121.146.228 twitter.com
203.208.39.104 wlfs.blogspot.com
203.208.39.104 www.bogger.com
203.208.39.104 www.youtube.com
203.208.39.99 upload.youtube.com
203.208.39.99 insight.youtube.com
203.208.39.160 help.youtube.com
然后保存, 传到etc/ 覆盖 权限644就可 重启, done(via @sunshaoyu)
[ 本帖最后由 Dincar 于 2009-7-7 20:20 编辑 ]
1 条评论:
及时雨啊!刚需要这个东西,顺便补一个iphone访问twitter的hosts
128.121.146.228 twitter.com
128.121.146.228 www.twitter.com
128.121.146.101 assets0.twitter.com
128.121.146.101 assets1.twitter.com
128.121.146.101 static.twitter.com
128.121.146.229 assets2.twitter.com
128.121.146.229 assets3.twitter.com
65.74.185.41 twitter.zendesk.com
65.74.185.41 help.twitter.com
发表评论