19

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?

7
  • You might want to look into this wiki.ubuntu.com/VPN Aug 9, 2011 at 21:58
  • 2
    Look into tor..
    – user606723
    Aug 9, 2011 at 22:13
  • 1
    I would recommend against doing that. Oct 15, 2011 at 13:52
  • Really? Forbidden? Facebook? Isn't that like exaggerating the whole security agenda a bit? Is Twitter and G+ also forbidden? Nov 15, 2011 at 18:26
  • @Luis Alvaro Here is a list of blocked sites in china: en.wikipedia.org/wiki/… and facebook is among them
    – bioShark
    Nov 7, 2012 at 15:03

9 Answers 9

20

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.

4
  • 4
    It's easy to detect whether you're using a VPN, but, modern VPNs are also encrypted and authenticated quite well. Detecting what you use it for is rather difficult, even for the authorities of China. If you're going to do it, carefully read the Wikipedia article on VPN so that you know exactly what you're doing. Know about and make sure to use transport layer security and authentication. Aug 10, 2011 at 9:06
  • 2
  • 1
    You also have the option to setup OpenVPN, supposedly more secure than the aforementioned PPTP VPN.
    – Oxwivi
    Nov 15, 2011 at 17:02
  • 6
    +1 For the part about the "horrible incursion on people's natural right to free uncensored information" I stand up for freedom of any kind, speech, access or otherwise. This is some crazy unethical, unmoral, jailed freedom stuff am reading when I saw this post. I will not be going to this country any time soon. Nov 15, 2011 at 18:29
9

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.

6
  • Download tor browser from - torproject.org/download/download.html.en May 1, 2012 at 7:41
  • Just download the "tor-browser-gnu-linux-i686-2.2.35-10-dev-en-US.tar.gz", then extract it anywhere and start it by running "start-tor-browser" in that extracted folder. May 1, 2012 at 7:43
  • Visit this for more help: scribd.com/doc/85715850/… May 1, 2012 at 7:47
  • Keep in mind that Tor is insecure as you're relying on strangers to provide you internet. They can see everything you access through their connection. They can see the information you type in and the information the website returns to you as well.
    – KI4JGT
    Feb 23, 2013 at 8:14
  • @KI4JGT This is not completely accurate: using tor with normal www sites is not totally secure, as the exit nodes can be sniffed and traffic analysed; but, if it is set up correctly, using tor with .onion sites is as secure as you can get at the minute. Nothing is totally secure, that is for sure.
    – user76204
    Feb 27, 2013 at 15:05
6

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.
4

If you have a home server running an ssh server, or maybe a friend's (nothing fancy needed) then you can connect to that, and use it as your own proxy:

ssh -fND :8000 your.ip.address

Then configure firefox to use a socks proxy on 127.0.0.1:8000.

Of course, it's only as fast as your broadband upload speed, but it's free and unlikely to be on any blacklist.

1

Try to use Tor Browser. To install Tor browser (tor browser isn't same with tor bittorrent client), open terminal (Ctrl+All+T) then type these commands:

sudo add-apt-repository ppa:upubuntu-com/tor
sudo apt-get update
sudo apt-get install tor-browser
0

What about websites like http://hidemyass.com/ ?

I was in Vietnam in Spring '09. Facebook.com was blocked but http://m.facebook.com/ was still working. I can't guarantee though ... :)

0

Use anonymox addon on Firefox. Search on google by " anonymox addon" and then install it on firefox.

You can use Tor Browser too.

0

There is no fast and free proxies.
I have used VPN in China when I was on Hainan to access FB and Youtube. Worked pretty good.

0

Caveat: it might help to already be set up before getting behind the Chinese Wall.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .