What is going on with GMail in China, and how to get around it

What Is Going On?

The URL of GMail is https://mail.google.com/mail. The subdomain mail.google.com points to four separate IP addresses, listed below. According to our latest tests, only one of these is fully working in China. The other three are fully blocked, or blocked depending on where in the country you are or which ISP you use. Interestingly, only HTTPS connections to these IP addresses are blocked. For example, you can visit Doing so will take you to Google Search; GMail is available on HTTPS only.

IP 地址我们的测试评论 blocked or not depending on location or not depending on location

The Partial Blocking Strategy

Partially blocking GMail may give users the impression that Google is to blame for offering an unstable service. If this strategy works, Chinese users may decide to switch to domestic providers, which operate under local censorship and surveillence conditions. Another explanation for this partial blocking may be that the authorities are nervous of fully blocking GMail. It's one thing to block a social network or a foreign news website (like http://www.nytimes.com which was recently blocked). Losing access to your email is considerably worse - if you switch to a new provider, you lose all your contacts and your past emails. The government may be scared of a backlash from the urban, educated and young people who tend to use GMail, not to mention the businesses that rely on it.

It's hardly a coincidence that this partial blocking is coming only days before the start of the 18th Party Congress. A similar tactic was used in March last year, at the time of the calls for a Jasmine Revolution (as can be seen in our data). These occasions may also provide a good excuse for dealing with what is really much more of a long-term problem - getting rid of Google. Google has a unique position on the Chinese Internet. While it's a minority player, it offers millions of Chinese netizens one of few ways of uncensored web seach (at https://www.google.com.hk) as well as encrypted email communication (through GMail).

What You Can Do

The obvious solution is to use a VPN or some other form of circumvention software. However, many people are reporting problems connecting to their VPNs these days. Luckily, there's another solution. As long as GMail isn't fully blocked, all you need to do is help your computer decide which IP address it should connect to. Regardless of whether you are on a Mac, Windows or Linux computer, this is done by editing the so-called "hosts file". You need to add an entry like this: mail.google.com

HowToGeek has a nice tutorial on how to edit the hosts file.

If it still doesn't work, you can try substituting any of the other three IP addresses in the table above. Whether any one IP works likely depends on your location, your ISP and it may also change quickly over the coming days.

Tell Google To Fix It!

Google can at any time change these IP addresses. Staying ahead of the censors is a game of cat and mouse, so tell the mouse to run faster. Report the issue to Google here.


More Blog Posts

Subscribe to our mailing list
Show content from Blog | Google+ | Twitter | All. Subscribe to our blog using RSS.

Tue, Jul 05, 2016

GreatFire.org now testing VPN speed and stability in China

There is a commonly held belief in China that if you have a VPN that works then you should keep quiet about it. In terms of freedom of access to information, the problem with this approach is that access to knowledge suddenly is a secret. Today we are launching a project that we hope will destroy that model.

Our newest website, Circumvention Central (CC), aims to provide real-time information and data about circumvention solutions that work in China. Since 2011, we have been collecting data about blocked websites in China and now we will add data about the effectiveness of VPNs and other circumvention tools.

We are launching CC with four main objectives in mind.

Our first objective is to help to grow the number of Chinese who circumvent censorship restrictions in China. By sharing our information and data about these tools, we hope to show a wider audience which circumvention tools are working.

Our second objective is to improve the circumvention experience for users in China by bringing transparency to tool performance. We will measure these tools on speed (how quickly popular websites are loaded) and on stability (the extent to which popular websites load successfully).

Sat, May 07, 2016

The New York Times vs. The Chinese Authorities

Could the New York Times be setting the best path forward for news organizations in China?

Thu, Feb 18, 2016

From the desk of Lu Wei: Apple, encryption and China

Lu Wei, Director of the Cyberspace Administration of China, offers some friendly help to FBI Director James Comey.

Thu, Sep 24, 2015

Apple blocked CNNIC CA months after MITM attacks

In March of this year, Google found unauthorized digital certificates for several Google domains. The root certificate authority for these domains was the China Internet Network Information Center (CNNIC). CNNIC was controlled by the Chinese government through the Ministry of Industry and Information Technology and is now under the management of the Cyberspace Administration of China (CAC). CNNIC was recognized by all major browsers as a trusted Certificate Authority. If CNNIC signs a fake certificate used in a man-in-the-middle attack, no browser will warn of any unusual activity unless the certificate is pinned.

After Google found these unauthorized certificates, both Google and Firefox revoked its trust in CNNIC a few days later, a development we at GreatFire.org have adovacting for since 2013. Apple and Microsoft on the other hand, did not revoke their trust in CNNIC, nor did they make any announcements regarding the security compromise.

Wed, Sep 23, 2015

Malicious Xcode could spread via download manager Xunlei

What’s at stake?

We reported last week that popular Chinese iOS apps were compromised in an unprecedented malware attack. We discovered that the source of the infection was compromised copies of Xcode hosted on Baidu Pan. Apple has published an article urging developers to download Xcode directly from the Mac App Store, or from the Apple Developer website and validate signatures. We’ve now discovered that even if a developer uses a download link seemingly from Apple, he might still be possible to obtain a compromised copy of Xcode.

Please note that we do not have evidence that such attacks has happened. But it is an easy attack that anyone can implement.

How does it work?

This compromise happened because of Xunlei. Xunlei is the most popular download manager in China. Much of its popularity is due to the fact they can accelerate download speeds by pulling resources from other Xunlei users as well as cached copies on the Xunlei server. All of this, however, is invisible to users. Users can simply enter a regular http download address into Xunlei  download manager and the download will start. Chinese developers were using direct download addresses such as http://adcdownload.apple.com/Developer_Tools/Xcode_7/Xcode_7.dmg to download Xcode.

Subscribe to our blog using RSS.


i cannot sign in my gmail account from Thailand today...please advise what to do,thank u.

I really like your blog.. very nice colors & theme.
Did you create this website yourself or did you hire someone to do it for
you? Plz respond as I'm looking to construct
my own blog and would like to know where u got this from.
thank you

Feel free to surf to my blog post

Having read this I thought it was rather informative.

I appreciate you taking the time and effort to put this content together.

I once again find myself spending a significant amount of time both reading and
posting comments. But so what, it was still worth it!

Feel free to visit my page :: scada


yeah really good info from this site .. Loved a lot thank you
happy rose day sms
happy Chocolate day sms
Happy Valentines Day status
happy kiss day sms

this post is awesome, great msg for us, plz update ur blog for daily basis, i am regular visitor of this site, so keep posting for us,

click the below links to create backlink
best free backlink website
click here for msg movie

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.