Like, from inside China to the outside, but a bilateral solution would be fine with me, too.

  • Zwuzelmaus@feddit.org
    link
    fedilink
    English
    arrow-up
    53
    arrow-down
    6
    ·
    2 months ago

    They are prepared for such ideas, and you should assume that they are better than you.

    • NaibofTabr@infosec.pub
      link
      fedilink
      English
      arrow-up
      21
      arrow-down
      3
      ·
      2 months ago

      And there are hundreds if not thousands of them, plus a lot of automated tooling.

      • Higgs boson@dubvee.org
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        2
        ·
        edit-2
        2 months ago

        And of course, they control the hardware and software. I wouldnt risk it as a foreign national who has occasionally done work in the defense industry, but everyone has a different risk tolerance.

  • Yingwu@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    43
    arrow-down
    1
    ·
    edit-2
    2 months ago

    It’s better to pay for a VPN provider that is verified to work in China. And no, they won’t kidnap you for using a VPN as some people write here. It’s a non-issue just to bypass the GFW. The issue is when you write to a Chinese audience things that the CCP do not like.

  • solrize@lemmy.world
    link
    fedilink
    English
    arrow-up
    21
    ·
    2 months ago

    It’s possible for a while but there is a whack-a-mole game if you’re doing anything they would care about. So you will have to keep moving it around. VPS forums will have some info.

  • Shimitar@downonthestreet.eu
    link
    fedilink
    English
    arrow-up
    21
    arrow-down
    4
    ·
    2 months ago

    It will work for a bit, then they will detect VPN traffic and just block the destination ip for good. Any ip you will use will be shortly unreachable for you, so be prepared to that.

      • Shimitar@downonthestreet.eu
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 months ago

        Deep level packet inspection, they detect patterns or whatever in encrypted traffic (and the lack of thereof) and ban the destination ip china-wide.

        How they do I have no idea, but they do, on my direct first hand experience. Its not based on domain names, directly straight and total ip ban. All ports, all domains on that ip get banned forever just because you started using a VPN (OpenVPN in my case, it was a few years ago).

        • fishynoob@infosec.pub
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 month ago

          You need something like stunnel/OpenVPN flag which masks your traffic as HTTPS I think. Even then DPI can probably detect it

          • rumba@lemmy.zip
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 month ago

            They’re looking for traffic patterns. It doesn’t matter what encryption you’re using, If it’s point to point, they’re going to find it and disable it.

  • neidu3@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    5
    ·
    edit-2
    2 months ago

    Yes. China’s great firewall mostly handles content filtering and deals with low hanging fruit. Getting around it is fairly simple, and the censorship is mostly focused on stuff that would otherwise be easily accessible by the broader population.

    VPN is your obvious choice here. CCP blocks most public VPN providers, so you’d have to roll your own.

    You can set up a VPN concentrator somewhere in the world, and you would be able to reach it. As far as I’ve noticed, they don’t block VPN as a whole, and default port should work fine - the reason for this is probably that VPN has many commercial uses that they don’t want to harm.

    Source: I run a (work-related) VPN accessible from inside china.

  • JiminaMann@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    2 months ago

    I have a private vpn in korea, i could connect to that vpn even through china’s hotel wifi

    Could browse as per normal with abysmal internet speed

    • Zwuzelmaus@feddit.org
      link
      fedilink
      English
      arrow-up
      16
      ·
      2 months ago

      Could browse as per normal with abysmal internet speed

      Of course. It’s because they had to catch and write down every single byte with a pencil on paper, then decrypt it, understand it, report the funny ones to a boss, who nodded slowly and silently and then they typed it in again on the other side.

      /s

      • SnootBoop@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 month ago

        It’s getting a little better now because they can just scan in what they wrote and OCR it

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    1 month ago

    I would avoid China if you can

    If you need to go to China make sure to use Tor with snowflake proxies enabled. Tor is the only real answer here since this is what it was designed for.

  • capc8m@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    2 months ago

    I don’t know if it will work, but it’s possible to tunnel all your traffic through a VPS using SSH and a piece of software called sshuttle.

  • krasny@lemmy.ml
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 month ago

    I travelled to China in October 2023. I have a Wireshark VPN running at home with my internet provider (dinamic IP), and it worked for few hours (about 6) and they ban the IP. Resetting the router and getting a new made it work for another few hours.

    As others suggested the vpn traffic is encrypted but very easy to detect. I read about some protocols that can bypass it like shadow shocks but I didn’t have time to tinkering (it was my first time in China).

    I ended by using the service provided by 12vpx and it worked flawlessly. Someone recommended it and it is specialized in provided access in china with lots of gateways. I never had problems with this provider.

    Probably there are others that also work but that is my experience.

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 month ago

      Be careful of some of those services as they may be using botnets.

      Tor snowflakes allow for volunteers to proxy traffic to Tor. They are hard to block since there is effectively unlimited IPs.

  • coherent_domain@infosec.pub
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    edit-2
    2 months ago

    China blocks most IPs from foreign cloud providers like AWS or Digital Ocean. And if I am not mistaken, they can also block some VPN protocols (tor is not a VPN protocol, but it is very blocked, I don’t know if tor bridge works), but I am not sure which exactly.

      • Yingwu@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        6
        ·
        2 months ago

        They have. I don’t know what people are talking about in this post. It’s bypassable easily, and the CCP won’t kill you for it. There are so many Chinese using aVPN themselves to bypass GFW

        • coherent_domain@infosec.pub
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 months ago

          What brand of VPN do you use to bypass it, many of my friends are there quite frequently, none of them have a mainstream solution for it.

          • Yingwu@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            2 months ago

            Unfortunately it’s still trial and error. Check out e.g Ovpn, Astrill, Mullvad though. You can always email and ask different providers as well. Though it’s best it you set it up before visiting China. A HK sim through Airalo or similar also works.

      • coherent_domain@infosec.pub
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        2 months ago

        Last time I was there, express does not work, and I heard proton also does not work. However, my mobile carrier by default routes all roaming traffic through UK, so that did work.

  • nesc@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 months ago

    Yeah, you can look up how to setup hysteria2 and xray. Additionally you need to understand that firewall is different in different places, in some places like big cities you can even use plain openvpn (during daytime), in other more rural places almost everything is blocked.

    • krasny@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 month ago

      I couldn’t use Tor inside China, I tried but did not establish a connection. Didn’t dig into it also.

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 month ago

        Look into Snowflakes. The snowflake proxies are hosted by people in low censorship countries with the browser extension installed. The IP addresses are all over the place so they are hard to block.