Slashdot Mirror


Tunneling Under the Great Firewall?

An anonymous reader writes "I am traveling to China in the near future, and needless to say as a Slashdot reader I am going to require access to the Internet. The whole, unadulterated, unfiltered Internet. Also needless to say, I am very leery of the government there (my lack of a nickname on this submission being testament to that). I will only be there for a few weeks, and will not be using the computer for much of that time, so I don't want to shell out a lot of money to a VPN service. However I also don't want to be hindered by extremely slow speeds such as those provided by the Tor network. I have experience implementing Web servers and work fairly often with Linux; however, many of my friends who also face the same dilemma don't. What would be the most cost-effective (free is best) method for me to subvert the Great Firewall during my travels while maintaining sufficient anonymity and enjoying sufficient speed?"

286 of 403 comments (clear)

  1. Fear by sopssa · · Score: 3, Insightful

    This fear of China is just WTF. "my lack of a nickname on this submission being testament to that", VPN's, Tor, all of that just to browse the regular Internet. Anyone who writes these things obviously have not been there or in the other Asian countries.

    Most of the western quality hotels provide access to unfiltered Internet and you are most likely staying in one of those. Besides, the Chinese and Asian in general are quite relaxed people. Just think if American cops would be this patient and try to help the guy.

    Seriously, the Chinese, Asian and rest of the world hate and fear by Americans is getting beyond ridiculous.

    1. Re:Fear by grub · · Score: 5, Informative


      Besides, the Chinese and Asian in general are quite relaxed people.

      It isn't the general population causing the VPN problems we have with people travelling in China, it's the government.

      --
      Trolling is a art,
    2. Re:Fear by Moridineas · · Score: 4, Insightful

      Slashdot rails against DMCA, censorship, walled gardens, etc, and you expect the Chinese government to get a free pass? What a joke.

      You can raise frail strawmen all you want, but it's not about how "relaxed" Asians or anything else like "hate and fear" that you've just made up in your post. It's very specifically about the Chinese government. Exactly what part of "I am very leery of the government" have you completely failed to understand?

      Is this REALLY a conversation you want to get into?

    3. Re:Fear by Anonymous Coward · · Score: 2, Interesting

      Most of the western quality hotels provide access to unfiltered Internet and you are most likely staying in one of those.

      Is that 'unfiltered' access also 'unmonitored'?

    4. Re:Fear by Kell+Bengal · · Score: 1

      I don't know why you're at -1, but you know, you probably have a point. I would argue that if you're not browsing 'seditious' Chinese websites (which are probably in Chinese) then the government there probably doesn't give a damn about what you're doing. It sounds like the poster has way too high an expectation of how much other people pay attention to him. Unless you're looking for trouble, or very unlucky, it's just FUD.

      --
      Scientists point out problems, engineers fix them
      altslashdot.org: The future of slashdot.
    5. Re:Fear by sdiz · · Score: 2, Informative

      "seditious Chinese website" -- like wikipedia, dropbox, archive.org, google cache, blogspot, sourceforge, freebsd.org, youtube, twitter, foursquare and facebook .

    6. Re:Fear by Kell+Bengal · · Score: 2, Funny

      Yes, that's right. Anarchist scum, the lot of them!

      --
      Scientists point out problems, engineers fix them
      altslashdot.org: The future of slashdot.
    7. Re:Fear by Lumpy · · Score: 4, Insightful

      Yup. I dont understand also other parts of the question...

      "Shell out a lot of money for a VPN service..." $9.95US for 1 month is a Lot of money?

      He also claims he knows computers yet does not think of setting up his own VPN gateway at home? It's clear he is not moving there, just going there for a few weeks. Nobody I know terminates all their leases and sells all their stuff to go out of the country even for a few months....

      Pay $9.95 for VPN service each month, or set up a linux box as a VPN point. Call it done.

      --
      Do not look at laser with remaining good eye.
    8. Re:Fear by poetmatt · · Score: 1

      uh, what?

      "Seriously, the Chinese, Asian and rest of the world hate and fear by Americans is getting beyond ridiculous."

      can we get this translated by someone speaking english as opposed to sopssalanguage?

    9. Re:Fear by ailnlv · · Score: 1

      That cop deserves a medal

    10. Re:Fear by Moridineas · · Score: 2

      Even IF you're assuming the OP doesn't care about the Chinese government's filtering and censoring from a philosophical, practical or personal viewpoint, let me wikipedia that for you: http://en.wikipedia.org/wiki/Industrial_espionage

    11. Re:Fear by twidarkling · · Score: 1

      Slashdot rails against DMCA, censorship, walled gardens, etc, and you expect the Chinese government to get a free pass? What a joke.

      Because most people understand the difference between railing against local laws and companies, and being a foreign national in another country and needing to follow their laws and regulations. Yeah, it'll be a hardship for those few weeks, but if he can't handle it, the asker shouldn't be going to China if he can't keep his nose clean for those few weeks.

      --
      Canada: The US's more awesome sibling.
    12. Re:Fear by krazytekn0 · · Score: 1

      Yeah the cop being patient has everything to do with him being asian and absolutely nothing to do with the video camera in his face and his government trying to look friendly to the outside world.

      --
      Not all life is cyber. Extra Income
    13. Re:Fear by Rotworm · · Score: 2, Interesting
      That's one reason the /. crowd might differentiate. An equal perspective is the one from the origins of Gnu or the Internet: that we should exert democratic control. A Slashdotter who believes in democratic ideals wouldn't differentiate between the DMCA and the laws of a heirarchial, albeit sovereign, nation.

      Most people [...]

      Are you sure? What makes you think that?

    14. Re:Fear by BrokenHalo · · Score: 2, Informative

      It isn't the general population causing the VPN problems we have with people travelling in China...

      No. It's the fact that some people are cheapskates. Anyone can subscribe to an offshore VPN for less than US$10/month. Given that the OP is only in China for a few weeks, I don't see what he's whining about. After all, he will probably have to spend that amount on a power adaptor for his laptop.

    15. Re:Fear by couchslug · · Score: 1

      This is an excellent opportunity to unplug. There are two kinds of communication when overseas: "business" and "bullshit". You can delete the latter and slash your access requirements.

      Go explore China and make friends with the locals, eat tasty food, walk around, stuff like that. 4chan will still be there when you get home.

      --
      "This post is an artistic work of fiction and falsehood. Only a fool would take anything posted here as fact."
    16. Re:Fear by motd2k · · Score: 1

      http://www.overplay.net/ -- either use the free server in the US or subscribe...

    17. Re:Fear by thetoadwarrior · · Score: 1

      I think it should be a requirement that kids need to live in other countries for awhile to see that living in another country doesn't make you completely different and that we're all pretty much the same (not a surprise all being the same species) and all countries have a mix of good and bad. The grass isn't as green on the US' side even if the US is generally a better place to live.

    18. Re:Fear by icebraining · · Score: 2, Informative

      Even cheaper: $19 for three months, by the IPREDator: https://www.ipredator.se/

    19. Re:Fear by Anonymous Coward · · Score: 3, Funny

      Caution! The original questions at the top of this page might have been posted by an agent of the Chinese government, so that all answers offered could be used to eliminate holes in the Great Firewall.

    20. Re:Fear by jlar · · Score: 1

      My experience during an extended visit to a chinese company in China was that access to basic web pages that I needed for my work was filtered. Try for example accessing Google Groups from China.

    21. Re:Fear by socz · · Score: 3, Funny

      Lucky for them, they can still obtain GhettoBSD: 2010 GhettoBSD aquired by Chinese company who infiltrated Google.ch. Now more secure!

      --
      My abilities are only limited by my imagination
    22. Re:Fear by h4rr4r · · Score: 1

      I agree, I think people should not visit China while it continues this and other human rights violations. This is why I will not visit it.

    23. Re:Fear by fishexe · · Score: 2, Funny

      "Shell out a lot of money for a VPN service..." $9.95US for 1 month is a Lot of money?

      In China it is. Have you seen that exchange rate? Damn...

      --
      "I don't care about the Constitution!" --Bill O'Reilly, November 17, 2009
    24. Re:Fear by QuantumRiff · · Score: 2, Informative

      Or, if you have a linux web server (as he claims he can setup) setup SSL on there, and redirect all web traffic over the SSL Tunnel. Bonus points if he authenticates to his linux box using keys, instead of a password.

      --

      What are we going to do tonight Brain?
    25. Re:Fear by afabbro · · Score: 5, Insightful

      "Hi, I'm a college student who thinks computers are cool but I don't really get into code or anything. I run Linux because it's L33T and strikes a blow against THE MAN! BTW, I can't get the latest version of Fedora to boot, but that's another question. Anyway, when I get to China I want to connect to some site outside China that the firewall blocks. I will then come back and tell my friends how cool I am! How I am cyberpunk and stuff! Striking a blow for FREEDOM! I mean, yeah, I'd just be doing a search for Falun Gong on Google, even though I'm not really sure who they are, but still, it'd be SO L33T! I know that I'm a dangerous underground revolutionary because I'm posting anonymously on Slashdot out of FEAR OF THE CHINESE GOVERNMENT! Angela Davis ain't got nothing on me. I mean, I'm not crazy - I wouldn't invest $10 for VPN service for this, and your talk of setting up my own VPN gateway is confusing (can I just apt-get that and connect from a kiosk in the Beijing airport?). OK, actually about 95% of the time I dual boot to Windows except when progressive chicks might be walking by my dorm room, and then I switch to Linux with a big tux wallpaper..."

      --
      Advice: on VPS providers
    26. Re:Fear by QuantumRiff · · Score: 2, Informative

      Oh goodness.. I have been dealing with SSL all morning.. Of course, I meant SSH.. grr

      http://www.ubuntu-unleashed.com/2008/03/howto-create-ssh-tunnel-for-firefox-to.html

      Add squid if you are nervous about other web based tools, besides a single browser window.

      --

      What are we going to do tonight Brain?
    27. Re:Fear by Moridineas · · Score: 1

      If you don't mind my asking, are you or your family from China originally?

    28. Re:Fear by eld101 · · Score: 1

      A Linode + putty = done

    29. Re:Fear by aeoo · · Score: 1

      Besides, the Chinese and Asian in general are quite relaxed people.

      I just wanted to provide a counterpoint about the "relaxed" nature of the Chinese people, from Chinese people themselves:

      http://www.chinasmack.com/2010/pictures/guns-in-america-wal-marts-chinese-netizen-reactions.html

    30. Re:Fear by Odinlake · · Score: 1

      "I want, I want, I want - it should be fast, reliable, private etc. etc. oh but I don't want to pay for it."

      A friend in China recommends this http://vtunnel.com/, I have no idea how it stands up to all those reqs. Alt. just tunneling with SSH (u capable of that?).

    31. Re:Fear by Urkki · · Score: 1

      Most of the western quality hotels provide access to unfiltered Internet and you are most likely staying in one of those.

      Is that 'unfiltered' access also 'unmonitored'?

      I don't think there's such a thing as "unmonitored" Internet anywhere in the World, in the sense that you can be close to 100% sure it isn't monitored... The best you can hope for, is that they only get to monitor your strongly encrypted and authenticated packets, and you can probably make tracing those packets to their final destinations very difficult, especially if speed is not of critical importance. But that's it.

    32. Re:Fear by benthurston27 · · Score: 1

      Is there really any place in the world where running linux can get chicks interested?

    33. Re:Fear by tehcyder · · Score: 1

      Most of the western quality hotels provide access to unfiltered Internet and you are most likely staying in one of those.

      Is that 'unfiltered' access also 'unmonitored'?

      Here's an idea, when you go to a foreign country, try not breaking their laws. If they "monitor" you doing something illegal, tough fucking shit.

      --
      To have a right to do a thing is not at all the same as to be right in doing it
  2. Good luck! by grub · · Score: 5, Interesting


    At my workplace we have people who travel to China. On occasion VPN connections from China just stop for hours or days at at time. No hits at our VPN endpoint from China at all; the traffic is stopped upstream somewhere while everything else that is unencrypted works.

    That's the only country we have people visit where the VPN can be problematic.

    --
    Trolling is a art,
    1. Re:Good luck! by girlintraining · · Score: 1

      Use SSL proxies. There's a huge number of them, and people scan for and compile lists for new ones all the time. It's not as slow as Tor, but if you find one that doesn't use a standard port (8080, etc) it may work well for you. I use them all the time to download stuff from "geo-locked" websites like the iPlayer/BBC.

      --
      #fuckbeta #iamslashdot #dicemustdie
    2. Re:Good luck! by Anonymous Coward · · Score: 3, Informative

      I live in China. I access the Internet unhindered. I've never, in nine years, encountered a situation where only encrypted links are shut down (for even MINUTES at a time!) while everything else went through. I have experienced situations where specific backbones get so badly clogged up that *all* traffic (including, sadly, my link to my VPS) is screwed up, but never one where just the link to my VPS was down.

      That's almost a decade, folks. I'm not quite calling "bullshit" on grub here. I'm sure he's seen this problem with VPNs. I just think his techies (or grub himself) are using the Great Firewall as an excuse and not bothering to actually test things. "Oh, it's from China. Obviously the Great Firewall."

    3. Re:Good luck! by Martin+Blank · · Score: 2, Insightful

      Do you really trust using a random SSL proxy for getting out? That's likely to cause even more problems, because you almost certainly do not know who owns the proxy and what they're doing with your traffic. If the guy has to do anything sensitive like banking, his ability to do so safely has dropped precipitously.

      --
      You can never go home again... but I guess you can shop there.
    4. Re:Good luck! by Aqualung812 · · Score: 4, Insightful

      If you use a SSL proxy, make sure you note the fingerprint of the one you want to use BEFORE you go. Compare it when there to make sure you don't get a man in the middle attack.

      --
      Grammer Nazis - I mod you "troll" unless you actually add something on-topic. Yes, I know I have mispellings in my sig.
    5. Re:Good luck! by grub · · Score: 1


      Nope, we've tested as best we could. Ping and traceroutes to our VPN box failed within China somewhere, other machines here worked fine, even one that was one IP 'up'.

      We spent a considerable amount of time trying to find the problem the first time it happened as it was our Director General (read: 'god') having the problem and he was calling me from there about it.

      --
      Trolling is a art,
    6. Re:Good luck! by Amouth · · Score: 3, Informative

      i run a VPN server for several friends of mine - the whole use is to get around what ever they run into - be it China (rare but they do go there) or some lame ass university's filter..

      one of the more often used services for really locked down places is a good old SOCKS server running on 443..

      --
      '...if only "Jumping to a Conclusion" was an event in the Olympics.'
    7. Re:Good luck! by intheshelter · · Score: 2, Insightful

      So the obvious question based on your response is how do YOU access the internet unhindered? That would seem to solve the problem for the original post.

    8. Re:Good luck! by girlintraining · · Score: 1

      He's worried about the government spying, not you.

      --
      #fuckbeta #iamslashdot #dicemustdie
    9. Re:Good luck! by Cimexus · · Score: 5, Informative

      Yep, mod parent up.

      Even better, make one yourself. Grab an old box you have lying around, whack a copy of Ubuntu on it (or other Linux distro of your choice), enable SSH server and leave it running on your net connection at home. Then using PuTTY or whatever on your laptop you're taking to China, make SOCKS proxy/SSL tunnel to your home box and you are good to go.

      Free software and simple to do. Speeds are limited by the speed of your connection in China, and obviously the upstream speed of your net connection back home. But should be enough for basic browsing.

    10. Re:Good luck! by BrokenHalo · · Score: 1

      But should be enough for basic browsing.

      Exactly. Nice simple solution. The only drawback might be if you want to pull lots of video feeds, but I doubt if China is going to much trouble to block YouTube.

      I can also see lots of latency happening with VOIP, but again, I doubt if that's what the Great Firewall is blocking.

    11. Re:Good luck! by Martin+Blank · · Score: 1

      It's not an either-or situation. Negating the one risk does not mean that the other is irrelevant.

      --
      You can never go home again... but I guess you can shop there.
    12. Re:Good luck! by mzs · · Score: 1

      Simpler than SSL just get a WRT54GL install tomato on it, then ssh in with the option -D1080. Then use a sock5 proxy with remote DNS. Only use things that use tcp (disable flash and java) pop, imap, http, and https will work fine. There are even builds of tomato with VPN but supposedly China is better about blocking IPSec so you'll have a hard time guessing how to configure the VPN before you leave so that it will work reliably from China.

    13. Re:Good luck! by AHuxley · · Score: 1

      Cute for the "BBC" but not so fun for real life.
      As Martin notes, the "who owns the proxy" is the big question, or who in next door and has a shared data room?
      Some small front company might be linked into some state owned telco who is very understanding of state security matters with its trading partners.

      --
      Domestic spying is now "Benign Information Gathering"
    14. Re:Good luck! by ktappe · · Score: 1

      I live in China. I access the Internet unhindered.

      Really? Then please look up "Tienanmen Square 1989" for me. I'll wait....

      Are you still there? Oh, that's right--you won't even be able to read my post because that string and associated history pages are blocked in China.

      --
      "We can categorically state we have not released man-eating badgers into the area." - UK military spokesman, July 2007
  3. Make a proxy. by stanlyb · · Score: 2, Informative

    Have somewhere a computer with real IP, and start some proxy server. Or even some remote-control(vnc,rdp), if you have a good bandwidth.

    1. Re:Make a proxy. by AnonymousClown · · Score: 1

      ...if you have a good bandwidth.

      That's the thing, the poster didn't say where in China he's going to be. Outside of the major cities, you're in an agrarian Third World country. It's not like he can walk into an internet Cafe and plug in.

      I think the poster is going to have to use a "cocktail" of different ways of getting under the firewall - with a prayer: Spectacles, testicles, wallet and watch.

      --
      RIP America

      July 4, 1776 - September 11, 2001

    2. Re:Make a proxy. by Lumpy · · Score: 1

      run the ports on port 80 as well. it get's around almost all filtering no matter what they try to block.

      --
      Do not look at laser with remaining good eye.
  4. SSH by Hatta · · Score: 5, Informative

    SSH tunneling with SSH -D is trivial to set up. Make sure you forward DNS with network.proxy.socks_remote_dns set to true if you're using Firefox.

    I think I read that SSH can even create a virtual network device that forwards all traffic over a tunnel. Haven't had time to play with that though. That would be a great solution for every app, even those that don't support SOCKS proxies.

    --
    Give me Classic Slashdot or give me death!
    1. Re:SSH by leuk_he · · Score: 4, Informative

      Yup.

      -Setup a ssh server outside of china, always on. for windows use some port like copsshd.
      -Set ip up at an alternate port (not 22, use 443), it will obfuscate it a little bit.

      In china run ssh client, putty can do this, tunnelier has some more options
      https://calomel.org/firefox_ssh_proxy.html
      Then use proxy options of firefox to send traffic over this proxy. Be careful no to leak too much dns info.

    2. Re:SSH by richardellisjr · · Score: 4, Insightful

      I'm not sure if this is what your referring to but I use a SSH socks proxy and tsocks under linux quite a bit to allow proxy unaware apps to be use it (like RDP). The only issue I have with this setup is DNS. Since it primarily uses UDP not TCP for lookups they are all performed against the locally configured name servers not the remote. I haven't found an elegant solution for this yet but your network.proxy.socks_remote_dns config may help a lot (I've never heard of that before).

      For the original submitter, I understand your reluctance to being restricted and object to the idea of the great firewall as much as the next guy, however is completely open access really worth breaking the law there and potentially being imprisoned in China. Also keep in mind that while you may object to the concept of the firewall but you are a guest in the country and breaking any countries laws while as such is really disrespectful. If you really don't like the law don't travel there, if your trying to make some sort of political statement (which I doubt) then best of luck to you... China isn't well know for being good sports about that sort of thing.

    3. Re:SSH by Nerdfest · · Score: 2, Informative

      TSocks may be the application you're looking for. I haven't gone through the setup of it yet but it looks like it will tunnel any traffic through ssh.

    4. Re:SSH by IndustrialComplex · · Score: 1

      so keep in mind that while you may object to the concept of the firewall but you are a guest in the country and breaking any countries laws while as such is really disrespectful.

      Allow me to play the world's smallest Er-Hu.

      --
      Out of modpoints but really liked a post? 1BDkF6TtmmeZ3yqXbz9yhdYVqRYnwFoXDj
    5. Re:SSH by royallthefourth · · Score: 1

      NX is a great cross-platform remote desktop application that runs over SSH. On Ubuntu, I just installed the sshd package and the NX packages from nomachine.com and it's usable for any ssh-able user account on the machine. Just open a port on your router and maybe get a domain for it and you're ready to go.

    6. Re:ssh by Improv · · Score: 1

      P.S. Configure your browser to tunnel DNS queries over that socks proxy while using it. Firefox doesn't do it by default but can be told to.

      --
      For every problem, there is at least one solution that is simple, neat, and wrong.
    7. Re:SSH by norminator · · Score: 1

      network.proxy.socks_remote_dns is a setting in about:config in Firefox. It won't help with other apps going through tsocks. Maybe there's a similar setting in tsocks, thought?

    8. Re:SSH by zkrige · · Score: 1

      step 1: setup an aerovps server http://www.aerovps.com/ - they start @ $6.99 - 150gb bandwidth included. step 2 :setup a transparent proxy on the linux box like this "ssh -f -N -D 0.0.0.0:some_random_port localhost" then just use this as your transparent socks proxy magic

    9. Re:SSH by norminator · · Score: 4, Insightful

      While the traveler is in China it's probably not a good idea to risk legal issues with the Chinese government.

    10. Re:SSH by Hatta · · Score: 2, Insightful

      Actually, this is what I was thinking about. You get an actual entry in ifconfig, and with a little routing it should be entirely transparent to all applications.

      --
      Give me Classic Slashdot or give me death!
    11. Re:SSH by IndustrialComplex · · Score: 1

      This is independant of my lack of concern for disrespecting a culture which is violating natural rights.

      --
      Out of modpoints but really liked a post? 1BDkF6TtmmeZ3yqXbz9yhdYVqRYnwFoXDj
    12. Re:SSH by node_chomsky · · Score: 1
      OS X has command line tools that allow you to make your computer an SSH tunnel server or client out of the box, it's mainly a matter of simply configuring it. I have done this before as way of making a pretty low-key VPN. You can use whatever port you like, especially if your server at home is only providing a tunnel. Also with the SSH remote administration, you can remotely change certain parameters to fit your situation better ( i.e. a port you are trying to use might be blocked, etc. ). Additionally you can direct any and all of your IP traffic through your custom and encrypted tunnel. Further more these are very customizable and scriptable solutions, so it is possible to make a very personalized and exotic ( thus, hard to identify the nature of the traffic ) system. This is all equally accomplishable in Linux distros, typically ' out of the box* ' as well. Why trust some random Dane with your traffic when you can just make your own infrastructure* ?

      *so to speak

    13. Re:SSH by SwedishPenguin · · Score: 2, Informative

      1. ssh -ND 8080 anyserverwithssh
      2. Direct Firefox to use localhost:8080 as a socks5 proxy

      Confirmed to work in China by a friend who was recently there.

    14. Re:SSH by Cimexus · · Score: 1

      Even better, use something like Proxifier to forward ALL traffic, from ALL applications, on ALL ports through the tunnel. You are then, for all intents and purposes, using the Internet as if you were sitting where the proxy server is, not where you actually are.

    15. Re:SSH by Anonymous Coward · · Score: 1, Informative

      With SSH you can setup L3 OR L2 VPNs. In the latter case, you can use UDP over SSH with no problems (i used it once to make calls with a SIPphone via my work's gateway).

    16. Re:SSH by Anonymous Coward · · Score: 1, Informative

      This is the way I got access to Facebook and other places while I was there as a liaison between our company and our Chinese team.

      ssh -D [local port] user@host

      Firefox with FoxyProxy (so DNS requests are passed through the ssh SOCKS tunnel). Just check the "Use this proxy for all DNS lookups" box and you'll be all good.

      You can then use whatismyip.com to double-check that your requests are passing through said host.

      Obviously, make sure you know the server fingerprint before you go. And turn on your firewall if you normally keep it off because you're behind a NAT/Firewall and you're lazy like I am.

    17. Re:SSH by gknoy · · Score: 1

      China ... doesn't have laws. It has dictatorial guidelines you may be killed for not following but they aren't the same.

      I realize you're likely trolling, but I'll bite. There's no qualitative difference between laws and "guidelines you may be punished for not following". That's all a law is: a social convention which is backed by the threat of force. Whether that threat is of death, imprisonment, caning, amputation, or merely a fine is merely a matter of degree.

      You may feel it's unjust or that it's your moral duty to pursue your inalienable human rights, but what you're really doing when you enter a country is agreeing (implicity and sometimes explicitly) that you will be subject to their laws. If you go in and expect to flaunt them, at least do it with the knowledge that if caught, you are likely to be punished according to THEIR social conventions. That may mean caning for spray painting a sign somewhere, or bringing some drugs with you, or it could mean imprisinment for large numbers of years for things which your local oppressive government deems unsavory. It's [b]foolish[/b] to do any of those things, because that risk is there. This is not as low-risk as torrenting a music album.

      Someone made a point earlier about the courageous man who stood in front of tanks. He was a hero, a courageous man. He's also dead. Consider whether your goal is to make an impact on history, or whether it is to return home to your loved ones (and relative safety) without having been harmed.

    18. Re:SSH by WNight · · Score: 4, Insightful

      respect and saving face is a huge part of the culture

      And in other places they eat live eels. There's a lot of stupid shit in the world.

      While what you say may be true, to say it like that is like saying we should give them a pass for their obnoxious behavior simply because they're used to it... Shall we give racists in our home countries a free pass on their idiocy simply because it's cultural for them to be hating?

      flip the tables and say some guy wanted to view CP in the US

      Oh please do drag that stupid CP argument out here so we can kick it to death.

      The US allows brutal degradation of actresses for porn, depictions of rape and murder, actual footage of such (usually), depictions of infants being cooked and fed to dogs, etc, etc, etc. And in the middle of that they want to draw a fence around CP.

      Many token arguments are made, such as it encouraging real abuses, but they could be made for any of the rest of that cesspool. Ultimately they all fail to the brutal reality that censorship and FUD aren't security. The blind panic around CP is growing old, we can see it's not actually doing anything to protect anyone. And the censorship not only wouldn't help, and is immoral to implement, but is impossible.

      I'd support someone looking up communism when it was the panic word. How could I draw the line at some other panic word? And even if I could, how could I know I wasn't just panicking? So no. For practical and ethical reasons we can't censor even if the content disgusts, scares us, or reveals our war-crimes.

      circumventing the laws of a nation of which you are not a citizen is not only illegal

      Tautologically, circumventing any law is legal. And just as meaninglessly, breaking a law is always illegal. But is the law right? Is the nation valid?

    19. Re:SSH by BrokenHalo · · Score: 1

      While the traveler is in China it's probably not a good idea to risk legal issues with the Chinese government.

      This is a good point. Most of us in the so-called "Western World" tend to presume a degree of transparency in legal processes. This does not occur in China, and if you are even arrested, you can pretty much assume that you will be found guilty of whatever charges are brought against you.

    20. Re:SSH by icebraining · · Score: 1

      I can understand wanting to bet on the safe side, but I think you overestimate the their state's reaction to a foreign bypassing the Wall.

      The Wall is more designed to keep people in the dark than anything else - there are plenty of people that bypass it and they don't "disappear" or anything like that.

    21. Re:SSH by klui · · Score: 1

      I've done this while I have been in China but for some reason the ssh connection will generate a socket error on read after as soon as a minute after I've established the connection. Perhaps it is SSH's inflexibility with unreliable connections; using a MS PPTP-based remote VPN connection worked much better. I also tried L2TP connections and they worked well, too.

      Anyone know how to tune ssh for (presumably) unreliable/spotty net connections?

    22. Re:SSH by WNight · · Score: 1

      There's no qualitative difference between laws and "guidelines you may be punished for not following".

      Laws are based on the mandate of those subjected to them.

      Anything based on or supported by censorship is a dictate as the public is by definition denied meaningful input.

      It's foolish to do any of those things, because that risk is there. This is not as low-risk as torrenting a music album.

      Exactly. And that's why it's foolish not to disobey. Not to flaunt the bits they're watching, but for instance to look up the abuses of the state that they hide from their own subjects before you go there.

    23. Re:SSH by grainofsand · · Score: 1

      Not quite. The Entry and Exit Regulations only require visiting foreigners to have a medical examination if you intend at the time of entry to work in China for a continuous period of more than 90 days. Short-term business travellers and tourists are not required to complete the medical examinations.

      --
      A dream is good. A plan is better.
    24. Re:SSH by dickens · · Score: 1

      First, see here.

      Then, consider that the net effect of legalism is this: Laws are very strict and punishments brutal. Then the laws are largely ignored and unenforced. This gives those with power, from local law enforcement on up, the ability to inflict any degree of suffering on anyone at any time for any reason. And they'll only be following the letter of the law! Get it?

    25. Re:SSH by tehcyder · · Score: 1

      Is the nation valid?

      I tell you what, why doesn't the US just invade China, as regime change is now a legitimate casus belli?

      --
      To have a right to do a thing is not at all the same as to be right in doing it
    26. Re:SSH by tehcyder · · Score: 1

      This is the way I got access to Facebook

      The Chinese government is doing something right if it's blocking Facebook.

      --
      To have a right to do a thing is not at all the same as to be right in doing it
    27. Re:SSH by WNight · · Score: 1

      Is the USA a valid nation? They've got their own domestic spying, censorship, unjust wars, and failed elections.

  5. Is ssh blocked? by WhiteDragon · · Score: 1

    if not, do

    ssh -D 9999 my.home.machine

    then use localhost port 9999 as the SOCKS proxy.

    --
    Did you mount a military-grade, variable-focus MASER on an unlicensed artificial intelligence?
    1. Re:Is ssh blocked? by DoctorNathaniel · · Score: 4, Informative

      I have done this from Beijing and it worked the week I was there.

      FoxyProxy is a nice add-on to use for this, since it allows you to either whitelist specific sites for use through the proxy, or to simply switch back and forth to the proxy as you need.

    2. Re:Is ssh blocked? by Daimaou · · Score: 1

      Even if it is blocked, you can use corkscrew to circumvent it.

    3. Re:Is ssh blocked? by WhiteDragon · · Score: 1

      does corkscrew use CONNECT? If so, it won't even get past my proxy at work unless the server in question is using port 443. That's not hard to do, but it still is annoying to listen to ssh on port 443, if you want to also serve https on the same server.

      --
      Did you mount a military-grade, variable-focus MASER on an unlicensed artificial intelligence?
    4. Re:Is ssh blocked? by joe_frisch · · Score: 1

      I used a SSH tunnel from a western hotel in Shanghai and another in Beijing in the fall of 2009. In this case the requirement was to tunnel into my US work account, not bypass the firewall. As far as I know though, this would have had the side effect of bypassing the firewall. I also did some non-tunneled web surfing when I was in China. I didn't notice the firewall, but I didn't try to go anywhere suspect.

      I agree with the above poster - foxyproxy works very well.

      In general its not a good idea to break the law in a foreign country. Unless you are familiar with the legal system you can find surprisingly severe penalties for crimes that are trivial in your home country. I had no problems in China and very much enjoyed my time there, but I would not mess with the Chinese government unless I was trying to make some political point - and was willing to suffer to make it.

  6. Run your own secure proxy by Event+Horizon · · Score: 1

    Presumably you have broadband internet at home. Set it up as a gateway and encrypt all traffic through it.

    Regardless, you are not likely to have fast internet access in China, or at least not *consistent*, fast internet access. In my experience, quality of internet connectivity there is very touch-and-go.

    --
    You don't need a weatherman to know which way the wind blows. - Bob Dylan "Subteranean Homesick Blue
    1. Re:Run your own secure proxy by postbigbang · · Score: 1

      This only works if there's an assured/static IP address on the home network. Lots of them change and you never really realize it unless you're doing home access.

      With home access, you'll need to setup a port proxy if you're using a router. May I suggest the above mentioned SSL proxies are great and easy to setup, but set them up on a port NOT 443 (so it doesn't get pounded by cracks) somewhere above 8000; little else is up there to interfere.

      Then use a VNC client to get a remote desktop screen (or similar protocol) so that you can just send screens back and forth, rather than cram the connections with bidirectional traffic. Think VDI/remote desktop. It's not good for video, but non-latency sensitive apps ought to work without a hitch, and while your screen might paint oddly from time to time, at least you're able to use dicey connections (or oversubscribed ones, like free wifi hotspots).

      --
      ---- Teach Peace. It's Cheaper Than War.
    2. Re:Run your own secure proxy by alieneye · · Score: 2, Informative

      See http://www.dyndns.org for getting around dynamic IPs from your ISP.

    3. Re:Run your own secure proxy by bigrockpeltr · · Score: 1

      This only works if there's an assured/static IP address on the home network. Lots of them change and you never really realize it unless you're doing home access.

      That what dynamic DNS is for.
      e.g DynDNS

      --
      $ unzip, strip, touch, finger, grep, mount, fsck, more, yes,fsck,fsck,fsck,umount, sleep
    4. Re:Run your own secure proxy by postbigbang · · Score: 1

      Groovy. Try updating Comcast that way.

      --
      ---- Teach Peace. It's Cheaper Than War.
  7. Screenshare by bobdotorg · · Score: 4, Interesting

    Before leaving, set up a computer with decent upstream bandwidth and VNC / screen share. Pretty simple, and only shows a connection to that one IP address. If you use OSX it's a 30 second setup in sharing preferences, and I'm sure that there are windows and Linux equivalents. You may need to tweak the ports to get under the Great Firewall.

    However, one significant drawback (with the OSX solution) is that audio is not streamed. Another is lag with slow / far connections.

    But it will get you the full net.

    --
    __ Someday, but not this morning, I'll finally learn to use the preview button.
    1. Re:Screenshare by ckthorp · · Score: 3, Insightful

      I vote for this strategy because then no contraband will ever be present on your computer in China. Nothing on the computer, nothing for authorities to find in your cache or via deleted file recovery.

    2. Re:Screenshare by the_one(2) · · Score: 2, Interesting

      A friend's friend for whom I set VNC up for it didn't work to well. The connection was heavily throttled and to slow to be useful.

    3. Re:Screenshare by dintech · · Score: 2, Interesting

      Yes, when I was in Japan the lag to Europe made logmein and VNC a bit of a chore to use. Some kind of tunnelling will make for a better user experience in my opinion.

    4. Re:Screenshare by cybernanga · · Score: 1

      Pretty simple, and only shows a connection to that one IP address.

      If you do this, and you really are concerned about the Chinese Government, it might also be a good idea to set up a website at the same IP address.

      Make it something innocent, like a blog, or holiday photo album, and don't post anything even vaguely subversive, just post pics of obviously touristy stuff, and comments on how friendly the chinese people are. If you want to go the extra mile, post how "surprised" you are that China is a modern well functioning society full of happy people, where nothing ever goes wrong.

      That way, if you are picked up by the authorities, you now have a valid, provable and completely innocuous explanation for why you were only ever connecting to that one IP address. /removes tinfoil hat

      Disclaimer: I have lived in a third world country, and been involved in activities that certain governments would consider subversive. It is ALWAYS a good idea to prepare you alibi BEFORE you start engaging in mischief. No use trying to think of one once you get caught, no matter how smart you may be, the stress of getting caught turns your mind to mush.

      --
      www.Buy-Proxy.com - A "buyer-driven" global marketplace.
  8. Really? by DJ+Jones · · Score: 1, Insightful

    How about just suck it up and deal with it. Unless you need to look up "Tiananmen Square" every 10 minutes, it really shouldn't be a problem. They filter state secrets and political opinions, not your twitter traffic.

    1. Re:Really? by flippy10 · · Score: 5, Informative

      http://en.wikipedia.org/wiki/List_of_websites_blocked_in_the_People's_Republic_of_China Those definitely all sound like sites chock full of state secrets.

    2. Re:Really? by ta+bu+shi+da+yu · · Score: 2, Funny

      My political opinions are state secrets that I communicate over twitter, you insensitive clod!

      --
      XML is like violence. If it doesn't solve the problem, use more.
    3. Re:Really? by djsmiley · · Score: 1

      So.... not a search engine like http://www.google.com/ then?

      --
      - http://www.milkme.co.uk
    4. Re:Really? by Darkness404 · · Score: 1

      And that page really needs to be updated...

      China randomly blocks and unblocks pages for no real reason, one day something may be totally unblocked and the next day its blocked.

      --
      Taxation is legalized theft, no more, no less.
    5. Re:Really? by ArsenneLupin · · Score: 1

      Unless you need to look up "Tiananmen Square" every 10 minutes, it really shouldn't be a problem.

      And even then, it wouldn't be a problem. As a simple anti-spam deterrent, we've got "Remember Tienanmen" in the greeting string of our sendmail. But we still get loads of Chinese spam.

      A couple of years back, there were loads of lists of open proxies circulating around. Many were located in China. Out of curiosity, I connected through one of these, and started googling for Tienanmen, Tibet, and other assorted keywords. All sites were accessible... So, if there is a Great Wall of Fire, it must be very leaky.

    6. Re:Really? by BobMcD · · Score: 5, Insightful

      While not necessarily the best tone in the world, I actually agree with DJ Jones here.

      Here's your decision tree:

      1) Is the website you want to see worth defying the laws of your hosting nation?

      2) Is absolutely no way you can do without it until you come home?

      3) Do you have some kind of diplomatic immunity, wealthy connections, etc that can extract you from a sticky situation?

      You get the picture.

      Imagine this post on the Arabian Slashdot:

      I am getting ready to travel to the United States and don't want it to interrupt my terrorist training. Can you guys recommend a way around the DHS's websniffing protocols, eavesdropping, cellular tracking, etc?

      And what would your advice be??

      Opportunistically, if you gave advice about methods, would you feel bad if he landed in Gitmo?

      Think about the implications. After all, it is only the internet and you don't live there. Think deeply.

    7. Re:Really? by pongo000 · · Score: 1

      At the least, do your research:

      http://en.wikipedia.org/wiki/Internet_censorship_in_the_People's_Republic_of_China#Enforcement

      Sounds like the parent is on to something here...

    8. Re:Really? by Hadlock · · Score: 2, Insightful

      My buddy lived in China (Beijing) for two years. At least as of 2008, accessing the english internet was either a) slow as hell or b) largely firewalled off. Major news sites, useful tools (particularly to a power-user) and a whole host of things we take for granted either had limited availability or simply couldn't connect to the US server. As I understand it, it's gotten worse, not better since then.
       
      Case in point: Appreciate what you have here in the US of A. You have it really, really good here.

      --
      moox. for a new generation.
    9. Re:Really? by Tei · · Score: 1

      I say... fight!.

      We are the good guys, China is the one that is oppressing his people, diseminating information about how to break the china firewall... all firewalls, adds freedom to this world.

      And this may put people on jail, but we are not to blame, but a unjust system on china!. :-(

      --

      -Woof woof woof!

    10. Re:Really? by Palpatine_li · · Score: 1

      You are aware that even mail.google.com gets blocked once in a while?

    11. Re:Really? by spikenerd · · Score: 1

      If you scare a man into fearing consequences until he will no longer stand for good, you only degrade society a little bit.
      ...but if you teach everyone on Slashdot to think of themselves, and never stand for good, you harm society for many lifetimes.

    12. Re:Really? by berzerke · · Score: 1

      A couple of years back, there were loads of lists of open proxies circulating around. Many were located in China. Out of curiosity, I connected through one of these, and started googling for Tienanmen, Tibet, and other assorted keywords. All sites were accessible... So, if there is a Great Wall of Fire, it must be very leaky.

      Tin foil hat time. They may have been honeypots run by the Chinese government for at least two reasons. First, anyone in China using one of these to access restricted information (by Chinese government standards) can be tracked and gets a free visit to a "re-education" center. Second reason could be economic espionage. Can we pick up interesting info to pass on to Chinese companies???

      In both cases, they want the site to be open as a closed or restricted site won't get the traffic an open one will. More traffic, more useful info.

    13. Re:Really? by BobMcD · · Score: 1

      I say... fight!.

      And if you live in China, I agree! Not so much if you're just visiting, though.

    14. Re:Really? by BobMcD · · Score: 2, Insightful

      You are aware that even mail.google.com gets blocked once in a while?

      Risk/reward would still apply. All you're doing with this use-case is increasing the value of the website. The calculation still needs to happen in your head.

    15. Re:Really? by BobMcD · · Score: 1

      If you scare a man into fearing consequences until he will no longer stand for good, you only degrade society a little bit. ...but if you teach everyone on Slashdot to think of themselves, and never stand for good, you harm society for many lifetimes.

      My caveat was subtle, but I'll underscore it.

      Stand for good at home. Be a good guest when you're visiting. If you come across something completely abhorrent to your system of values, come home ASAP.

      Again, when at home, fight like hell and give no quarter.

    16. Re:Really? by Hatta · · Score: 1

      Have any westerners ever actually been punished for circumventing the firewall? I think instead the Chinese government regularly goes out of its way to appear more open to westerners, and will even open up the firewall for them on special occasions. I doubt they would want to cause an international incident over a foreign worker who just wants to read /. unfettered.

      --
      Give me Classic Slashdot or give me death!
    17. Re:Really? by houghi · · Score: 1

      I am getting ready to travel to the United States and don't want it to interrupt my terrorist training. Can you guys recommend a way around the DHS's websniffing protocols, eavesdropping, cellular tracking, etc?

      See that you have a portable and best also MAC spoofing software. Then just use any wireless connection you can lay your hand on. This can be some person who forgot to place security on his connection, or places that do this on purpose.

      Then use the same identical ways that you use at home as they are already sniffing your conection, eavedrop and monitor your cellphone.

      Oh and considering your online terrorist training: despite what you might think killall will not do what you think it will.

      --
      Don't fight for your country, if your country does not fight for you.
    18. Re:Really? by BobMcD · · Score: 1

      Have any westerners ever actually been punished for circumventing the firewall?

      And while that's an excellent point, and certainly part of the risk/reward calculation - would you want to be the first?

    19. Re:Really? by WNight · · Score: 1

      Of course that's where it'd be most relevant to read about Tiananmen Square if you'd never heard about it until catching hints of buried controversy. You'd go google - err, something patriotic - for hints and run right into the wall and onto a watchlist.

      So yeah. Keep your head down and don't read about anything china/history related while there because who knows what's going to freak someone out. It's not exactly like they'll make a nice list of forbidden subjects so that you could stay safe.

      It's mostly moot though. They want foreign money so you're unlikely to really suffer even if caught. Yay diplomatic immunity. Pity the locals.

    20. Re:Really? by fishexe · · Score: 2, Informative

      How about just suck it up and deal with it. Unless you need to look up "Tiananmen Square" every 10 minutes, it really shouldn't be a problem. They filter state secrets and political opinions, not your twitter traffic.

      Actually, when I was there Facebook and Youtube were the big site being blocked. Twitter has been blocked, off and on, for the last 8 months or so.

      --
      "I don't care about the Constitution!" --Bill O'Reilly, November 17, 2009
    21. Re:Really? by he-sk · · Score: 1

      Oh and considering your online terrorist training: despite what you might think killall will not do what you think it will.

      It does on Solaris.

      --
      Free Manning, jail Obama.
    22. Re:Really? by vaporland · · Score: 1

      Opportunistically, if you gave advice about methods, would you feel bad if he landed in Gitmo?

      and, since you're giving advice to a terrorist, will you feel bad when you land in Supermax?

      --
      Ask Me About... The 80's!
    23. Re:Really? by moonbender · · Score: 1

      Well, when I was there, mostly stuff just worked. German news web sites were no problem, and some major English news web sites (BBC etc) also worked most of the time. Google Mail also worked (obviously I reset my password). Notably, this was during the most recent major upheavals in Tibet. It was extremely slow, though, I give you that. However, we were using the web terminals at hostels, so that might have been a factor, I'd expect the net access at a hotel costing in excess of 10x to be more reliable.

      --
      Switch back to Slashdot's D1 system.
    24. Re:Really? by tehcyder · · Score: 1

      Imagine this post on the Arabian Slashdot

      With a naked and petrified Natalie Portman covered in hot grits. In a burkha.

      --
      To have a right to do a thing is not at all the same as to be right in doing it
  9. Anonymous? by Hoi+Polloi · · Score: 4, Funny

    Just change your online name to "FreeTibet". They'll never notice.

    --
    It is by the juice of the coffee bean that thoughts acquire speed, the teeth acquire stains. The stains become a warning
    1. Re:Anonymous? by Krneki · · Score: 1

      Oj, and register free.tibet.something for the SSH proxy too. :)

      --
      Love many, trust a few, do harm to none.
    2. Re:Anonymous? by DMUTPeregrine · · Score: 3, Funny

      ...Only with purchase of second Tibet of equal or greater value.

      --
      Not a sentence!
  10. Ummmm... by Anonymous Coward · · Score: 5, Insightful

    I suggest that you play nice with China's laws if you are going to China. Trying to bypass their firewall as a foreigner traveling there is more likely to attract the sort of attention you don't want than anything else. As you said, you're just going to be there for a few weeks. Do you *really* need to search for the kind of stuff they filter out while you are there?

    My wife travels regularly to China for work. We are very careful about our conversations on the phone when she's there, and about the emails we send when she's there. I sure as hell would never advise her to try to bypass their firewall.

    If you are a Chinese freedom activist, by all means, you know what you're getting into, bypass away. I support the people of China in their efforts to access the whole internet, to speak their minds, to be as free as they care to be.

    If you are a Westerner visiting, I'd suggest you just hold your horses there bucko and deal with the internet you can get from your hotel room and don't make yourself look more suspicious than you actually are. You really, really don't want anybody to think you are doing anything against Chinese interests while you're there. Seriously.

    1. Re:Ummmm... by tthomas48 · · Score: 3, Insightful

      Yes. Remember the US government is under no obligation to get you out of prison for trying to subvert their firewall. Most of the time if you commit an obvious crime in another country, the US is more than happy to let you serve your time.

    2. Re:Ummmm... by Leperous · · Score: 1

      Methinks you're acting a bit OTT - not that that's a bad thing, natch - during a 2 week visit to China a couple of years ago I quite openly slagged off the government in e-mails (routed through Gmail) and nothing ever came of it.

    3. Re:Ummmm... by cyfer2000 · · Score: 1

      My brother in law has been watching youtube everyday from Beijing via Tor or VPN for years. Nothing has happened so far.

      --
      There is a spark in every single flame bait point.
  11. SSH + Squid by Wonko+the+Sane · · Score: 1

    Keep your home computer run at home with SSH listening to a non-standard port (80 or 443 are good choices).

    If you're going to be using Windows computers in China take a USB thumbdrive with you with a copy of PuTTY installed.

    Forward ports 53 and 3128 and set your web browser proxy and DNS settings appropriately.

  12. remote desktop by circletimessquare · · Score: 2, Interesting

    if on windows, set up your home computer to accept incoming rdp requests (and configure your router to pass that port to the right machine), and leave your home computer on the whole time

    login remotely, and surf anywhere you want

    --
    intellectual property law is philosophically incoherent. it is your moral duty to ignore it or sabotage it
    1. Re:remote desktop by dave420 · · Score: 1

      That middle link shows that RDP 6 is pretty secure.

    2. Re:remote desktop by Darth_brooks · · Score: 1

      The safer solution is to open RDP but tunnel in to your home network over SSH.

      Alternately, if you're opening RDP do it behind a nat gateway and forward an unregistered port (like 54321 for example) on the gateway to 3389 on your machine. Forwarding unregistered ports doesn't make the underlying service any more secure, but it cuts down on the number of drive-by hack attempts. I've got SSH servers that have been exposed to the web for years that have *never* had an unauthorized login attempt simply because of the port they sit on. If I put a server out there on port 22, within a day or two those logs are full of brute force attempts.

      --
      There are some people that if they don't know, you can't tell 'em.
    3. Re:remote desktop by TheLink · · Score: 1

      Uh, I do read the articles. Maybe you don't read them the way I do. I recommend you never expose stuff with such a poor security track record to the world. The flaws were so bad that 2 years isn't enough time for me to be sure that the people involved in that product have really learned from their mistakes. Not just fix flaws others point out- but actually do things right.

      Maybe they have finally got RDP right. But I'm not going to bet my systems on that, or recommend others to.

      Anyway, if you or others still want/have to use it "exposed", I suggest changing the port to something else, so at least the normal automated stuff won't hit it.

      --
    4. Re:remote desktop by TheLink · · Score: 1

      Where? Which part? All I see is: "IN RDP version 6.0 the man-in-the-middle-attack is no longer possible!".

      All that shows is RDP 6 is not as terribly broken as the previous versions. To me it certainly doesn't show that RDP 6 is pretty secure.

      "Car 6.0's steering wheel doesn't come off anymore!" doesn't mean that Car 6.0 is pretty safe.

      RDP's abysmal security track record doesn't give me confidence that they've finally got "enough things" right.

      --
  13. Re:Really? Yes Really. by malloc · · Score: 1

    it really shouldn't be a problem. They filter state secrets and political opinions

    Have you ever been there?

    I've spent a total of 3 months in the last several years. In actual practice they block tons of things you want. (e.g. Wikipedia, last time I was there in 2007).

    --
    ___________________ I want to be free()!
  14. Private Proxy? by The+MAZZTer · · Score: 1

    The best solution may be to set up a private proxy such as CGIProxy on your own web server behind HTTP auth. Then access it via HTTPS only (on slashdot I think I read a story where someone's site was blocked for such a proxy... using HTTPS greatly reduces the chance of that). I think there was speculation on slashdot a while ago that the Chinese government could probably issue signed SSL certs if they wanted to and thus easily perform man-in-the-middle attacks. You should probably check to be sure the cert matches what you expect (especially the issuer) before using your proxy. Also if you know of a site that has a bad SSL cert (self-signed, etc) if it's suddenly valid while in China that could be another warning sign.

    There's also Tor but it is quite blockable by blocking connections to its dictionary servers, so I'd be surprised if it worked in China.

  15. SSH as a solution by segin · · Score: 2, Informative

    This is a really simple problem to solve.

    Keep a box at home, run Linux/*BSD/whatever on it. Have SSH on it. Run SSH on a "common" port that's not 22. 21, 23, 56, 69, 80, and 443 are good candidates. For good measure, keep a small web-based admin util on some other common port (with SSL!) in case you guessed the SSH port wrong.

    Use SSH as a proxy. I forgot exactly how to acomplish this on *nix but on Windows... Use PuTTY. Connection -> SSH -> Tunnels. Set a random source port (which is what port you connect to on your local machine) and select the "Dynamic" option. IPv4/IPv6 option should stay to default "Auto". An entry in the list should read something like D12345 where 12345 is the port. Use localhost:port as a SOCKS proxy.

    And for *nix, there's this guide that should for for all OSes with standard ssh: Guide!

  16. China asks Slashdot how to catch hungry minds by Sleen · · Score: 3, Funny

    So when China asks slashdot how best to catch people circumventing their firewall, how would they do it? They might pretend to be a western touron visiting their fair nation and asking some innocent questions about firewall circumvention. If any of these methods are effective, they are likely to cease being effective now that they are widely published. Either way, the anonymity of the poster prevents direct help and indicates perhaps a clever approach to hardening the firewall.

    1. Re:China asks Slashdot how to catch hungry minds by segin · · Score: 1

      Except the only seriously effective method mentioned here is already widely known. SSH tunneling, duh! They don't need Slashdot to figure that out!

    2. Re:China asks Slashdot how to catch hungry minds by Tsunayoshi · · Score: 4, Insightful

      Hey, if all information wants to be free, it will be free for everyone, including the "bad guys".

      --
      "Get a bicycle. You will not regret it, if you live." - Mark Twain, "Taming the Bicycle"
    3. Re:China asks Slashdot how to catch hungry minds by Thiez · · Score: 1

      Yes, because the IT experts in China are all complete retards and they have never heard of SSH/Tor/whatever... no only us smart people from the west know and understand about these tools...

      Have you considered that China probably knows about every method mentioned in the responses and probably some more? It's likely that they've decided that things like ssh filtering are too hard, or that they're not really worth the hassle, or that the prototype of their new ssh-block-o-tronic (made from the souls of dead puppies) is simply not quite ready yet (but will be any week now).

      I seriously doubt any response here is going to contribute to their firewall and you're probably way too paranoia.

    4. Re:China asks Slashdot how to catch hungry minds by rindeee · · Score: 1

      For the most part, they (not just China, but most countries that try to control content) go after low hanging fruit. There are indeed a couple of ME countries that employ high-end Narus filters which, if managed and updated near real time, could pretty well block any means of bypass. The reality of implementation however is that it's just not worth the time investment. Typically with a bit of tweakery one can manage to use SSH, OpenVPN, an SSL proxy or some other form of obfuscation to circumvent the filters.

    5. Re:China asks Slashdot how to catch hungry minds by Ecks · · Score: 1

      All network admins operate in the political domain. Several people here have mentioned that SSH forwarding works in China as I'm sure it does in Iran and Pakistan. Standard SSH on port 22 may just be too useful a tool socially and economically to block. As a consultant I find it rare to visit a shop that blocks SSH anymore even though most of the security admins that I know are well aware that with Putty you can forward any port inside to any port outside as you wish. Of the admins that I meet, most shrug this off as a non-problem saying:I know that users can circumvent any block on my firewall using SSH and port forwarding but the vast majority of my users don't have the arcane knowledge to do that.

      We might not be the right people to ask since anyone on Slashdot could find Putty and the right configurations to do this in 15 minutes of searching on Google. And that assumes that the person asking is stuck on MS Windows. In Linux or OS X it's built into the OS.

      I'd disagree that SSH is the best way to do this. A VPN is better because using a VPN allows you to hide in a class of users that the attacker wants to court and curry the favor of. The Chinese government wants our business so they must consent to our business people using strong encryption on our communications back home. SSH forwarding is one way to do this but a VPN is a much more common part of corporate IT security policy. If SSH is socio/economically difficult to block, a VPN is even more so.

  17. SSH tunneling by rwa2 · · Score: 1

    Meh, I'd just simply chalk it up to part of the cultural immersion, to experience the internet the same way the locals do. Ask the Chinese at internet cafes, they'll probably be more than happy to point you to the workarounds they use.

    For my part, I'd simply run ssh back to my box and run "links" to do searches from home.

    With a little more effort, you could do SSH+TightVNC or TigerVNC to extend your home desktop... performance is actually pretty decent even with modem-like uplinks.

    With a bit more effort, you could create an ssh tunnel to your home squid proxy server. But then you start leaving traces on your client machine in China... unless you boot it from a LiveCD or LiveUSB something. Try Knoppix or Linux-Mint, though you might need to remaster them to make sure you have all the apps you want.

    Also, if ssh is blocked for some reason but you still have web proxy access, you can try installing ajaxterm to get a shell on your machine via https.

    Have fun!

    1. Re:SSH tunneling by Anonymous Coward · · Score: 1, Insightful

      "Ask the Chinese at internet cafes, they'll probably be more than happy to point you to the workarounds they use."

      I really rather doubt they will. You don't seem to understand how the chinese system of control works. From what I have read very recently from multiple sources, nobody is going to want to be openly seen explaining anything like this, in case they get asked to go drink tea with the police. Also the internet cafés don't work the way free wifi from starbucks works; they aren't just businesses connecting to the internet with central control. The internet cafés are part of the system of little-brother surveillance; they are forced to be.

      If you, the OP, or anyone reading this ever goes to China, for the love of all that is good, don't ask a Chinese citizen to help you break the laws of their country; the consequences for them are worse than they will be for you.

  18. How much is it worth to you? by damn_registrars · · Score: 1

    You said you'd only be there for a few weeks, and you wouldn't be using the computer that often. Are you sure you can't live without some parts of the internet under those conditions? If it's really that important to you, then perhaps you should restrict your travels to Hong Kong and Taiwan instead of mainland China?

    After all if the firewall is the law, subverting the firewall may be illegal; which could lead to your stay being longer than expected ...

    --
    Damn_registrars has no butt-hole. Damn_registrars has no use for a butt-hole.
  19. Re:Tor, maybe? by tomz16 · · Score: 4, Funny

    As long as we are going with "things the original author specifically discounted in his post", I think he should purchase VPN service...

  20. Going on a pron hunt. by Anonymous Coward · · Score: 1, Funny

    I'm going on a porn hunt
    I'm not a afraid.
    I got some good business partners.
    By my side.
    Oh. Oh.
    What do I see.
    Oh look! It's a Chinese Firewall.
    Can't go over it.
    Can't go under it.
    Can't go around it.
    Got to go through it.

    (First thing I thought of)

    1. Re:Going on a pron hunt. by 0100010001010011 · · Score: 1

      I'm going on a porn hunt
      I'm not a afraid.
      I got some good business partners.
      By my side.
      Oh. Oh.
      What do I see.
      Oh look! It's a Free! Advertisement.
      Can't go over it.
      Can't go under it.
      Can't go around it.
      Got to go through it.

      Oh,oh! It's dark in here.
      I feel something
      It has lots of hair!
      It has ... what is this!
      It's a tranny!!

      Close the browser, back through the paywall, back through the firewall, lock the door, safe under the covers.

  21. try to use SOCAT. by stanlyb · · Score: 1

    Another very good solution is to use this little multipurpose relay netcat++: http://www.dest-unreach.org/socat/ They are saying that you could tunnel even a VPN traffic, with just one simple command.

  22. Happens exactly the same with the good ole' USA by ArsenneLupin · · Score: 2, Interesting
    A friend of mine is working for a supplier of automotive parts with (at the time) two branch offices in Luxembourg, and one in the United States (Detroit).

    All 3 are linked together with a VPN.

    And just after the planes struck the buildings on 911, the VPN with Detroit mysteriously went down. Unencrypted connections continued working as if nothing happened (so it's not a case of a router being located physically in WTC, or whatever). A couple of days later, all was back to normal. No explanation ever followed.

    1. Re:Happens exactly the same with the good ole' USA by chill · · Score: 1, Funny

      Cool! Do you happen to have another anecdote to add to the grand pile of once in the last, what, 9 years?

      Anything? Bueller?

      --
      Learning HOW to think is more important than learning WHAT to think.
    2. Re:Happens exactly the same with the good ole' USA by amorsen · · Score: 1

      I don't believe you. Well I do believe that it happened, but I don't believe in the implication that the US blocked encrypted connections. There would have been WAY more than one report of this.

      --
      Finally! A year of moderation! Ready for 2019?
  23. Ask Slashdot: How to Break the Law by Anonymous Coward · · Score: 2, Insightful

    Sorry, but that's what this is. The internet is regulated by the Chinese government, it's kind of asinine to ask users how to circumvent and break Chinese laws.

    When you're in another country or in someone else's home, you follow and abide by their rules. It's not just being respectful, its good manners.

    The Great Firewall sucks, but that's how they roll. Just suck it up and deal with it.

  24. Please don't try this. It isn't worth it. by Liambp · · Score: 1

    Are you seriously willing to risk a stay in a Chinese prison just because you can't do without your internet fix for a few days? If you lived in China then trying to bypass the firewall might be conceived as a heroic gesture against oppression but for a tourist to risk it is just foolishness.

  25. Stop being cheap by Evildonald · · Score: 1

    "I want something that has great performance but i don't want to pay any money for it"

    Shell out for a VPN connection already.. iPredator is very cheap and encrypts your whole network connection.

  26. Forget About Speed by malloc · · Score: 3, Informative

    ... while ... enjoying sufficient speed?"

    Unless they've opened a few new trans-pacific pipe connections since I was last there, forget about speed. Maybe it was just my ISP (Great Wall, ha) but within China you can get nice (e.g. 750kb/s) speed but the moment you cross the pacific your latency is killer and you're crawling at 5-10kb/s. This is using corporate VPN or without. I suspect the actual throughput is a result of active throttling by the State. In terms of restricting general information, making something extremely painful is nearly the same as blocking it.

    --
    ___________________ I want to be free()!
  27. Dear Slashdot " how do i commit a crime" by nurb432 · · Score: 4, Insightful

    What you are asking is illegal there. If you get caught bad things will happen to you. Is it really worth the risk for a couple of weeks? Are you THAT addicted?

    --
    ---- Booth was a patriot ----
  28. Cheap Colo/Virtual Host by Spansh · · Score: 1

    Get yourself (if you don't already have) a cheap colo/virtual host. Then just use SSH with the-D option, and set your browsers proxy to a socks proxy on localhost.

    Thats what I always do at when there are network issues (firewall, throttling, shaping).

  29. What about your laptop ? by mbone · · Score: 1

    I know of large US companies that do not allow executives to take their laptops into China, as they assume that its contents will be read (at the border or elsewhere). So, they get a sanitized laptop for the trip. Sounds extreme, but there have been cases of industrial espionage in the past.

    1. Re:What about your laptop ? by networkBoy · · Score: 1

      We do that for almost anyone traveling there, not just execs.
      Execs get new laptops of the same model they normally use. Plebs get still functional, but previously waterfalled equipment that can be tossed out when it comes back.

      --
      whois gawk date unzip strip find touch finger mount join nice man top fsck grep eject more yes exit umount sleep dump
  30. Lay all the secrets out here... by pongo000 · · Score: 1

    ...so the Chinese government can make their Great Firewall better!

    Seriously, does this person believe that /. readers are so gullible that they will lay out their best-kept secrets here? Or how do we know that you aren't a Chinese operative trying to mine the collective wisdom of /.?

    In fact, if you need to ask, you probably don't need the "unadulterated, unfiltered" Internet as much as you think you do. Go, enjoy your trip. The Internet will be there when you return.

  31. Don't bring a good computer by IndustrialComplex · · Score: 1, Insightful

    I advise you to also bring a 'throw-away' computer, unless you keep your current computer with you at all times. Depending on your business, if you leave your computer behind somewhere (hotel room, security) you may return to find it perfectly fine, maybe even with a bit extra hardware or software if you get my meaning.

    At the very least, be prepared to wipe it clean when you get back home.

    --
    Out of modpoints but really liked a post? 1BDkF6TtmmeZ3yqXbz9yhdYVqRYnwFoXDj
    1. Re:Don't bring a good computer by wvmarle · · Score: 1

      Come on stop being ridiculous here.

      For starters instead of spreading FUD please give some links to reliable sources giving evidence of anything like that happening to normal business people, excluding "dangerous" types like politicians or journalists.

      I would expect this risk is there as well, if not worse, when entering the US with their border searches of laptops. Who says they do not add anything to it during the "search"? Or what about US government mandated back doors in Windows? Then you don't even have to be in the US for them to be able to hack your computer. And yes the Chinese may also find out about those back doors but who says MS doesn't patch one and introduces another secretly during their regular patches?

  32. Re:Ask Slashdot: Civil Disobedience by Darkness404 · · Score: 3, Insightful

    But when the law unfairly restricts your natural rights, then the breaking of that law is completely justified, hell, armed revolution in the case of China is very much justified for the Chinese people.

    That said, I'm not sure if I'd really do it in China as a tourist, not that they'd probably do much (China gets western businessmen all the time) but I just wouldn't want to take the risk unless.

    But really, if a law is unjust and violates natural rights, you have every right to break it, some may say you even have a responsibility to break it because by not breaking it you in essence prop the law up.

    --
    Taxation is legalized theft, no more, no less.
  33. Hardly a common example by Anonymous Coward · · Score: 1, Insightful

    A friend of mine is working for a supplier of automotive parts with (at the time) two branch offices in Luxembourg, and one in the United States (Detroit).

    All 3 are linked together with a VPN.

    And just after the planes struck the buildings on 911

    Lets stop right there.

    A single event, nine years ago, precipitated by an attack by foreign nationals on the United States.

    You're using the example of (presumably) the US Government shutting down encrypted Internet traffic during a time of national emergency to support a claim that VPN traffic in the USA is unreliable.

    That's just pathetic.

    1. Re:Hardly a common example by LordKazan · · Score: 1

      and the service interruption was probably caused by the fact that a lot of network equipment driving the transatlantic link was in the WTC FFS!

      --
      If you cannot keep politics out of your moderation remove yourself from the Mod Lottery.. NOW!
    2. Re:Hardly a common example by Magada · · Score: 1

      Yes. The servers tasked with performing MITM against encrypted traffic in and out of the US, probably. I didn't say this, btw - it's just the only way in which your statement would possibly make sense. Where do you work?

      --
      Something bad is coming when people are suddenly anxious to tell the truth.
    3. Re:Hardly a common example by LordKazan · · Score: 1

      um... i followed the news.. this was public freaking knowledge

      remove your tinfoil hat

      --
      If you cannot keep politics out of your moderation remove yourself from the Mod Lottery.. NOW!
    4. Re:Hardly a common example by Magada · · Score: 1

      Thanks for the clarification. Will do.

      --
      Something bad is coming when people are suddenly anxious to tell the truth.
    5. Re:Hardly a common example by ArsenneLupin · · Score: 1
      Well, this would be even more outrageous than our initial conjecture. Public "knowledge" is somewhat exaggerated, I'd rather say public "speculation".

      If this was indeed in the news, do you have any citation from a (reputable) source about this MITM datacenter that was housed in or near the WTC?

    6. Re:Hardly a common example by tehcyder · · Score: 1

      But the Chinese government would say that trying to access what is (from their point of view) an illegal site because it's based in Taiwan constitutes a matter of national security too.

      --
      To have a right to do a thing is not at all the same as to be right in doing it
  34. Roll your own by rindeee · · Score: 1

    Several options: Setup an SSL proxy on 443. Setup sshd running on a non-standard port. Setup OpenVPN listening on 443. Blah blah blah. I've used all three of these when traveling to countries that heavily filter the 'tubes and met with little issue. I even run VoIP/VTC over them without issue.

  35. Make sure you understand the cost. by mtippett · · Score: 2, Insightful

    If the requirements and restrictions on the Internet in China are enshrined in Law in China, you may be putting your visa at risk.

    It's like a Australian 18 year old coming to the US and drinking alcohol and getting caught. In Australia, there no restriction above 18, in the US, it's 21. You get caught, you may not be able to enter the country again.

    A local law is a local law, no matter what your views are. What you can do freely in your country may be illegal and carry harsh punishments in others.

  36. SSH -- avoid known & transparent proxied ports by swb · · Score: 1

    This is all good advice.

    As for your port advice, I agree to avoid port 22 -- I have this totally disabled on my FreeBSD system.

    443 is a good alternative since it is the normal HTTPS port, but in my work as a consultant I've run into client networks where HTTPS works fine but SSH through port 443 doesn't work at all. I seldom get to the bottom of it, but usually its a filtering/transparent proxy device that works with normal HTTPS traffic.

    My work around (that hasn't failed yet) has been to run my SSH server on a few random non-reserved ports. It's not unusual or unknown for apps to exchange encrypted/binary data on negotiated high number ports so most/many filtering systems & transparent proxies avoid it to keep from breaking those apps.

    I personally would avoid using ports otherwise used for FTP, SMTP or other well-known unencrypted protocols since those are likely to be filtered/proxied or otherwise not be reliable with SSH proxy sessions.

    It also wouldn't surprise me if the Chinese didn't have some kind of pattern analysis software that LOOKED for tunneled data; SSH proxy traffic probably stands out like a sore thumb. It might make sense to use multiple ports on the SSH server end to avoid creating a pattern over time (eg, one session on port 6043 may not get detected, multiple sessions over time from the same place on that port might sound an alarm).

  37. CCProxy by bodhijon · · Score: 1

    I've used CCProxy before when I didn't have access to my own linux box, or time, etc. It was fairly easy to guide my non-technical friends over the phone through installation and configuration. It's free for up to 3 users.

  38. Are you serious? by Anonymous Coward · · Score: 1, Funny

    >> Also needless to say, I am very leery of the government there (my lack of a nickname on this submission being testament to that).

    You're just an overly paranoid neckbeard. Don't use the same Slashdot nickname twice and make sure all your equipment, plus your brain, is wrapped in tin foil to avoid atheist Chinese mind reading.

    1. Re:Are you serious? by tehcyder · · Score: 1

      He is a goddammed cyber-freedom-fighter super-hero, how dare you take the mickey!

      --
      To have a right to do a thing is not at all the same as to be right in doing it
  39. Re:Are you out of your fucking mind? by LWATCDR · · Score: 3, Informative

    I agree with you about 99%.
    Setting up your own VPN is probably fine. If their are problems just claim that you need it to access work or school. What I wouldn't do is "help" people in China do the same.
    1. If you are asking on slashdot you probably lack the skills to do it well.
    2. If you get caught as a US citizen they will probably just take your computer and kick you out. You are not worth the bad press they will get.
    3. If you help Chinese citizens do the same you can become worth the trouble. Which is a very bad thing.
    4. You may hurt those that you are trying to help. Trust me their a lot of bright folks in China that have the skills to get around the great firewall. They also probably know better who to trust.
    You are a foreigner trust me odds are they may already be watching you a bit. If you are not a business person I expect they are watching for you to try and do this very thing. As much as people like to make fun of security people they are not dumb. Figure that they have a lot more skill at catching you than you have at evading them If you or your friends don't get caught it will be just because of luck.

    --
    See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
  40. Re:Is this appropriate? by Americium · · Score: 1

    Is it illegal? Connecting to your home computer from China? Obviously it's not hacking the firewall... if the firewall already allows a connection to your VPN, then is that illegal? As an American visitor, is it illegal to look at certain content online? Or perhaps this is only illegal for Chinese citizens... does anyone actually know? Do Chinese police respect the law anyway?

  41. Pick any... by mcrbids · · Score: 1

    Fast, Easy, Secure. Pick any two.

    Sorry, pal - it's those pesky laws of the universe or something gettin' in the way...

    --
    I have no problem with your religion until you decide it's reason to deprive others of the truth.
    1. Re:Pick any... by Flea+of+Pain · · Score: 1

      Fast and Easy...when do I meet her?

      --
      Do not argue with an idiot. He will drag you down to his level and beat you with experience.
    2. Re:Pick any... by Firehed · · Score: 2, Funny

      Given that you're losing out on "secure", you might want to think twice about that. I hear the viruses you can get are quite a pain to deal with.

      --
      How are sites slashdotted when nobody reads TFAs?
  42. OpenVPN + your computer back home (or a vps) by gpuk · · Score: 2

    I travel quite frequently and often need to subvert the various restrictions of local ISPs (DNS redirection, throttling, censorship etc.). The method that works for me is:

    1). Rent a cheap 512MB VPS (I use Linode and highly rate them but there are many other providers)
    2). Grab a copy of OpenVPN and set it up in server mode on your VPS (make sure you push "redirect-gateway" to clients so that they send all their internet traffic through the VPN)
    3). Install a copy of OpenVPN on the computer you'll be travelling with (set it up in client mode and configure it to point to your VPS).

    That's it. All your traffic will now flow encrypted to your VPS where it will then break-out on to the open, unfiltered internet.

    Additional tips:
    - If you are using Windows on the computer you're travelling with, you need to make sure your DNS queries are going through the VPN (see: http://openvpn.net/archive/openvpn-users/2006-09/msg00020.html for what steps you need to take)

    - To help obscure the fact you are using a VPN, set the server to use TCP rather than UDP (note: this will increase latency a bit) and set it to listen on a port normally associated with something else (e.g. TCP 993 which is normally used for secure imap or TCP 443 which is normally used for https traffic).

    If you haven't got the cash for a VPS (frankly though you should, they are really cheap!), you could always setup the OpenVPN server on your home machine and point your travelling computer to that.....

    Good luck!

  43. Subscribe to a SSH tunnel service by Smoodo · · Score: 1

    When I lived in China, I subscribed to a SSH tunnel service. I would setup a small application on my machines that would open a tunnel and funnel that traffic out from America. Be careful trying things like Onion. My financial trading software blocked me when their IT department detected requests shifting from IP to IP from various countries. It looks very suspicious. It's worth the fee paid to the SSH tunnel operators because you don't have to pay for a network connection in the US and they handle all the technical junk on the backend. Also since these service offerings are not super clear on China's Radar, chances of getting the IPs and ports blocked are really small. There is an advantage to being a small fish.

  44. Re:Tor, maybe? by LordSkout · · Score: 3, Funny

    Or more specifically, he should shell out a lot of money for one.

  45. then install windows xp on an old junk machine just for browsing remotely

    pay zero attention to security

    then wipe the thing when you get home

    --
    intellectual property law is philosophically incoherent. it is your moral duty to ignore it or sabotage it
    1. Re:ok by solevita · · Score: 1

      Or use NoMachine to connect to your remote box.

  46. Obligatory MLK quote by Anonymous Coward · · Score: 2, Insightful

    "There are just laws and there are unjust laws. I would agree with St. Augustine that an unjust law is no law at all... One who breaks an unjust law must do it openly, lovingly...I submit that an individual who breaks a law that conscience tells him is unjust, and willingly accepts the penalty by staying in jail to arouse the conscience of the community over its injustice, is in reality expressing the very highest respect for law."

    - Martin Luther King, "Letter from the Birmingham Jail," April 16, 1963.

    1. Re:Obligatory MLK quote by The+Flymaster · · Score: 1

      And do you know why that was titled "Letter from the Birmingham Jail" and not "Letter from my Bedroom"? Because MLK, Jr. was arrested and held as, essentially, a political prisoner. If the OP wants to take the risk of being held as a political prisoner in communist China, then more power to him. But...I don't think it would be a good experience if his actual goal is to search Google for 3 weeks.

    2. Re:Obligatory MLK quote by tehcyder · · Score: 1

      Well, that's fine and noble, but what does it have to do with the original question, which was how to get round Chinese law and not get caught?

      --
      To have a right to do a thing is not at all the same as to be right in doing it
  47. My suggestion for a VPN: by Pathway · · Score: 1
    Fast. Good. Cheap.

    Choose any two.

    I would suggest Tor. (Good and Cheap.)

    --Pathway

  48. Re:SSH -- avoid known & transparent proxied po by Shakrai · · Score: 1

    SSH proxy traffic probably stands out like a sore thumb

    SSH proxy traffic doesn't look any different from regular ssh traffic. It might involve more data transfer but the packets themselves are no different from normal ssh traffic.

    --
    I want peace on earth and goodwill toward man.
    We are the United States Government! We don't do that sort of thing.
  49. Re:Is this appropriate? by carvell · · Score: 1

    I wouldn't be in any doubt that the Chinese would decide that it's illegal. You can't really just call it "Connecting to your home computer from China" when the only reason you're doing that is to circumvent their filter. It'd be a pretty feeble defence!

  50. Re:Ask Slashdot: Civil Disobedience by Brett+Buck · · Score: 1

    But when the law unfairly restricts your natural rights, then the breaking of that law is completely justified, hell, armed revolution in the case of China is very much justified for the Chinese people.

            You be sure and tell them that at the Peking police station.

              I have never seen more drivel in my life. If you don't want to follow the laws of the country, then *don't go*. Same with any country including the good old USA. Do otherwise and you are looking for trouble. Not going is a far better protest than going in and trying to sneak around, anyway.

  51. openvpn over port 53 by sgt+scrub · · Score: 1

    set up openvpn on a machine at home. use xinit.d to enable two listen ports one on port 53 and another on port 443. be sure to reroute all of your traffic over the tunnel. you will need a dns server internal to your network at home.

    this is an example of an xinit.d/ovpn-file to listen on port 53

    service anon-reader53
    {
                    type = UNLISTED
                    port = 53
                    socket_type = dgram
                    protocol = udp
                    wait = yes
                    user = root
                    server = /usr/sbin/openvpn
                    server_args = --inetd --disable-occ --dev tap2 --secret /etc/openvpn/keys/anon-reader.key --redirect-gateway --replay-persist /etc/openvpn/persist-files/anon-reader --inactive 60 --user nobody
    }

    use the following for your ovpn config for the port 53 connection

    openvpn --disable-occ --dev tap --remote ip.of.your.server --port 53 --ifconfig an.ip.on.remote.network remote.network.netmask --redirect-gateway --route-gateway gateway.ip.of.remote.network --dhcp-option DNS remote.network.dns.ip --secret shared-key-if-you-use-one.key --inactive 60000 --verb 4

    an example with ips
    openvpn --disable-occ --dev tap --remote 63.97.226.206 --port 53 --ifconfig 10.10.10.20 255.255.255.0 --redirect-gateway --route-gateway 10.10.10.1 --dhcp-option DNS 10.10.10.2 --secret anon-reader.key --inactive 60000 --verb 4

    --
    Having to work for a living is the root of all evil.
    1. Re:openvpn over port 53 by fearlezz · · Score: 1

      Even when you've only got port 80 to allow true http, you can still run a vpn using post requests.
      http://www.exiledmind.net/vpn-tunnel/ shows how to run openvpn through a http proxy.

      --
      .sig: No such file or directory
  52. Re:Is this appropriate? by pongo000 · · Score: 1

    I'm surprised the question made it to the front page.

    Consider the /. editor that posted it, then re-evaluate your initial sense of surprise.

  53. China is a tough nut to crack... by MrWin2kMan · · Score: 1

    Only a very few, large western companies have unfettered access to the 'real' internet in the PRC, and only the foreign national employees have access to it. If you're going to China as an employee of one of these companies, then you may have access. If you are going as a tourist, then you should pretty much expect that whatever surfing you do is being monitored, anonymizers will either be problematic or nonfunctional, and remember there is no such thing as 'freedom'. I would be extremely hesitant to set up my home or office PC with LogMeIn or RDP or any other kind of remote access solution, as it will most assuredly be targeted for hacking by the PLA, which runs the intelligence apparatus. You best be happy with the Disney-rated, government approved Red Internet, otherwise if you need your YouPorn fix, or want to check on WikiLeaks or research Falun Gong, you may wind up being 'interviewed' at an undisclosed location at 2AM. It's not prudent to spit in the eye of your friendly neighborhood communist dictatorship.

    --
    Nothing to see here but us trolls...move along...
  54. Do not worry.. by WittyName · · Score: 1

    It is not THAT bad. The whole nation is NAT'ed. You will not have a proper IP address. almost certainly 10.x.x.x. I use the web a lot, and the vast majority of sites work. Groklaw did not work for me, or BBC. But Tor gets around all of that. BitTorrent is slow due to no inbound connections.

    To me the bigger problem is dumbass companies trying to 'help' me by detecting my location and localizing.. Just because I am in Whereveristan does not mean I can read the language. My http headers specify us-en. Do not redirect to chinese, or whatever. Annoying.

    Time zones are also a PITA because you are awake and they are asleep, or vice versa.

    All that aside, screw the internet, and have fun, eat some new foods, meet some locals, wander around aimlessly. Say "Hello", smile. Many do not speak english, but they all studied it from grade school on up. Write it down. But one of those calculator translator things, and have somebody show you the buttons to put it into english mode. Better ones have sound. About $20-30.

    Buy a phone with a SIM card. 110 is like 911 in the states. 114 is tourist help. Free. Everywhere. They speak multiple languages. Tell them what you want, hand the phone to the taxi driver, solved.

    --
    The law is a weapon of the government, not a protection for the likes of you. Surely you understand that.
  55. Re:Ask Slashdot: Civil Disobedience by ElKry · · Score: 1

    So what you're saying is that accessing every single website on the internet is a natural right?

  56. What's the purpose of the trip? by jtownatpunk.net · · Score: 1

    I assume you're going on vacation or you'd just use whatever system your IT department has set up. If I'm right and this is a vacation, then freakin' GO ON VACATION. If you get all shaky and twitchy if you go more than a couple hours with a direct neural feed, you need to address your addiction before you leave. You can access everything you'll need while on vacation. You don't NEED to look up "subversive" things while you're on vacation.

    If you want to see what the Great Firewall blocks, go to websitepulse (or one of the many other test sites) and use a "test behind the great firewall" tool to see if your favorite sites are being blocked or modified.

    If you absolutely must have unfiltered access, get a router that runs dd-WRT and set yourself up the VPN. In fact, get several friends to do the same. Then you can connect to those routers via VPN and surf through those connections. Unless China cuts off your VPN service. As others have noted, this happens regularly.

    Bottom line: When you're on vacation, part of being on vacation is immersing yourself in the local culture. In this case, part of the culture involves filtering and sanitizing information. Go with it. I think you'll be surprised at how little the Great Firewall impacts your trip.

  57. Please - stop acting like agent 007 by Bangalorean · · Score: 1

    Looks like you get a kick out of imagining yourself to be some kind of spy. The risk is not worth it. There is a 99% chance that you'll go scott free even if you take no precautions. But OTOH, it's also possible that you get into trouble even with all your precautions. The internet isn't going anywhere. Just visit China and behave like a normal tourist would. You can access the 'whole, unadulterated, unfiltered Internet' to your heart's content when you return!

  58. redundancy and selective tunneling by pangloss · · Score: 1

    I spent a few years in different cities in China. Here's my take: in order to balance speed and access, you really only want to tunnel/proxy/vpn what you absolutely have to. Most sites aren't going to be blocked so using something like FoxyProxy is pretty essential. If you'll have VPN access, set up rules so that just the traffic that needs to go through the VPN (plus DNS) is getting tunneled.

    Also, multiple workarounds for access is important too: you could very well get stuck somewhere where everything but ports 80, 443 are blocked, ruling out your ssh tunnel (unless you've thoughtfully set your ssh server to listen on a different port) and having a web proxy might save the day. Or one proxy goes down, get blocked, is too slow, etc.

    I personally used a combination of ssh tunnels, web proxies, a paid VPN service and Tor.

    Also, note that the great firewall isn't just a blacklist. It also performs packet inspection for keywords/phrases before issuing TCP resets to both parties, so your proxies definitely should be SSL enabled, even if it's just with a self-signed cert.

  59. Peace Fire by cryfreedomlove · · Score: 1

    Isn't this why http://www.peacefire.org/ exists? They are devoted to helping folks get around stupid internet filters, including those of nations, companies, schools, and parents.

    1. Re:Peace Fire by tiberus · · Score: 1

      While in some cases I do agree that filtering approaches silly and maybe even stupid, I think the statement is a bit broad. Unless of course it means Peacefire is intended to get around only 'stupid' filters and that not all filters are stupid. This is off-topic but, I just couldn't let this one go. Just so It's obvious I would disagree that all filters or filtering is 'stupid'.

      Companies and Schools have obligations to be met, lawsuits to prevent. Don't forget this is America and we are more than a bit litigious. Parents also have a right, yes I said a right to monitor and control their children's activities.

      In those cases their are legal, moral and other issues to be considered that are complex and warrant discussion in another venue. I just take exception to what appears to be a blanket statement.

  60. Recent experience by seyfarth · · Score: 2, Interesting

    I recently spent 1 month in China and was unsure of what to expect about internet access. It was better than I expected. I think it is not worth the trouble to try to dodge any firewalling. I was able to use ssh to connect to computers back home and generally able to surf the internet. I think youtube and google video were blocked, but for a short trip this is not much to worry about. I was able to use gmail and google. The news under google/ig sometimes linked to blocked sites. However, there were always related links with the same information which were not blocked. So, for me, the only problem was not viewing videos for a few weeks. This did not matter to me, though I think there are alternative video sources which are not blocked.
    The net result is that access is nearly unfettered, so it is probably pointless and perhaps unwise to try to subvert the firewall. Freedom seems to be increasing in China. Enjoy your trip!

    --
    Ray Seyfarth, ray.seyfarth@gmail.com, http://rayseyfarth.blogspot.com
  61. RST packets by sakdoctor · · Score: 1

    You might want to look into dropping RST packets at BOTH ends under certain circumstances, because the Chinese spams those around almost randomly.
    Using the internet in China is very flaky and unreliable, because what they've set up isn't this all powerful, stateful firewall; as maybe they'd like you to believe, but a b0rk-the-internet pile of RST spewing shit.

  62. ssh by Improv · · Score: 1

    $ cat ~/bin/socksproxy_to

    #!/bin/sh

    ssh -D 8080 -Nf $* && \
    echo "Configure your browser to use a socks proxy on localhost port 8080"

    --
    For every problem, there is at least one solution that is simple, neat, and wrong.
  63. Re:Dear Slashdot " how do i commit a crime" by gregthebunny · · Score: 1

    Our company does business in China and even has an office there. We have to constantly remind our employees that it is illegal to use VPN in China. Using SSH is also disallowed.

    You could, however, setup a unencrypted SOCKS proxy on some random port.

    Here's how I'd do it:

    • setup a Linux server at home with basic Telnet access, this will give you unencrypted shell access
    • setup your router to forward several dozen ports to port 23 on the server, this will give you redundant paths back to your server
    • setup a SOCKS proxy on your server, but do not grant any access yet (except maybe for your internal network to test)
    • again, setup a few dozen redundant ports for the SOCKS proxy
    • once you're in China, console into your server and allow only the IP you're connected on
    • configure your browser (Firefox?) to use the SOCKS proxy
    • happy surfing!

    Notes:

    • IANAL
    • YMMV
  64. School Version. by HockeyPuck · · Score: 1

    Dear Slashdot,

    I go to a high school in which internet access is heavily filtered so that students cannot visit websites that are deemed containing questionable content. How can I subvert the filters and firewalls so I can reach sites that aren't questionable like National Geographic, The Library of Congress and the US Constitution online?

    Whatever happened to respecting the rules of your hosts? Maybe we forgot what happened to Michael P. Fay in Singapore. He required Bill Clinton to literally save his ass.

  65. Re:Dear Slashdot " how do i commit a crime" by joggle · · Score: 1

    What law would this person be breaking? As far as I can tell there is no such explicit law in China forbidding people from circumventing the Great Firewall of China, although nothing would stop them from trumping up some charges against you using one of their many loosely defined laws, such as distribution of 'state secrets' which can be virtually anything (but they could do that regardless).

  66. Address the problem directly. by jdimpson · · Score: 1

    Instigate a revolution, successfully overthrow the government, and instate a new government with more liberal social policies.

    Once the power comes back on, and telecommunication services have recovered (and reconfigured) enjoy free western-style Internet access!

  67. Lots of good ideas here but... by HardFocus · · Score: 1

    ... the biggest risk you face is showing off your capability to the locals.

    My own experience and the opinion of those (business people) I spoke to is that the Chinese don't really care if you are using VPN of some sort, as long as they don't suspect you are involve in some kind of dissidence or other "subversive" activity.

    For what it's worth, I have used SSH tunnelling to my own tinyproxy installation. I enjoyed moderately high speed from my hotel rooms and from Starbucks.

    Incidentally, I didn't set this up to bypass censorship. I use the proxy any time I am at a wireless hotspot for obvious security reasons. It also enables me to use my credit card overseas without being flagged as a risk because as my IP address always jives with my credit card postal address.

  68. Re:Ask Slashdot: Civil Disobedience by Darkness404 · · Score: 1
    Yes. Echoing the statements of many people throughout history. According to Locke there are three major natural rights (as in rights given to everyone at birth simply because they are human)

    Life- everyone is entitled to live once they are created.
    Liberty- everyone is entitled to do anything they want to so long as it doesn't conflict with the first right.
    Estate- everyone is entitled to own all they create or gain through gift or trade so long as it doesn't conflict with the first two rights.

    And the founders of the USA thought so, just look at the Declaration of Independence

    We hold these truths to be self-evident, that all men are created equal, that they are endowed by their Creator with certain unalienable Rights, that among these are Life, Liberty and the pursuit of Happiness.

    Such thought isn't limited to post-1600s thought either,

    NO Freeman shall be taken or imprisoned, or be disseised of his Freehold, or Liberties, or free Customs, or be outlawed, or exiled, or any other wise destroyed; nor will We not pass upon him, nor condemn him, but by lawful judgment of his Peers, or by the Law of the land. We will sell to no man, we will not deny or defer to any man either Justice or Right

    According to the Magna Carta signed in 1215.

    So yes, it is a natural right because its liberty, you have a natural right to have property, part of that is a computer I'm sure we can all agree, if you have property then no one should deprive you of your use of said property unless it violates the rights of others. Considering that accessing various internet sites don't infringe on the rights of others, I'd say its a natural right to use the internet if you pay for it and a violation of natural rights for the government to control it.

    Now, of course western thought doesn't mean shit in China.... But that doesn't mean that natural laws don't exist because China doesn't believe in them.

    --
    Taxation is legalized theft, no more, no less.
  69. Speed is not going to happen by misosoup7 · · Score: 1

    Most ISP in China will not be able to provide you a connection better than about say 1 Mbits/s. Even if you have an ssl encrypted proxy or vpn set up at home, your connection to your home network in the States will be unbearably slow. But the openvpn suggestion is going to be your best bet.

  70. Linux offers all the tools you need by franl · · Score: 1

    See "How to Break Out from Inside a Draconian Firewall": http://technotes-fran.blogspot.com/2009/11/how-to-break-out-from-inside-draconian.html

  71. Terminal Server Gateway by gotpaint32 · · Score: 1

    Download a copy of Server 2008 demo is good for 60 days. Set it up on a VM and enable TS gateway functionality. Basically it will let you tunnel remote desktop to any computer on your local network over SSL to the internet. Or use logmein, not sure if thats blocked there?

    --
    Nuclear war would really set back cable. - Ted Turner
  72. Re:Ask Slashdot: Civil Disobedience by Darkness404 · · Score: 1

    Which is, like I stated previously, why China really needs a revolution, probably an armed revolution to restore a government that actually is by the people. Plus, if you look at a lot of the world, the military can act as a check against governmental power, it only takes a rogue wing of the army which has become enlightened to start over the restoration of basic rights.

    --
    Taxation is legalized theft, no more, no less.
  73. Re:Socks + SSH tunnel by franl · · Score: 1

    SSH's -D option activates the built-in SOCKS proxy in the SSH client, so all you have to do is:

    ssh -D 8080 -N trustedhost

    then configure your browser to use a SOCKS5 proxy on localhost:8080 (and also to use the proxy for DNS lookups, otherwise you leak the DNS names of the sites you browse to).

  74. Re:Ask Slashdot: Civil Disobedience by aBaldrich · · Score: 1

    The problem is that in 99% of the cases in which the military becomes "enlightened" you end up with a fascist dictatorship.

    --
    In soviet russia the government regulates the companies.
  75. Use Firefox w/ the Certificate Patrol add-on by franl · · Score: 1

    Certificate Patrol (https://addons.mozilla.org/en-US/firefox/addon/6415) watches for changes in SSL certificates and alerts you to those changes, so you can decide if someone is pulling an SSL MITM attack on you. If the Chinese routers are running SSL interceptors (e.g., Cisco's IronPort or Bluecoat's ProxySG), then you will see alerts that the SSL certs you last got from within the US are different in China.

  76. Easy: ssh by wdr1 · · Score: 1

    Seriously, ssh -D is your friend:

    -D port
                      Specifies a local ``dynamic'' application-level port forwarding.
                      This works by allocating a socket to listen to port on the local
                      side, and whenever a connection is made to this port, the connec-
                      tion is forwarded over the secure channel, and the application
                      protocol is then used to determine where to connect to from the
                      remote machine. Currently the SOCKS4 and SOCKS5 protocols are
                      supported, and ssh will act as a SOCKS server. Only root can
                      forward privileged ports. Dynamic port forwardings can also be
                      specified in the configuration file.

    My prior job required me to travel to China for a few weeks every 2-3 months & I found it invaluable. Fire it open on the command line, and set your browser to use that local port as a SOCKS proxy.

    (Note, however, this will not help you deal with shitty bandwidth to sites outside china. On that front, you're pretty much just fucked until you leave China. Even "off hours" don't help that much.)

    --
    SlashSig Karma: Excellent (mostly affected by moderatio
  77. Here is a good test for the "obey the law" crowd by kroyd · · Score: 1
    The F scale.

    I've traveled in China several times, and as a "rich white guy" you won't have serious problems even if you make loud political statements that the party disagrees with. (E.g. here is a short list of forbidden words).

    What you should be careful about is discussing politics with the locals. At worst you'll be asked to leave the country, but they can be thrown in jail or "disappeared" if they say, criticize party leaders.

    In other words, using a ssh proxy is fine. There is probably even no law against it, except for the general "don't do things not in the interest of the Party".

  78. Re:Ask Slashdot: Civil Disobedience by Darkness404 · · Score: 1

    But it leads to instability which provides an opportunity for the Chinese people to form a government that actually supports their rights, they'd need to act quickly but it is possible.

    --
    Taxation is legalized theft, no more, no less.
  79. OpenVPN by FictionPimp · · Score: 1

    OpenVPN is very easy to setup. Just setup openVPN on your home computer and get a dyndns hostname for it. The rest is easy.

  80. Not sure why you were modded insightful... by IANAAC · · Score: 1

    MLK was not a tourist in Birmingham. He was a US citizen, in a US jail.

  81. What Firewall? by Dr.+Hok · · Score: 3, Informative

    "seditious Chinese website" -- like wikipedia, dropbox, archive.org, google cache, blogspot, sourceforge, freebsd.org, youtube, twitter, foursquare and facebook .

    My experience might be a bit outdated (October 2008 was the last time I was in China), but I didn't see much of a firewall there. The only sites that I couldn't reach (occasionally!) were zh.wikipedia.org (which I tried out of curiosity) and a sourceforge download site in Taiwan. And I tried a lot of sites, including the ones that you mention and other usual suspects.

    My Chinese colleagues told me that generally only Chinese-language sites and sites located in Taiwan are blocked. They also told me that anyone with basic computing literacy can circumvent the firewall anyway without so much of an effort. I can't tell you much about the details because I didn't need to and my colleagues didn't seem to want to speak about it. My impression was that the Chinese DNS server just didn't resolve some site names.

    At times I had the impression that the SSL connection to my webmail service in Germany and the VPN connection to my company's intranet was a bit slow and unreliable (which made me paranoid of a man-in-the-middle attack), but when I was in the US recently the connection was even more slow and unreliable. Draw your own conclusions.

    --
    Say out loud: I'm an Aspie and I'm somewhat proud, I guess. Uh. Can I write an email in all caps instead? Hm...
    1. Re:What Firewall? by failedlogic · · Score: 1

      What about CNN and BBC? I'm curious because it would seem to me, it would be in the interests of the government to block access to outside new sources. I've never been to China. Maybe you were in HK, where I hear it is much more progressive than the rest of the country (and sheltered a quite a bit more from the "communism" aspects).

      A Canadian relative once went to Cuba and they were plenty pissed when he brought magazines and newspapers from North America for leisurely reading during his vacation. Luckily he wasn't arrested, but the materials were confiscated. Who knows, maybe the security guards wanted to read it for themselves.

    2. Re:What Firewall? by Dr.+Hok · · Score: 1

      What about CNN and BBC? I'm curious because it would seem to me, it would be in the interests of the government to block access to outside new sources.

      I don't really remember about CNN and BBC (except that I had "Asian editions" of both on the hotel TV) because I usually read German news, e.g. spiegel.de, which was completely uncensored.

      Maybe you were in HK, where I hear it is much more progressive than the rest of the country (and sheltered a quite a bit more from the "communism" aspects).

      No, I was in Beijing, where I tried the internet in my hotel, at work and in a language school with consistent results (see my GP).

      A Canadian relative once went to Cuba and they were plenty pissed when he brought magazines and newspapers from North America for leisurely reading during his vacation. Luckily he wasn't arrested, but the materials were confiscated. Who knows, maybe the security guards wanted to read it for themselves.

      This was the first surprise when I entered China: The immigration officer stamped my passport, gave me a nice aloha-style smile and that was it. No questions, no opening my luggage, nothing. It felt almost like a domestic flight.

      I was totally baffled, because my previous encounters with communist countries was when I visited my relatives in East Germany. I used to spend hours in the immigration procedure, where they gave us the whole program: they removed the car seats (and we had to figure out how to put them back), made us lower the pants, asked nasty questions, made us wait an extra hour because my father made a harmless joke, and whatnot.

      My conclusion: China is not a communist country. It's just a plain old capitalist country without elections. They let you do whatever you want as long as it means business and as long as you don't publicly criticize the government.

      --
      Say out loud: I'm an Aspie and I'm somewhat proud, I guess. Uh. Can I write an email in all caps instead? Hm...
    3. Re:What Firewall? by dwater · · Score: 1

      FYI, the BBC's web site had been blocked for many years, but was 'recently' unblocked (a year or so ago?). IIRC, it was ok when I was there in April.

      I think more people care about Facebook being blocked than anything else. ...and, no, by my reckoning, not so many care about Google and its unfiltered results either.

      Yeah, I was in mainland China, not HK, Macao or Taiwan.

      --
      Max.
    4. Re:What Firewall? by jonbryce · · Score: 1

      The BBC itself blocks access to most of the video and audio content from outside the UK.

    5. Re:What Firewall? by jquirke · · Score: 1

      Your experience is dated. In Guangdong Province, 2010, I found facebook & youtube completely blocked.

      I also found anything containing prohibited keywords appeared to be blocked by means of sending an RST packet after a packet or two of data, so briefly you would see the text of http://en.wikipedia.org/wiki/Dalai_Lama for example, before Firefox would advise that the 'connection was reset whilst the page was loading'. Furtheremore, additional requests to that website's IP were completely denied for some random time (typically a few minutes).

      Even pages discussing the filter were blocked in much the same way.

  82. Leave the laptop at home by watanabe · · Score: 1

    Be aware, current security best practices suggest that you physically destroy whatever computer you use while you're in China. It is highly likely to be subverted while there. Seriously. Think about buying a cheap netbook while you're there, or get a used one here that you're going to sell before you leave.

  83. Ironkey by ShadowMage3D · · Score: 1

    The Ironkey flash drive ( https://www.ironkey.com/ ) was developed for the military. It features DOD standard encryption on the hardware level and a pre-installed version of firefox with a vpn tunnel provided by Ironkey itself. A.D.B.

  84. Re:Ask Slashdot: Civil Disobedience by Lucidus · · Score: 1

    Your use of the word 'restore' suggests that you believe that, sometime in the past, China had some form of democratic government. The larger assumption is that the Chinese people, as a whole, *want* government by the people. The historical and cultural evidence indicates otherwise.

  85. Run Squid at home by bemenaker · · Score: 1

    Setup a linux box at home. Run squid proxy. SSH tunnel to your linux box at home and now you have an encrypted proxy inside the US to connect too.

  86. Re:Dear Slashdot " how do i commit a crime" by gregthebunny · · Score: 1

    See: Encryption restrictions in China.

    "If you encrypt data in China, you have to provide the Chinese government the ability to access the keys. By this regulation, the Chinese should be able to get access to [Secure Sockets Layer]-encrypted traffic, too."

    It's basically one big Charlie-Foxtrot over there. But if you want to avoid being found out and thrown into a Chinese jail cell, you had better play it safe.

  87. Re:Ask Slashdot: Civil Disobedience by Anonymous Coward · · Score: 1, Insightful

    I'm not sure that the ability to view websites blocked by Chine while your visiting their country constitute a natural right. Even granting that you do have a responsibility to break laws you feel are unjust, you must still face the consequences of breaking that law. A responsible adult must look at their obligations and determine if the consequences of breaking the law and being punished outweigh the benefits of breaking the law.
     
    Is making this statement worth going to a chinese jail over? Is making this statement worth leaving your child without a parent, or your parent without a child over? Will the good that you do for society by this act outweigh the harm you cause to those who love you?

  88. A false sense of security. by nobodylocalhost · · Score: 1

    Most SSL proxies don't make you anonymous, nor do they encrypt incoming communication. If you truly understand how SSL works, then you would know, most SSL implemented on the internet are only one way encryption, not two way. Unless you use client cert, all communication the server sends you are unencrypted. The great firewall of China filters site content. So if you use an SSL proxy, the Chinese government still are able to nab your IP address by filtering incoming packets from your proxy to your host. The safest way to not get caught is to use ssh tunneling using two way encryption.

    --
    Where is the "Ignorant" mod tag?
    1. Re:A false sense of security. by HungryHobo · · Score: 1

      one way encryption?
      That doesn't sound right.

      If that were the case someone with a packet sniffer would either be able to see my password when I log into an SSL secured site or view the pages I pull down over SSL which would make it pointless.

      It's almost impossible to hide that your're making an encrypted connection in any case.
      but the contents should be secure.
      Now of course the fact that you're connecting to a particular site isn't hidden with ssl, merely what's sent over that connection.

    2. Re:A false sense of security. by DamnStupidElf · · Score: 1

      Unless you use client cert, all communication the server sends you are unencrypted.

      False. SSL sets up an encrypted bidirectional stream. Two peers can mutually require the other to possess an identity certificate for mutual authentication, but only a single certificate is necessary to establish confidentiality for traffic from both peers using encryption.

  89. NX Client for Secure Remote Browsing by argontechnologies · · Score: 2, Interesting

    If you have a linux box in the US, install NX Server (free) on that box, then install NX Client on your laptop or USB memory stick with whatever distro you want to use. Secure remote browsing done easy. Marco

  90. I have a brilliant idea by rgviza · · Score: 1

    Why not just obey the law while in China and stay out of jail/alive?
    You have no idea of what you are fucking with. If you don't think they will be watching everything a foreign national is doing and itching for a reason to arrest you, you are naive, bordering on stupid.

    It's one thing to espouse freedom like we have in the US. That's a noble pursuit.

    It's quite another to be thrown in a Chinese jail for no other reason other than "Look at me, I'm getting through the great firewall of china :-p"

    Get a grip. Go over there, do what you gotta do, and come home.

    --
    Don't kid yourself. It's the size of the regexp AND how you use it that counts.
  91. why risk it? by Ouka · · Score: 2, Insightful

    At a western hotel I'm sure 95% of your needs will be met. If you want free-roaming unfettered internet access and speeds throughout china... well... I would ask why you would need such access and if that access would be worth a stay in a Chinese prison.

  92. Talking from succesful experience... by sebaseba · · Score: 1

    A friend traveled to PRC about 6 months ago. You have to use an outside DNS server, preferably over SSL and an outside proxy over SSL. I was giving him the DNS records over IRC (or MSN), so that he entered them manually in the local lookup table and then he routed all the traffic over a proxy I've set which was SSL only. I must stress that if you just make one single request without SSL over an outside proxy, the IP of the proxy gets banned. Also sites (e.g. Facebook) aren't resolved by local DNS servers IIRC, plus the IPs of these sites are blocked. Funny thing is that IRC (or MSN, i don't remember exactly) worked normally. :)

  93. We fix problem when you arrive by ZeroPly · · Score: 1

    I am honest American myself not complete satisfied with policies of Great Republic. It is good you tell grievance to all very publicly. When you arrive my friend Mr. Lee will visit and he will adjust your computer for maximum benefit, and help educate you on proper Chinese customs.

    --
    Support microSD: in a post 9/11 world, it is unwise to carry your data on media that you cannot comfortably swallow.
  94. Don't go by Megaport · · Score: 2, Insightful

    My daughter is living in Beijing for a year so before she left I got her a notebook and set it up with everything she'd need. For a brief moment I considered installing an SSH tunnel or VPN access back here to home, but then I thought about what my ex-wife's voice would sound like when she said, "they are detaining our daughter because they found military grade encryption software on her computer. How did that get there?" and decided against it.

    Seriously, if you disagree with their policy don't go. In your own country you have the right to civil disobedience against unjust laws. In another country you are a guest and should act appropriately.

    I'm an Aussie, our countries fought together in many wars (some still ongoing) and about as peaceful a partner as the US can get. Despite having travelled to the US about a dozen times and even lived over there for a couple of years, I have refused to return because you want to fingerprint me on entry now.

    If you disagree with a requirement of entry. Don't go. It is astonishing that you would premeditate to break China's laws because of your political views when your own country has a bunch that you have not fought against.

    Sheesh.

    --M

    --
    # grep slashdot access.log | grep html | sort | uniq | wc -l 2604
    1. Re:Don't go by tehcyder · · Score: 1

      I'm an Aussie, our countries fought together in many wars (some still ongoing) and about as peaceful a partner as the US can get. Despite having travelled to the US about a dozen times and even lived over there for a couple of years, I have refused to return because you want to fingerprint me on entry now.

      Surely all Aussies would have been fingerprinted on the prison ship going to Oz already?

      --
      To have a right to do a thing is not at all the same as to be right in doing it
  95. Re:Ask Slashdot: Civil Disobedience by maxwell+demon · · Score: 1

    Yes. Echoing the statements of many people throughout history. According to Locke there are three major natural rights (as in rights given to everyone at birth simply because they are human)

    Life- everyone is entitled to live once they are created.
    Liberty- everyone is entitled to do anything they want to so long as it doesn't conflict with the first right.
    Estate- everyone is entitled to own all they create or gain through gift or trade so long as it doesn't conflict with the first two rights.

    OK, then I'm going to punch you in your face. It doesn't threaten your life (I won't punch that hard), therefore rule 1 doesn't apply, and therefore rule 2 tells me I'm entitled to do it.

    --
    The Tao of math: The numbers you can count are not the real numbers.
  96. Easy by undecim · · Score: 1

    1: Set up a *nix server at yours or a buddy's house (the latter is best, because your buddy can turn it back on if the power goes out)

    2: install OpenSSH on the server

    3: Learn to use SSH tunneling.

    --
    The Internet has given stupid people the resources of intelligent people.
  97. Hotspot shield? by Brettm247 · · Score: 1

    I was in China for a summer and was able to access anything, uncensored through this free vpn service. http://hotspotshield.com/

  98. Re:Dear Slashdot " how do i commit a crime" by PPalmgren · · Score: 1

    You may have forgotten that China is currently cracking down on porn. The man can't live without his porn!

  99. Extreme Cynicism alert by GlL · · Score: 2, Interesting

    I wonder if the AC who posted the question might be a lazy network tech in China trying to close holes?

    --
    I'm a happy pessimist. I expect and prepare for the worst, when it doesn't happen I am pleasantly surprised.
  100. You guys make China sounds like a deathtrap. by tpg0007 · · Score: 2, Insightful

    For god sake some of you make it sounds like the OP's never gonna be seen alive again. He's just going to China, not the goddamn Death Star. I guess you can say there's always the risk of being detained, but you risk being detained just coming back to the US! Any halfway savvy Chinese net user knows how to browse blocked sites. The laws are intentionally vague and nebulous. Enforcement against you is unlikely unless you really try to start something.

  101. Re:Ask Slashdot: Civil Disobedience by tpg0007 · · Score: 1

    Unhindered access to the intertubes is a natural right now?

  102. Make Proxy: Mod parent up by cmholm · · Score: 1

    I'm surprised this answer didn't come up earlier. At the very least, set up an SSL proxy back home. If you do/can run a web server in your house, with an ISP that doesn't make it difficult, this is the obvious solution. I did this as a favor for a nephew living in the Middle Country, and he was able to surf freely.

    If you're carrying your own laptop, and can ssh into your server, then with port redirection, truly you are powerful, and will be limited only by the bandwidth between you and home plate.

    --
    Luke, help me take this mask off ... Just for once, let me butterfly kiss you with my own eyes.
  103. Re:SSH -- avoid known & transparent proxied po by swb · · Score: 1

    Tunneled traffic looks different than keystrokes and occasional bursts of text, unless you are some kind of heroic typist.

    It's pattern analysis. Packet counts, inter packet temporal spacing, data volume, etc.

    Now it may be that ssh is used often enough for tunneling/file transfer/etc that tunnel sessions are common, but it still will look a lot different on the wire than a terminal session.

  104. Re:Ask Slashdot: Civil Disobedience by White+Flame · · Score: 1

    So somebody from a repressive religious state has the "natural right" to exact deathly punishment on women who dress too skimpily. That's respecting the order of the universe. Any law against that is unjust and violates their natural rights. Would you support their right to break murder laws in western nations?

    People with strong beliefs willing to stand against a government in the name of change must expect conflict, not appeasement.

  105. Shell out anyway. by man_ls · · Score: 1

    VPN service can start as low as $20/year. You'd be hard-pressed to spend over $100 for a year of full-speed access via OpenSSL or something. (I'd recommend that, something where the certificate and key are exchanged before you go China, just to be sure there's no MITM going on.)

    I doubt your time is so worthless that you would be better served by setting up your own method on Linux, than by skipping Starbucks for a week before you leave and putting that money into a turnkey solution.

  106. Re:SSH -- avoid known & transparent proxied po by DamnStupidElf · · Score: 1

    proxytunnel (and cntlm if you need NTLM authentication to your local proxy) will get through just about any stateful filter/proxy that only allows ports 80 and 443 outgoing and tries to block proxies with packet inspection. Listen on yourhost:443 with an SSL proxy (e.g. encrypted HTTPS proxy server) and allow CONNECT 127.0.0.1:22 via that proxy. Use proxytunnel with the option to connect through the local proxy using cntlm if necessary, then through your own encrypted proxy and finally connect to 127.0.0.1:22 for the SSH connection. In your ssh config set up the host you will use with the ProxyCommand to invoke proxytunnel with the required options. It works because the deep inspection firewall only sees a plain vanilla SSL connection to yourhost, with no evidence of HTTP proxying or SSH being tunneled through it. Tunnel through SSH as necessary.

    If you're using Apache as your SSL proxy, you will have to patch proxytunnel to turn off SSL once the proxy connection to sshd is established because for one reason or another Apache thinks it's a good idea to hand the raw socket over to the proxied connection instead of keeping it running through SSL. That might let an exceptionally paranoid firewall see the SSH exchange and block it, but it's still secure if you tunnel everything else through the SSH session.

  107. What Firewall? by AK+Marc · · Score: 1

    I've been to China. I've used the Internet there. Unless you are looking at things specifically about things they don't like, Tibet, Tienanmen and such, you won't have a problem. What are you planning on doing that you think might be a problem? After all, I'm presuming you are going there from the US, so you have no problem with the federal government listening to everything you send (so far, no one has ever actually denied that AT&T feeds 100% of all Internet traffic that touches their network to the feds). So you must think that you'll be missing something from the "full Internet." I'm curious what you think that will be. I haven't been there in a couple years, but I could get to the Wikipedia entry for Tienanmen Square. But a google.cn search on it wouldn't give "full" results. They actually block very little. And most of what they aim to block are sites in Chinese.

    It's like going to a country with child porn filters. If you aren't planning on doing porn or child porn, it will likely be something you won't ever hit even once, so planning on work arounds for them would be a silly waste of time. I'm not asking to make you justify not wanting to be filtered, but just trying to see if the cost benefit scenario actually leans towards an answer other than "don't do anything, you'll never notice it."

  108. Re:Ask Slashdot: Civil Disobedience by westlake · · Score: 1

    But really, if a law is unjust and violates natural rights, you have every right to break it, some may say you even have a responsibility to break it because by not breaking it you in essence prop the law up.

    Tunneling under the firewall may be an act of rebellion but is not civil disobedience as Thoreau or Gandhi or Martin Luther would have understood it.

    Civil disobedience is open and public.

    Civil disobedience means paying the price of disobedience - no matter how high.

    Civil disobedience means nothing to a regime that operates in secret and fundamentally does not care how many people have to die to achieve its objectives.

    The lone tourist might be ignored - but he could go to trial.

    The repeat visitor who routinely breaks the rules begins to look like more like a spy, a courier or agent provocateur.

    In which case, he might meet with an unfortunate accident.
       

  109. I didn't notice the firewall at all... by patniemeyer · · Score: 1

    When I was in China in 2004 I was surprised to find that internet access appeared completely unfettered. I stayed in both Beijing and Xi'an and had no trouble accessing both secure and non-secure sites including my bank, CNN, etc. from hotels, coffee shops, and people's homes. I didn't go out of my way to look for something I could not access, but I never ran into anything either.

  110. Yes, ssh sock proxy tunneling with dns read up by tianfan · · Score: 1

    Yes, get a vps, use ssh sock proxy tunneling with dns read up, with firefox and foxyproxy. it works like a charm.

  111. Wow by Demena · · Score: 1

    The way he shoved that cop. Would he have survived that in any major american city?

  112. LOL by Demena · · Score: 4, Insightful

    That is exactly why I won't visit the USA.

    1. Re:LOL by RoFLKOPTr · · Score: 1

      Yep. We have it pretty rough here in America. You should probably visit Mexico or Columbia instead. I hear the people of Cuba are nice too.

  113. Paranoia by Demena · · Score: 1

    The chinese government couldn't care less about you accessing those sites. Just their own citizenry.

  114. Really - I found 3 blocked sites 2 wks in Beijing by Glasswire · · Score: 1

    You're obviously too cool to bother with social networking or photo sites, but both Facebook and Flickr.com (and at least one site I can't recall) were blocked when we were staying with friends in Beijing recently. PPTP connection to StrongVPN.com made my traffic emerge in a San Fransisco POP and nothing was blocked. So depending on what kind of cocoon you live in, maybe the wall never hits you but it's there.

  115. Re:Dear Slashdot " how do i commit a crime" by joggle · · Score: 1

    Doesn't seem like a big deal to me (from http://www.chinaeclaw.com/english/readArticle.asp?id=2384 ):

    Article 24 Where foreign organizations or individuals use encryption products or equipment containing encryption technology without approval, the State Cryptographic Administration Authority, in conjunction with the public security departments, shall issue an official warning and order rectification, and may also confiscate the encryption products or equipment containing encryption technology.

  116. Re:Dear Slashdot " how do i commit a crime" by joggle · · Score: 1

    Sorry to reply a second time, but the punishment for this 'crime' is:

    Article 24 Where foreign organizations or individuals use encryption products or equipment containing encryption technology without approval, the State Cryptographic Administration Authority, in conjunction with the public security departments, shall issue an official warning and order rectification, and may also confiscate the encryption products or equipment containing encryption technology.

    From http://www.chinaeclaw.com/english/readArticle.asp?id=2384

    Seems like the worst possible thing they can do is confiscate his laptop. Big deal.

  117. VPN really the only way to go by grainofsand · · Score: 1

    As a foreigner who has lived and worked in China for the best part of the last two decades, my strongest and best advice is to get a VPN service. I use StrongVPN but I understand that there are a range of others that work well in China.

    I do not consider US$15 per month to be an onerous expense when it comes to being able to access the whole of the web and watch the occasional show on Hulu.
     

    --
    A dream is good. A plan is better.
  118. No-IP + Proxy Server + Firefox = no great firewall by one2meny · · Score: 1

    No-IP + Proxy Server + Firefox = no great firewall

  119. I agree by Demena · · Score: 1

    No universal health care, appalling wealth distribution, limited unemployment aid, expensive education, over a million Iraqi dead, The School of the Americas, Guantamo etc, etc. Yes, you are right. No care for human rights there...

    1. Re:I agree by diamondmagic · · Score: 1

      Um, there is no human right to healthcare, or an equal amount of "wealth" as everyone else, or a paid for or cheap education. Human rights are something that exists without coercion, not something that can only be satisfied with a coercive institution. Indeed, forcefully taking tax money from people to fund these things, itself is a violation of human rights (and for that matter, nation-building wars, etc). Likewise, there is no human right to getting your Internet access a particular way, though, human rights would dictate that an ISP can expect not to be told by a state what content it must block.

      The only meaning to "human rights" or "fundamental rights" (the preferred term of the US Supreme Court) has to do with coercion, and never a guarantee to an entitlement!

  120. Bit woeful, fail actually. by Demena · · Score: 1
    You say that there is no human right to health care etc.... Then you say that forceful taxation violates human rights. So, I guess you decide what rights are and who is human? Consistent much?

    In actuality there is no such thing as rights. Rights are what we, collectively, decide them to be.

    Most civilised countries have healthcare as a right. Primitive ones don't. If you want to be primitive, that is ok by me.

    Additionally the UN has a declaration of human rights to which the US subscribes (but does not practice) and is thereby supposed to adhere to (see The Constitution of the United States of America) but fails to uphold.

    So, but me no buts. The United States of America cares little for human rights and even less so if those humans are not US citizens.

    You have no possible reply that is not hypocritical so I won't be responding any more.

    1. Re:Bit woeful, fail actually. by diamondmagic · · Score: 2, Insightful

      "You have no possible reply that is not hypocritical so I won't be responding any more" screams TROLL and is a cheap cop-out screaming you are so unsure of your position you can't defend it, but I'll feed it anyways...

      You say that there is no human right to health care etc.... Then you say that forceful taxation violates human rights.

      Exactly. How is this hypocritical, at all? You have no entitlement to healthcare, because if you were entitled to it, it must be forcefully taken from someone else. It's not that hard to understand, really. I just gave you the definition of human/natural rights as used in law... it has a definition, how can you contradict it? "Rights" in general has various meanings, sure. Natural rights is a pretty specific concept that says you have a right to not be coerced, this includes not being held up for money with the threat of being held up at gunpoint by the IRS or any other government. Just because no government recognizes this doesn't mean that it's not the definition of natural rights!

    2. Re:Bit woeful, fail actually. by tehcyder · · Score: 1

      You have no entitlement to healthcare, because if you were entitled to it, it must be forcefully taken from someone else.

      That is one of the most stupid arguments I have ever seen on slashdot, good work.
      Any entitlement to clean water I have does not depend on stealing it from someone else, unless you define any act of community or sharing as theft. As you are clearly a retardarian, I suppose you probably would.

      --
      To have a right to do a thing is not at all the same as to be right in doing it
    3. Re:Bit woeful, fail actually. by diamondmagic · · Score: 1

      I never said "theft" I said "force". You managed to misquote me and then set up a straw man around that misquote, good work.

      How else can the government guarantee anything, unless they force someone to provide it, either by theft, by slavery, by taxation, etc? Perhaps you would like to tell me how we could deliver cheap healthcare, water, food, and/or housing in a way that doesn't involve infringing individual rights?

  121. TOR by Rangelus · · Score: 1

    When I worked in China, I just used Tor. Quick, easy, and worked perfectly. Even works for torrents, since all your client needs to do is connect to the tracker over http, and then you don't need a proxy after that point.

  122. Re:Are you out of your fucking mind? by wvmarle · · Score: 1

    You are a foreigner trust me odds are they may already be watching you a bit.

    I have never heard of foreigners being watched extra well in China - at least not the regular visitors or business people. With the thousands if not millions of foreign visitors in China at any one time this is quite a Herculean job to do, even for China.

    However I hear North Korea is doing that much better. It makes the country one of the safest to visit as a foreigner. Over there you will always have at least one police keeping an eye on you.

    Back on topic I have never had any issues with inaccessible web sites when in China. Not that I use the web too much there anyway; and if anything was blocked well not likely it's so important it can not wait until later.

  123. Build a virtual PC on Rackspace by JonathanBrickman0000 · · Score: 1

    Build a virtual PC on Rackspace, whichever OS you wish, Fedora or Windows Server 2008 R2 among several others, and remote to it. A dollar a day buys you a whole lot of power, and you can buy it by the day.

    --

    J.E.B.
    Joshua Corps

  124. so in reality by shnull · · Score: 1

    you are a chinese government official who's smart enough to ask the people who might actually know a way to get through so you can plug the last hole and make your people suffocate in an intellectual vacuum?

    --
    beware he who denies you access to information for in his mind, he already deems himself to be your master (SMAC-ish)
  125. Re:Ask Slashdot: Civil Disobedience by tehcyder · · Score: 1

    But when the law unfairly restricts your natural rights, then the breaking of that law is completely justified,

    Since when does anyone have a "natural right" to access the fucking internet?

    --
    To have a right to do a thing is not at all the same as to be right in doing it
  126. Re:Ask Slashdot: Civil Disobedience by tehcyder · · Score: 1

    Simply asserting that there are "natural rights" and quoting various passages which agree with that opinion (which is just the logical fallacy of arguing from authority) is not a philosophically valid line of argument.
    Human beings only have "rights" because they have developed language and can communicate the ideas of law, moralitay and shared societal beliefs with each other. To be honest, I'd rather have someone just come out and say that these rights were given by God, as then you know there's no point in arguing about their delusions with them.

    --
    To have a right to do a thing is not at all the same as to be right in doing it