Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
    
You might want to look into this wiki.ubuntu.com/VPN –  Manish Sinha Aug 9 '11 at 21:58
2  
Look into tor.. –  user606723 Aug 9 '11 at 22:13
1  
I would recommend against doing that. –  NullUserException Oct 15 '11 at 13:52
    
Really? Forbidden? Facebook? Isn't that like exaggerating the whole security agenda a bit? Is Twitter and G+ also forbidden? –  Luis Alvarado Nov 15 '11 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 '12 at 15:03
show 2 more comments

9 Answers

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

share|improve this answer
add comment

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
share|improve this answer
add comment

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.

share|improve this answer
add comment

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.
share|improve this answer
add comment

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

You can use Tor Browser too.

share|improve this answer
add comment

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.

share|improve this answer
add comment

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 ... :)

share|improve this answer
add comment

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.

share|improve this answer
    
Download tor browser from - torproject.org/download/download.html.en –  Curious Apprentice May 1 '12 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. –  Curious Apprentice May 1 '12 at 7:43
    
Visit this for more help: scribd.com/doc/85715850/… –  Curious Apprentice May 1 '12 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 '13 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 '13 at 15:05
show 1 more comment

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.

share|improve this answer
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. –  Stefano Palazzo Aug 10 '11 at 9:06
2  
1  
You also have the option to setup OpenVPN, supposedly more secure than the aforementioned PPTP VPN. –  Oxwivi Nov 15 '11 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. –  Luis Alvarado Nov 15 '11 at 18:29
add comment

protected by fossfreedom May 30 '13 at 20:59

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.