Google持续被GWF封,哪我们如何访问Google呢?最简单的办法就是修改hosts文件,从本地hosts中解析Google域名所使用的IP地址,不通过访问DNS获取Google域名的IP地址。
Google的域名体系中把全部域名都指向同一个IP地址,使用这个IP地址可以访问Google的所有网址,目前亲测可用的IP地址是64.233.185.94,当然这个IP地址可能不久就会被封。当这个IP地址不能使用后,可以再找Google的其它新IP地址替代它。
修改方法:
在Windows系统中,打开C:\WINDOWS\system32\drivers\etc\hosts文件,在末尾添加如下内容,然后重启电脑即可,腾讯管家、360卫士、金山卫士可能会提示病毒或非法修改系统,请不必理会,并将Hosts文件加入白名单。建议使用https的方式访问Google,Chrome下强制Google使用https的方法参见这里。
对于Linux系统,修改方法和Windows类似,只是文件位置不一样,Linux系统下Hosts文件的位置是/etc/hosts ,使用vi编辑这个文件,将附加的内容添加在其后面即可。
Google可用的hosts文件内容如下:
#Google Services START
64.233.185.94 0.docs.google.com
64.233.185.94 0.drive.google.com
64.233.185.94 1.docs.google.com
64.233.185.94 1.drive.google.com
64.233.185.94 10.docs.google.com
64.233.185.94 10.drive.google.com
64.233.185.94 11.docs.google.com
64.233.185.94 11.drive.google.com
64.233.185.94 12.docs.google.com
64.233.185.94 12.drive.google.com
64.233.185.94 13.docs.google.com
64.233.185.94 13.drive.google.com
64.233.185.94 14.docs.google.com
64.233.185.94 14.drive.google.com
64.233.185.94 15.docs.google.com
64.233.185.94 15.drive.google.com
64.233.185.94 16.docs.google.com
64.233.185.94 16.drive.google.com
64.233.185.94 2.docs.google.com
64.233.185.94 2.drive.google.com
64.233.185.94 3.docs.google.com
64.233.185.94 3.drive.google.com
64.233.185.94 4.docs.google.com
64.233.185.94 4.drive.google.com
64.233.185.94 5.docs.google.com
64.233.185.94 5.drive.google.com
64.233.185.94 6.docs.google.com
64.233.185.94 6.drive.google.com
64.233.185.94 7.docs.google.com
64.233.185.94 7.drive.google.com
64.233.185.94 8.docs.google.com
64.233.185.94 8.drive.google.com
64.233.185.94 9.docs.google.com
64.233.185.94 9.drive.google.com
64.233.185.94 accounts.google.com
64.233.185.94 accounts.l.google.com
64.233.185.94 answers.google.com
64.233.185.94 apis.google.com
64.233.185.94 appengine.google.com
64.233.185.94 apps.google.com
64.233.185.94 appspot.l.google.com
64.233.185.94 bks0.books.google.com
64.233.185.94 bks1.books.google.com
64.233.185.94 bks10.books.google.com
64.233.185.94 bks2.books.google.com
64.233.185.94 bks3.books.google.com
64.233.185.94 bks4.books.google.com
64.233.185.94 bks5.books.google.com
64.233.185.94 bks6.books.google.com
64.233.185.94 bks7.books.google.com
64.233.185.94 bks8.books.google.com
64.233.185.94 bks9.books.google.com
64.233.185.94 blogsearch.google.com
64.233.185.94 books.google.com
64.233.185.94browserchannel-docs.l.google.com
64.233.185.94 browserchannel-spreadsheets.l.google.com
64.233.185.94 browsersync.google.com
64.233.185.94 browsersync.l.google.com
64.233.185.94 buzz.google.com
64.233.185.94 cache.l.google.com
64.233.185.94 cache.pack.google.com
64.233.185.94 calendar.google.com
64.233.185.94 cbk0.google.com
64.233.185.94 cbk1.google.com
64.233.185.94 cbk2.google.com
64.233.185.94 cbk3.google.com
64.233.185.94 cbks0.google.com
64.233.185.94 cbks1.google.com
64.233.185.94 cbks2.google.com
64.233.185.94 cbks3.google.com
64.233.185.94 chart.apis.google.com
64.233.185.94 chatenabled.mail.google.com
64.233.185.94 checkout.google.com
64.233.185.94 checkout.l.google.com
64.233.185.94 chrome.google.com
64.233.185.94 clients.l.google.com
64.233.185.94 clients1.google.com
64.233.185.94 clients2.google.com
64.233.185.94 clients3.google.com
64.233.185.94 clients4.google.com
64.233.185.94 clients5.google.com
64.233.185.94 clients6.google.com
64.233.185.94 clients7.google.com
64.233.185.94 code.google.com
64.233.185.94 code.l.google.com
64.233.185.94 csi.l.google.com
64.233.185.94 desktop.google.com
64.233.185.94 desktop.l.google.com
64.233.185.94 desktop2.google.com
64.233.185.94 developers.google.com
64.233.185.94 ditu.google.com
64.233.185.94 dl.google.com
64.233.185.94 dl.l.google.com
64.233.185.94 dl-ssl.google.com
64.233.185.94 docs.google.com
64.233.185.94 docs0.google.com
64.233.185.94 docs1.google.com
64.233.185.94 docs2.google.com
64.233.185.94 docs3.google.com
64.233.185.94 docs4.google.com
64.233.185.94 docs5.google.com
64.233.185.94 docs6.google.com
64.233.185.94 docs7.google.com
64.233.185.94 docs8.google.com
64.233.185.94 docs9.google.com
64.233.185.94 drive.google.com
64.233.185.94 drive0.google.com
64.233.185.94 drive1.google.com
64.233.185.94 drive2.google.com
64.233.185.94 drive3.google.com
64.233.185.94 drive4.google.com
64.233.185.94 drive5.google.com
64.233.185.94 drive6.google.com
64.233.185.94 drive7.google.com
64.233.185.94 drive8.google.com
64.233.185.94 drive9.google.com
64.233.185.94 earth.google.com
64.233.185.94 encrypted.google.com
64.233.185.94 encrypted-tbn.l.google.com
64.233.185.94 encrypted-tbn0.google.com
64.233.185.94 encrypted-tbn1.google.com
64.233.185.94 encrypted-tbn2.google.com
64.233.185.94 encrypted-tbn3.google.com
64.233.185.94 feedburner.google.com
64.233.185.94 feedproxy.google.com
64.233.185.94filetransferenabled.mail.google.com
64.233.185.94 finance.google.com
64.233.185.94 fusion.google.com
64.233.185.94 geoauth.google.com
64.233.185.94 gg.google.com
64.233.185.94 ghs.google.com
64.233.185.94 ghs.l.google.com
64.233.185.94 ghs46.google.com
64.233.185.94 ghs46.l.google.com
64.233.185.94 google.com
64.233.185.94 googleapis.l.google.com
64.233.185.94 googleapis-ajax.google.com
64.233.185.94 googleapis-ajax.l.google.com
64.233.185.94 googlecode.l.google.com
64.233.185.94google-public-dns-a.google.com
64.233.185.94google-public-dns-b.google.com
64.233.185.94 goto.google.com
64.233.185.94 groups.google.com
64.233.185.94 groups.l.google.com
64.233.185.94 groups-beta.google.com
64.233.185.94 gxc.google.com
64.233.185.94 id.google.com
64.233.185.94 id.l.google.com
64.233.185.94 images.google.com
64.233.185.94 images.l.google.com
64.233.185.94 investor.google.com
64.233.185.94 jmt0.google.com
64.233.185.94 kh.google.com
64.233.185.94 kh.l.google.com
64.233.185.94 khm.google.com
64.233.185.94 khm.l.google.com
64.233.185.94 khm0.google.com
64.233.185.94 khm1.google.com
64.233.185.94 khm2.google.com
64.233.185.94 khm3.google.com
64.233.185.94 khmdb.google.com
64.233.185.94 khms.google.com
64.233.185.94 khms.l.google.com
64.233.185.94 khms0.google.com
64.233.185.94 khms1.google.com
64.233.185.94 khms2.google.com
64.233.185.94 khms3.google.com
64.233.185.94 labs.google.com
64.233.185.94 large-uploads.l.google.com
64.233.185.94 lh2.google.com
64.233.185.94 lh2.l.google.com
64.233.185.94 lh3.google.com
64.233.185.94 lh4.google.com
64.233.185.94 lh5.google.com
64.233.185.94 lh6.google.com
64.233.185.94 linkhelp.clients.google.com
64.233.185.94 local.google.com
64.233.185.94 m.google.com
64.233.185.94 mail.google.com
64.233.185.94 map.google.com
64.233.185.94 maps.google.com
64.233.185.94 maps.l.google.com
64.233.185.94 maps-api-ssl.google.com
64.233.185.94 mars.google.com
64.233.185.94 mobile.l.google.com
64.233.185.94 mobile-gtalk.l.google.com
64.233.185.94 mobilemaps.clients.google.com
64.233.185.94 mt.google.com
64.233.185.94 mt.l.google.com
64.233.185.94 mt0.google.com
64.233.185.94 mt1.google.com
64.233.185.94 mt2.google.com
64.233.185.94 mt3.google.com
64.233.185.94 mtalk.google.com
64.233.185.94 mts.google.com
64.233.185.94 mts.l.google.com
64.233.185.94 mts0.google.com
64.233.185.94 mts1.google.com
64.233.185.94 mts2.google.com
64.233.185.94 mts3.google.com
64.233.185.94 music.google.com
64.233.185.94 music-streaming.l.google.com
64.233.185.94 mw1.google.com
64.233.185.94 mw2.google.com
64.233.185.94 news.google.com
64.233.185.94 news.l.google.com
64.233.185.94 pack.google.com
64.233.185.94 photos.google.com
64.233.185.94 photos-ugc.l.google.com
64.233.185.94 picasa.google.com
64.233.185.94 picasaweb.google.com
64.233.185.94 picasaweb.l.google.com
64.233.185.94 places.google.com
64.233.185.94 play.google.com
64.233.185.94 productforums.google.com
64.233.185.94 profiles.google.com
64.233.185.94 reader.google.com
64.233.185.94 safebrowsing.cache.l.google.com
64.233.185.94safebrowsing.clients.google.com
64.233.185.94 safebrowsing.google.com
64.233.185.94 safebrowsing-cache.google.com
64.233.185.94 sandbox.google.com
64.233.185.94 sb.google.com
64.233.185.94 sb.l.google.com
64.233.185.94 sb-ssl.google.com
64.233.185.94 sb-ssl.l.google.com
64.233.185.94 scholar.google.com
64.233.185.94 scholar.l.google.com
64.233.185.94 script.google.com
64.233.185.94 services.google.com
64.233.185.94 sites.google.com
64.233.185.94 sketchup.google.com
64.233.185.94 sketchup.l.google.com
64.233.185.94 spreadsheet.google.com
64.233.185.94 spreadsheets.google.com
64.233.185.94 spreadsheets.l.google.com
64.233.185.94 spreadsheets0.google.com
64.233.185.94 spreadsheets1.google.com
64.233.185.94 spreadsheets2.google.com
64.233.185.94 spreadsheets3.google.com
64.233.185.94 spreadsheets4.google.com
64.233.185.94 spreadsheets5.google.com
64.233.185.94 spreadsheets6.google.com
64.233.185.94 spreadsheets7.google.com
64.233.185.94 spreadsheets8.google.com
64.233.185.94 spreadsheets9.google.com
64.233.185.94spreadsheets-china.l.google.com
64.233.185.94 suggestqueries.google.com
64.233.185.94 suggestqueries.l.google.com
64.233.185.94 support.google.com
64.233.185.94 talk.google.com
64.233.185.94 talkgadget.google.com
64.233.185.94 tbn0.google.com
64.233.185.94 tbn1.google.com
64.233.185.94 tbn2.google.com
64.233.185.94 tbn3.google.com
64.233.185.94 toolbar.google.com
64.233.185.94toolbarqueries.clients.google.com
64.233.185.94 toolbarqueries.google.com
64.233.185.94 toolbarqueries.l.google.com
64.233.185.94 tools.google.com
64.233.185.94 tools.l.google.com
64.233.185.94 translate.google.com
64.233.185.94 trends.google.com
64.233.185.94 upload.docs.google.com
64.233.185.94 upload.drive.google.com
64.233.185.94 uploads.code.google.com
64.233.185.94 uploadsj.clients.google.com
64.233.185.94 v3.cache1.c.docs.google.com
64.233.185.94 video.google.com
64.233.185.94 video-stats.l.google.com
64.233.185.94 voice.google.com
64.233.185.94 wallet.google.com
64.233.185.94 wifi.google.com
64.233.185.94 wifi.l.google.com
64.233.185.94 wire.l.google.com
64.233.185.94 writely.google.com
64.233.185.94 writely.l.google.com
64.233.185.94 writely-china.l.google.com
64.233.185.94 writely-com.l.google.com
64.233.185.94 www.google.com
64.233.185.94 www.l.google.com
64.233.185.94 www2.l.google.com
64.233.185.94 www3.l.google.com
64.233.185.94 www4.l.google.com
64.233.185.94 ytstatic.l.google.com
64.233.185.940-open-opensocial.googleusercontent.com
64.233.185.94 0-focus-opensocial.googleusercontent.com
64.233.185.941-focus-opensocial.googleusercontent.com
64.233.185.941-open-opensocial.googleusercontent.com
64.233.185.94 1-ps.googleusercontent.com
64.233.185.942-focus-opensocial.googleusercontent.com
64.233.185.94 2-open-opensocial.googleusercontent.com
64.233.185.94 2-ps.googleusercontent.com
64.233.185.943-focus-opensocial.googleusercontent.com
64.233.185.94 3-ps.googleusercontent.com
64.233.185.943-open-opensocial.googleusercontent.com
64.233.185.94 4-ps.googleusercontent.com
64.233.185.94a-oz-opensocial.googleusercontent.com
64.233.185.94 blogger.googleusercontent.com
64.233.185.94clients1.googleusercontent.com
64.233.185.94clients2.googleusercontent.com
64.233.185.94clients3.googleusercontent.com
64.233.185.94 clients4.googleusercontent.com
64.233.185.94clients5.googleusercontent.com
64.233.185.94clients6.googleusercontent.com
64.233.185.94clients7.googleusercontent.com
64.233.185.94feedback.googleusercontent.com
64.233.185.94googlehosted.l.googleusercontent.com
64.233.185.94 gp0.googleusercontent.com
64.233.185.94 gp1.googleusercontent.com
64.233.185.94 gp2.googleusercontent.com
64.233.185.94 gp3.googleusercontent.com
64.233.185.94 gp4.googleusercontent.com
64.233.185.94 gp5.googleusercontent.com
64.233.185.94 gp6.googleusercontent.com
64.233.185.94images1-focus-opensocial.googleusercontent.com
64.233.185.94images2-focus-opensocial.googleusercontent.com
64.233.185.94images3-focus-opensocial.googleusercontent.com
64.233.185.94 images4-focus-opensocial.googleusercontent.com
64.233.185.94images5-focus-opensocial.googleusercontent.com
64.233.185.94images6-focus-opensocial.googleusercontent.com
64.233.185.94images7-focus-opensocial.googleusercontent.com
64.233.185.94images8-focus-opensocial.googleusercontent.com
64.233.185.94images9-focus-opensocial.googleusercontent.com
64.233.185.94images-docs-opensocial.googleusercontent.com
64.233.185.94images-oz-opensocial.googleusercontent.com
64.233.185.94 lh1.googleusercontent.com
64.233.185.94 lh2.googleusercontent.com
64.233.185.94 lh3.googleusercontent.com
64.233.185.94 lh4.googleusercontent.com
64.233.185.94 lh5.googleusercontent.com
64.233.185.94 lh6.googleusercontent.com
64.233.185.94mail-attachment.googleusercontent.com
64.233.185.94 music.googleusercontent.com
64.233.185.94music-onebox.googleusercontent.com
64.233.185.94 oauth.googleusercontent.com
64.233.185.94 s1.googleusercontent.com
64.233.185.94 s2.googleusercontent.com
64.233.185.94 s3.googleusercontent.com
64.233.185.94 s4.googleusercontent.com
64.233.185.94 s5.googleusercontent.com
64.233.185.94 s6.googleusercontent.com
64.233.185.94spreadsheets-opensocial.googleusercontent.com
64.233.185.94 static.googleusercontent.com
64.233.185.94t.doc-0-0-sj.sj.googleusercontent.com
64.233.185.94 themes.googleusercontent.com
64.233.185.94translate.googleusercontent.com
64.233.185.94webcache.googleusercontent.com
64.233.185.94 www.googleusercontent.com
64.233.185.94www-calendar-opensocial.googleusercontent.com
64.233.185.94 www-fc-opensocial.googleusercontent.com
64.233.185.94www-focus-opensocial.googleusercontent.com
64.233.185.94www-gm-opensocial.googleusercontent.com
64.233.185.94www-kix-opensocial.googleusercontent.com
64.233.185.94www-open-opensocial.googleusercontent.com
64.233.185.94www-opensocial.googleusercontent.com
64.233.185.94www-opensocial-sandbox.googleusercontent.com
64.233.185.94www-oz-opensocial.googleusercontent.com
64.233.185.94 csi.gstatic.com
64.233.185.94 g0.gstatic.com
64.233.185.94 g1.gstatic.com
64.233.185.94 g2.gstatic.com
64.233.185.94 g3.gstatic.com
64.233.185.94 maps.gstatic.com
64.233.185.94 mt0.gstatic.com
64.233.185.94 mt1.gstatic.com
64.233.185.94 mt2.gstatic.com
64.233.185.94 mt3.gstatic.com
64.233.185.94 mt4.gstatic.com
64.233.185.94 mt5.gstatic.com
64.233.185.94 mt6.gstatic.com
64.233.185.94 mt7.gstatic.com
64.233.185.94 ssl.gstatic.com
64.233.185.94 t0.gstatic.com
64.233.185.94 t1.gstatic.com
64.233.185.94 t2.gstatic.com
64.233.185.94 t3.gstatic.com
64.233.185.94 www.gstatic.com
64.233.185.94 lh1.ggpht.com
64.233.185.94 lh2.ggpht.com
64.233.185.94 lh3.ggpht.com
64.233.185.94 lh4.ggpht.com
64.233.185.94 lh5.ggpht.com
64.233.185.94 lh6.ggpht.com
64.233.185.94 nt0.ggpht.com
64.233.185.94 nt1.ggpht.com
64.233.185.94 nt2.ggpht.com
64.233.185.94 nt3.ggpht.com
64.233.185.94 nt4.ggpht.com
64.233.185.94 nt5.ggpht.com
64.233.185.94 appspot.com
64.233.185.94 www.appspot.com
64.233.185.94 ajax.googleapis.com
64.233.185.94 chart.googleapis.com
64.233.185.94 fonts.googleapis.com
64.233.185.94 maps.googleapis.com
64.233.185.94 mt0.googleapis.com
64.233.185.94 mt1.googleapis.com
64.233.185.94 mt2.googleapis.com
64.233.185.94 mt3.googleapis.com
64.233.185.94redirector-bigcache.googleapis.com
64.233.185.94 translate.googleapis.com
64.233.185.94 www.googleapis.com
64.233.185.94autoproxy-gfwlist.googlecode.com
64.233.185.94 chromium.googlecode.com
64.233.185.94closure-library.googlecode.com
64.233.185.94earth-api-samples.googlecode.com
64.233.185.94gmaps-samples-flash.googlecode.com
64.233.185.94google-code-feed-gadget.googlecode.com
64.233.185.94 blogsearch.google.cn
64.233.185.94 ditu.google.cn
64.233.185.94 gg.google.cn
64.233.185.94 id.google.cn
64.233.185.94 maps.gstatic.cn
64.233.185.94 m.google.cn
64.233.185.94 mt.google.cn
64.233.185.94 mt0.google.cn
64.233.185.94 mt1.google.cn
64.233.185.94 mt2.google.cn
64.233.185.94 mt3.google.cn
64.233.185.94 news.google.cn
64.233.185.94 scholar.google.cn
64.233.185.94 translate.google.cn
64.233.185.94 www.google.cn
64.233.185.94 www.gstatic.cn
64.233.185.94 accounts.google.com.hk
64.233.185.94 blogsearch.google.com.hk
64.233.185.94 books.google.com.hk
64.233.185.94 clients1.google.com.hk
64.233.185.94 desktop.google.com.hk
64.233.185.94 encrypted.google.com.hk
64.233.185.94 groups.google.com.hk
64.233.185.94 gxc.google.com.hk
64.233.185.94 id.google.com.hk
64.233.185.94 images.google.com.hk
64.233.185.94 m.google.com.hk
64.233.185.94 maps.google.com.hk
64.233.185.94 news.google.com.hk
64.233.185.94 picasaweb.google.com.hk
64.233.185.94 plus.url.google.com.hk
64.233.185.94 scholar.google.com.hk
64.233.185.94 toolbar.google.com.hk
64.233.185.94 toolbarqueries.google.com.hk
64.233.185.94 translate.google.com.hk
64.233.185.94 translate.google.com.hk
64.233.185.94 wenda.google.com.hk
64.233.185.94 www.google.com.hk
64.233.185.94 accounts.blogger.com
64.233.185.94 android.googlesource.com
64.233.185.94 auth.keyhole.com
64.233.185.94 chrome.angrybirds.com
64.233.185.94 developer.android.com
64.233.185.94 domains.googlesyndication.com
64.233.185.94 earthengine.googlelabs.com
64.233.185.94 feeds.feedburner.com
64.233.185.94 g.co
64.233.185.94 goo.gl
64.233.185.94 listen.googlelabs.com
64.233.185.94 m.googlemail.com
64.233.185.94 market.android.com
64.233.185.94 ngrams.googlelabs.com
64.233.185.94 panoramio.com
203.208.46.222 smarthosts.googlecode.com
203.208.46.222 ssl.google-analytics.com
64.233.185.94 static.panoramio.com
64.233.185.94 www.blogger.com
64.233.185.94 www.googleadservices.com
203.208.46.222 www.google-analytics.com
64.233.185.94 www.googlelabs.com
203.208.46.222 www.googlesource.com
64.233.185.94 www.panoramio.com
64.233.185.94 plus.google.com
64.233.185.94 plus.url.google.com
64.233.185.94 plusone.google.com
#Google Services END
注意:添加Google的IP和域名关系到hosts文件后必须重启IE浏览器才能访问,如果使用已经打开的浏览器是不能访问google的网址。
测试的URL地址:https://code.google.com/p/netmap/source/checkout
安装git后,创建一个netmap目录,进入该目录执行下面命令下载源码:
git clone https://code.google.com/p/netmap/