How can I access Facebook and other forbidden websites in China?

I'm flying to China soon for a long time, so I'd like to know how to configure my Ubuntu 11.04 so I can access forbidden websites (like Facebook)

I've heard about VPN and Proxy, but I don't know how to work with those. What would be a good solution for me?


Solution 1:

Configuring a VPN is pretty simple. Open up the Network Connections dialogue and hit the VPN tab, as below:

Network Connections jobbywhatsit

That leaves two issues:

  • You need a VPN to connect to. These are widely available but cost money. Note that some if not all of these might be blocked by China (for obvious reasons). You might need to rent your own server (eg from a company like Linode) and install your own VPN server. You could just use a Socks proxy over SSH if that's what you end up doing - Much easier and should work for most things.

  • Is this legal in China? I personally don't care how many of China's laws we break on Ask Ubuntu because we're not in China. I think their firewall is a horrible incursion on people's natural right to free uncensored information and that China use it to suppress their citizens. In short, I think this question is fine on here.

    But do be conscious that if you're breaking laws in China, and they find out (which they might), they might take legal action. And given China's record for open and fair judicial process, this could result in a 10 minute hearing followed by 10 years of wondering what you'd be doing if you didn't need to check Facebook.

    I'm not dropping the super-downer to put you off - just be careful.

Solution 2:

Another solution that may work well, download Tor with Vidalia, when you install it you can install a Tor button in Firefox, which allows you to use Firefox through the Tor proxy. The only thing to keep in mind is most of the Tor proxies seem to be in Germany, so when you open web pages you'll have to change the language to English, or whatever your language of choice is, which would be somewhere on the web page.

I say Tor because it's a GREAT proxy, and it very purpose is to provide Internet freedom to countries like China, Iran, etc., it changes your proxy IP every couple minutes, it's a really good service, and really easy to use.

One thing to keep in mind, with the latest versions of Ubuntu it seems that when you start Vidalia it will say it fails to connect to the Tor network, but it's because Ubuntu seems to start Tor on system start when it's installed, so if Vidalia says it can not connect, this is probably why, in which case you will not even need to start Vidalia, just start Firefox and make sure the Tor button is ON so that you connect through the proxy. If Vidalia says it successfully connects to the Tor network, then that means your Ubuntu is not making it start automatically, and you will need to start Vidalia every time you use it.

I hope this helps, and I hope it's not too confusing.

Solution 3:

I am a native Chinese,and there are many ways to access Facebook. Unfortunately, lots of the documentation is in Chinese.

  1. I use wallproxy — a plugin — to access Facebook. It's free and fast.
  2. freegate (自由门), 逍遥游 and so on. They're free, but not fast, and sometimes not available.
  3. firefox+tor. tor is can securely browse the internet, but is slow.
  4. VPN. VPN costs, but is fast.