公司代理上网,如何使 hosts 文件生效,实现 Gmail 等服务的正常访问?
Gmail、gdocs在家里一直是通过修改hosts文件实现正常访问的,但在公司局域网是通过代理服务器上网的,所以自己电脑上的hosts文件修改不生效,有没有别的好办法。
1楼(未知网友)
#===============谷歌服务加速===============#
203.208.46.180 http://ssl.gstatic.com
203.208.46.180 http://oauth.googleusercontent.com
203.208.46.180 http://r3085-dot-latest-dot-project-slingshot-gp.appspot.com
203.208.46.180 http://newsfeed-dot-latest-dot-rovio-ad-engine.appspot.com
203.208.46.180 http://project-slingshot-gp.appspot.com
203.208.46.180 http://images-lso-opensocial.googleusercontent.com
203.208.46.180 http://images-oz-opensocial.googleusercontent.com
203.208.46.180 http://upt14k1i2veesusrda9nfotcrbp9d7p5-a-oz-opensocial.googleusercontent.com
203.208.46.180 http://maps.google.com
203.208.46.180 http://mail.google.com
203.208.46.180 http://docs.google.com
203.208.46.180 http://webcache.googleusercontent.com
203.208.46.180 http://maps-api-ssl.google.com
203.208.46.180 http://images1-focus-opensocial.googleusercontent.com
203.208.46.180 http://images2-focus-opensocial.googleusercontent.com
203.208.46.180 http://www.google.com
203.208.46.180 http://www.google.com.hk
203.208.46.180 http://chrome.google.com
203.208.46.180 http://profiles.google.com
203.208.46.180 http://plus.google.com
203.208.46.180 http://talkgadget.google.com
203.208.46.180 http://picasaweb.google.com
203.208.46.180 http://clients1.google.com
203.208.46.180 http://clients2.google.com
203.208.46.180 http://clients3.google.com
203.208.46.180 http://clients4.google.com
203.208.46.180 http://clients5.google.com
203.208.46.180 http://clients6.google.com
203.208.46.180 http://clients7.google.com
203.208.46.180 http://clients1.googleusercontent.com
203.208.46.180 http://clients2.googleusercontent.com
203.208.46.180 http://clients3.googleusercontent.com
203.208.46.180 http://clients4.googleusercontent.com
203.208.46.180 http://clients5.googleusercontent.com
203.208.46.180 http://clients6.googleusercontent.com
203.208.46.180 http://clients7.googleusercontent.com
203.208.46.180 http://lh1.ggpht.com
203.208.46.180 http://lh2.ggpht.com
203.208.46.180 http://lh3.ggpht.com
203.208.46.180 http://lh4.ggpht.com
203.208.46.180 http://lh5.ggpht.com
203.208.46.180 http://lh6.ggpht.com
203.208.46.180 http://lh6.googleusercontent.com
203.208.46.180 http://lh5.googleusercontent.com
203.208.46.180 http://lh4.googleusercontent.com
203.208.46.180 http://lh3.googleusercontent.com
203.208.46.180 http://lh2.googleusercontent.com
203.208.46.180 http://lh1.googleusercontent.com
203.208.46.180 http://spreadsheets.google.com
203.208.46.180 http://code.google.com
203.208.46.180 http://mail-attachment.googleusercontent.com
203.208.46.180 http://id.google.com
203.208.46.180 http://0.docs.google.com
203.208.46.180 http://1.docs.google.com
203.208.46.180 http://chatenabled.mail.google.com
203.208.46.161 http://encrypted-tbn0.google.com
203.208.46.162 http://encrypted-tbn1.google.com
203.208.46.163 http://encrypted-tbn2.google.com
203.208.46.164 http://encrypted-tbn3.google.com
2楼(站大爷用户)
用proxifier的玩看看
名称解析里面排除一下Gmail gdoc的这些
3楼(未知网友)
如果是为了使用谷歌可以看看我收集的可用的,一直更新的,因为我自己需要用
如何优雅的使用Google
如果是要改host可以试试这个
如何获取Google最新host及在win7和ubuntu下修改办法
github上有个库,一直在更新最新的host
4楼(未知网友)
goagent
5楼(未知网友)
由于代理的 域名解析是在代理服务器上进行的, 所以本地 hosts 域名IP 绑定无效.
我想到两个方法:
如果你是管理员或可以与管理员协商的, 建议在 代理服务器上加hosts, 如果不是, 看下一条;
通过两次代理, 如购买一个 SSH, SSH 客户端先通过公司代理连接到 SSH 服务器, 然后本机通过 SSH 来上 Gmail 或 Gdocs.