I know it isn’t specific to just Linux but I use Linux anyway so my question is,

Is there a way you could use a VPN without them knowing that? Or if they outlaw them is it really just game over?

If they made VPNs illegal I suppose stuff like TOR would follow except TOR is partly funded by the US state department and the US is one of my countries closest allies (one of the five eyes). So surely they wouldn’t shut down something the US funds directly… Would they?

I’ve read very very little about Gemini and other protocols like Gopher, would this be the way forward if they do this? And is that even remotely close to the security and potential anonymity you would receive from a VPN?

  • DarkAri@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    13
    arrow-down
    1
    ·
    edit-2
    5 hours ago

    You could buy a webserver outside the country and set up your own VPN software or something. I think there are forms that look like https.

    You should probably try to tell at least one person a week to never vote for those people again and try to resist your oppressive state in every way you can without getting yourself in trouble or hurt.

    Also try to do anything you can that they don’t want. If the powerful people in your country want something, try to oppose them. Don’t let them just shit in you and get away with it.

  • Flax@feddit.uk
    link
    fedilink
    English
    arrow-up
    17
    ·
    8 hours ago

    Deep-packet inspection exists. They can tell when vpns are being used generally. They kept shutting off my VPN in China ☹️

  • brewery@feddit.uk
    link
    fedilink
    arrow-up
    26
    arrow-down
    1
    ·
    10 hours ago

    I don’t know how any company I’ve worked for would operate, especially when headquartered in another country. They’ll just have to fire everyone in that country rather than compromise their security

    • BD89@lemmy.sdf.orgOP
      link
      fedilink
      arrow-up
      12
      ·
      9 hours ago

      I’d assume they’d give companies an exemption if they made private VPN use illegal. Doesn’t China do something similar to this?

        • Flax@feddit.uk
          link
          fedilink
          English
          arrow-up
          5
          ·
          edit-2
          8 hours ago

          They don’t really ban them, but there is deep packet inspection where they may throttle the connection or in my experience, cut it off after a period of time. Sometimes they block them during national occasions. I could probably try something better than OpenVPN. I only use it for personal use anyway and I am a foreigner, so they really wouldn’t care (if anything, it’s kind of expected waiguoren behaviour). If you are roaming on a foreign sim card and using mobile data, there is no censorship from my experience. Just needed the VPN for wifi

  • TMP_NKcYUEoM7kXg4qYe@lemmy.world
    link
    fedilink
    arrow-up
    24
    arrow-down
    2
    ·
    10 hours ago

    Banning VPNs is on the list of braindead government restrictions up there with banning encryption. The latter is basically a ban on math, just like in that book where 2+2 is sometimes 3, sometimes 5.

    • Random Dent@lemmy.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 hours ago

      As a person from the UK, I am fully expecting them to implement this in the next year or two, because ruining the internet seems to be the government’s top priority rather than say, fixing the economy or preventing Reform from taking over for some fucking reason.

    • 0x0@lemmy.zip
      link
      fedilink
      arrow-up
      6
      ·
      5 hours ago

      just like in that book where 2+2 is sometimes 3, sometimes 5.

      You mean book1.xls?

    • TypFaffke@feddit.org
      link
      fedilink
      arrow-up
      8
      ·
      9 hours ago

      Aren’t they both the same thing? A VPN is just applied encryption.

      You’re right though, banning encryption is a pipe dream. Encrypted data is not distinguishable from random noise. So you’re not allowing me to send around random numbers now?

    • BD89@lemmy.sdf.orgOP
      link
      fedilink
      arrow-up
      3
      ·
      9 hours ago

      Yes but they’ve done this before in countries like US. They went after the T Shirt producers printing the DeCSS on them and recently the whole tornado cash fiasco where they tried to make smart contracts illegal (although this was overturned).

      Granted though I think DeCSS contained proprietary code so its a little different but unfortunately I view most governmental control and censorship to be braindead but I still fear they will do it.

      They would have exemptions for corporate VPNs and encryption and for members of parliament and all that of course, but I could absolutely see them trying to fuck us all sooner rather than later.

      I hope I’m just paranoid.

      • Beej Jorgensen@lemmy.sdf.org
        link
        fedilink
        arrow-up
        1
        ·
        4 hours ago

        Off topic, but with DeCSS the problem wasn’t that it was proprietary or a trade secret. Once the algorithm got out, it was out. Since it had been a trade secret, there was no patent protection on it.

        However, some laws and treaties prohibit distributing code that circumvents copy protection schemes, and this is where they ran into trouble.

        And that’s why they were all those songs and t-shirts and other free speech items made with the DeCSS algorithm on them. Eventually the cases were dropped.

  • hexagonwin@lemmy.sdf.org
    link
    fedilink
    arrow-up
    12
    arrow-down
    1
    ·
    9 hours ago

    this is exactly what’s going on in China (PRC), bypass method depends on how hard the government implements it

  • joshikyou@lemmings.world
    link
    fedilink
    arrow-up
    40
    arrow-down
    2
    ·
    12 hours ago

    “Making VPNs illegal” doesn’t stop you from using them.

    They would have to implement north korea/iran levels of restrictions in order to prevent you from using VPNs.

    • BD89@lemmy.sdf.orgOP
      link
      fedilink
      arrow-up
      9
      ·
      edit-2
      12 hours ago

      Can your ISP not tell you’re using a VPN?

      Would it not be easy for them to block access to VPNs if they outlaw them?

      What do you do then?

      I guess a better way to phrase the question is if they are outlawed how can I use one without my ISP knowing.

      If your ISP can tell you’re using a VPN then yes, making them illegal would prevent me from using them right?

      • N.E.P.T.R@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 hour ago

        Mullvad has many methods of obscuring the fact that you are sending VPN traffic, specifically designed to fight VPN censorship and firewalls.

      • CameronDev@programming.dev
        link
        fedilink
        arrow-up
        24
        ·
        11 hours ago

        A VPN wrapped in HTTPS would be basically undetectable. Yes, your ISP could start marking IP addresses as “VPN”, but that would be a wack-a-mole situation, and wouldnt scale at all.

        • Random Dent@lemmy.ml
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 hours ago

          I can see the UK doing this, they love to implement ludicrously restrictive and impossible to enforce anti-privacy laws. My working theory is that they’re lobbied to implement them by IT consultancy firms, who then get hired to consult on, say, banning VPNs, take 10 years to investigate it at eye-watering cost to the public, then go “Yeah turns out you can’t ban VPNs, I don’t know what the previous government was thinking” and then use that money to lobby the new government to ban encryption or some other nonsense, then repeat.

      • darklamer@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        12
        ·
        11 hours ago

        Would it not be easy for them to block access to VPNs if they outlaw them?

        Not necessarily. It’s reasonably easy to keep long lists of known IP address ranges of known VPN providers and block access to these, but VPN traffic to a not well known IP address is generally impossible to distinguish from perfectly legal encrypted traffic such as a VPN connection to a corporate intranet. (There are also VPN protocols that are made deliberately hard to identify at all.)

        • Flax@feddit.uk
          link
          fedilink
          English
          arrow-up
          2
          ·
          8 hours ago

          It is distinguishable via deep-packet-inspection, China uses this

      • joshikyou@lemmings.world
        link
        fedilink
        arrow-up
        7
        arrow-down
        1
        ·
        edit-2
        11 hours ago

        Sometimes.

        They can keep a record of VPNs and monitor if you connect to their servers, or block that connection altogether.

        The problem with this is that new VPNs come and go all the time and active VPNs don’t always have static configurations. It would be impossible for them to reliably track all of them.

        • BD89@lemmy.sdf.orgOP
          link
          fedilink
          arrow-up
          4
          ·
          11 hours ago

          But if it were illegal as soon as you connected to one single blacklisted IP you’d be fucked, right?

          • joshikyou@lemmings.world
            link
            fedilink
            arrow-up
            7
            ·
            11 hours ago

            That would be up to the courts to decide.

            It’s very easy to accidentally connect to an unknown server, so it would depend on your state’s criteria for determining guilt.

      • NedRyerson@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        9 hours ago

        Somewhat. They can certainly maintain a list of known IP addresses. Those IPs can be changed.

        When they change, you as a user need to be able to find the new addresses. Whatever mechanism you can use, your ISP can likely disrupt too. For instance, they can DNS block the API that returns the list of possible endpoints (as sometimes happens to Proton where I live).

        You can then counter by using private DNS. It’s a cat and mouse game.

      • webghost0101@sopuli.xyz
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        10 hours ago

        There is some nuance to what exactly is banned.

        I self host a vpn at my home that i use to connect to my home network on the go. This is a super common use-case and also cant be used to circumvent regional blocks.

        Work also uses a vpn to securely tunnel company hardware to our servers.

        A blanket ban on vpn software and technology would be ridiculously dumb. Almost as bad as blanket ban on encryption.

        If they make exceptions and only ban vpn with intention to hide and circumvent the law, then you only need some legal excuse if someone comes asking and its more a morality guideline then a criminal law.

        If they blanket ban “vpn technology” i would simply suggest ignoring it. Laws that stupid are too incompetent to take seriously. I recon its completely unenforceable.

        Either way you’re unlikely to be investigated unless the government already has a reason to investigate you. In which case you’re probably fucked no matter how secure your internet.

  • ZkhqrD5o@lemmy.world
    link
    fedilink
    arrow-up
    18
    ·
    10 hours ago

    My recommendation would be Tor and use bridges. Bridges connect to Tor for you, and the IPs of bridges are secret. So no one really knows that you’re connecting to Tor. They can only see you connect to a random IP. For extra security you can use the “tails” OS.

    While not foolproof, should be good enough for any sort of “normal” people under mass surveillance. If you’re special enough to have human attention on you, I don’t know sadly.

    • TwentyEight@lemmy.ml
      link
      fedilink
      English
      arrow-up
      15
      ·
      10 hours ago

      This. Pretty sad that people in my country (UK) might have to use technology designed to help people in repressive regimes for basic access to perfectly legal and moral information, but here we are.

  • hendrik@palaver.p3x.de
    link
    fedilink
    English
    arrow-up
    16
    ·
    edit-2
    11 hours ago

    It’d be a really bad situation. I mean we rely on VPNs and tunnels a lot. For half the people doing home-office, logging into the company’s VPN is the first thing in the morning. Field crew relies on them. That’s an additional layer of protection in the ATM of your bank…

    It’d wreck half the economy in the process. Or “they” need to outlaw specific things. Like private VPNs. And gather a list of private VPN providers and ban them via a great firewall. That’s possible. And would make life worse in a country. It’s possible to circumvent these measures. And it’s difficult to discern traffic and distinguish VPN traffic from other encrypted traffic so the country might want to implement some harsh measures as well. A police force knocking on people’s doors if they suspect them to evade law and demand they show their computer and smartphones.

    So in conclusion your best option is probably to move to a different place if you can afford to, once that becomes reality.

  • Tenderizer78@lemmy.ml
    link
    fedilink
    English
    arrow-up
    9
    ·
    12 hours ago

    You could always get a friend in another country to host a VPN just for you (and then run that through a commercial VPN).

  • 0x0@lemmy.zip
    link
    fedilink
    arrow-up
    8
    ·
    11 hours ago

    Tor, i2p or a similar overlay network.

    Proxying through a friend’s connection abroad (using a wireguard implementation like headscale).

    Risking lesser-known VPNs; and ISPs being bound to net-neutrality. YMMV.

      • 0x0@lemmy.zip
        link
        fedilink
        arrow-up
        2
        ·
        7 hours ago

        True, but laws being written by morons with little to no tech knowledge, they’ll ban VPN companies’ services.

        • chgxvjh [he/him, comrade/them]@hexbear.net
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 hours ago

          I’d argue it’s not a question of intelligence but of network equipment. In many countries ISPs are private companies and there which complicates measures that require specialised equipment. Blocking DNS is basically free, routers can void IPs and IP ranges, broad checks for sequences in package payload are more expensive (scanning for Wireguard) and approaches to distinguish OpenVPN from other SSL even more.

  • FG_3479@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    10 hours ago

    Use a VPN with a circumvention protocol like Stunnel. Windscribe has a ‘stealth’ mode using it.

  • chgxvjh [he/him, comrade/them]@hexbear.net
    link
    fedilink
    English
    arrow-up
    2
    ·
    9 hours ago

    You can rent a server and run OpenVPN on that server on port 443. Maybe even with port sharing so that the server can act like a regular webserver too.

    It’s easier to trace the traffic back to you if the server runs in your name but it’s pretty hard to tell that you are using VPN if you aren’t connecting to a known VPN provider.

  • mistermodal@lemmy.ml
    link
    fedilink
    arrow-up
    2
    arrow-down
    2
    ·
    edit-2
    11 hours ago

    spys.one

    you don’t need to dl a vpn app, or even pay to use some vpns. Being german or american gets you treated the best by websites, except youtube which treats southeast asian countries better