Everything you wanted to know about using Cloudflare Zero Trust Argo tunnels for your personal network. For those like me who were still confused even after reading the article, I think this is the lowdown:

  • ZT tunnels let you expose private resources/services to the internet (or your users) via Cloudflare’s edge network. You install cloudflared on an internal host, and register a “tunnel” so that requests to a hostname or IP get forwarded securely into your network (similar to tailscale).
  • Unlike classic VPNs (which open full network access) or traditional Cloudflare tunnels (which merely publish a service), this approach adds granular access control; you can define exactly who can access which resource, based on identity, device posture, login method, etc.
  • It also solves NAT/firewall issues often faced by P2P-based overlays (e.g., Tailscale) by routing everything through Cloudflare’s network, avoiding connectivity failures when peer-to-peer fails.

For in-browser auth you can then use Cloudflare Access, or you can install the cloudflare Warp client which is a VPN-like thing that would give you full control over the access to whatever service(s) you were exposing this way.

  • K3CAN@lemmy.radio
    link
    fedilink
    English
    arrow-up
    1
    ·
    58 minutes ago

    It’s not really “zero trust”, though, right?

    Isn’t CF still terminating TLS?

  • rarsamx@lemmy.ca
    link
    fedilink
    English
    arrow-up
    22
    ·
    7 hours ago

    The timing of this post is almost comical.

    Maybe a bunch of lemmytors read it and went to try, resulting in an unexpected volume.

    • dogdeanafternoon@lemmy.ca
      link
      fedilink
      English
      arrow-up
      7
      ·
      5 hours ago

      I see SO much cloudflare stuff on here, I have to believe they are ads/astroturfing. I can’t understand why so many self-hosting people would tie their services to them. In my mind it completely defeats the point to self hosting in the first place.

      • irmadlad@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 hours ago

        I have to believe they are ads/astroturfing.

        I recommend what I use. I have no interest in shilling for any company, opensource or closed. I can understand not liking a company. That’s fine. The animosity is a bit overboard imho, but with 8.4 billion people on this planet, opinions range widely. It works for what I use it for, and when it no longer does, I’ll move on to something else.

        • GreenKnight23@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 hours ago

          shilling or not for something you use is one thing, I made my comment because this post has a guerilla marketing smell to it.

          it certainly educated me on their product and even tempted me to use it because of the real-life applications they provided. this is likely the “smell” that makes me distrust it.

          top it off, I hate cloudflare because of all the engineers that use it. the unsurmountable percentage of the internet that is entirely dependent on cloudflare staying up is frustratingly apparent (especially recently).

          • irmadlad@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            53 minutes ago

            because this post has a guerilla marketing smell to it.

            If we were all board execs, maybe you might have a point…I guess. However, we are selfhosters, homelab’ers. As such, no one here will probably be pumping millions of dollars into the Cloudflare machine or attempting to persuade others to do so as well. As I mentioned in another comment, I can only think of around 10 major outages going back 5 years or so. Sure there have been hiccups, glitches, etc. Welcome to the internet. Shit breaks…all of it from time to time.

  • Helix 🧬@feddit.org
    link
    fedilink
    English
    arrow-up
    62
    arrow-down
    6
    ·
    2 days ago

    I don’t trust cloudflare, especially not with stuff like zero trust. They’re a terrible company and I think they should fail.

    • petersr@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      6 hours ago

      Tbf, I dont this Argo Tunnel has anything to do with zero trust. The product has just been nested under that umbrella.

    • lIlIlIlIlIlIl@lemmy.world
      link
      fedilink
      English
      arrow-up
      21
      arrow-down
      1
      ·
      2 days ago

      Would you be willing to share more about your position? I’ve been happy with their service, but want to be fully informed about who I’m doing business with

      • Helix 🧬@feddit.org
        link
        fedilink
        English
        arrow-up
        19
        arrow-down
        2
        ·
        1 day ago

        They’re protecting scammers and other bad actors, their infra is run by junior DevOps “engineers” and every now and then they find another way to fuck half the internet.

        They’re part of what’s wrong with USA-centric hosting nowadays.

        Others posted good articles and thoughts aswell :)

          • bdonvr@thelemmy.club
            link
            fedilink
            English
            arrow-up
            5
            arrow-down
            1
            ·
            edit-2
            12 hours ago

            It is - that’s just how URLs in non-latin fonts look unfortunately. URLs, (and a ton of tech infrastructure) is hugely English/latin script biased.

            The URL is Japanese.

          • guynamedzero@piefed.zeromedia.vip
            link
            fedilink
            English
            arrow-up
            11
            ·
            17 hours ago

            I can’t remember the exact technical details of it, but that’s how links are generated for non-Latin languages. If you go to the actual site it will display as the intended url

            • deltapi@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              5 hours ago

              I just asked 2 IT guys “hey, do you know what punycode is?” And the answer I received was “I’ve heard of it but don’t know what it is.”
              Thank you for informing me, but I’m far from alone in not recognizing it or having knowledge of what punycode is.

      • Technus@lemmy.zip
        link
        fedilink
        English
        arrow-up
        13
        arrow-down
        8
        ·
        2 days ago

        Could start with the fact that they go down about once a month now and take half the Internet with them.

          • Technus@lemmy.zip
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            7 hours ago

            I know, after I posted that I was looking at their outages and worrying that my 1/month estimate too much of an exaggeration cause they hadn’t had a big one in a bit.

        • lIlIlIlIlIlIl@lemmy.world
          link
          fedilink
          English
          arrow-up
          7
          arrow-down
          2
          ·
          1 day ago

          Ah OK, so when you said “terrible company” you meant performance? I’ve had great performance with them so far fortunately

          • Helix 🧬@feddit.org
            link
            fedilink
            English
            arrow-up
            7
            arrow-down
            1
            ·
            1 day ago

            For me it’s reliability and generally scummy business practices.

            They protect scammers and sell big data centres solutions that protect from DoS attacks 🤡

        • Holytimes@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          6
          arrow-down
          2
          ·
          2 days ago

          That’s less a problem with cloud flare it self and more just a issue of anything the scope and scale of what they have become. Even a better company would face the same issues.

          It’s fair to argue that they we should spread things out more to make them more resilient.

          But that’s more a knock against centralization than the service at hand. It’s also fair to show that they’re good enough that they were able to reach this point. Or more accurately. Everyone else was worse so they reached this point.

          It always feels like blaming cloudford at this point is much like blaming the horse for its Rider.

  • q7mJI7tk1@lemmy.world
    link
    fedilink
    English
    arrow-up
    28
    ·
    2 days ago

    I only started using Cloudflare tunnels recently, but I’m now using the self hosted alternative Pangolin on a VPS for private services, and I keep the Cloudflare tunnel for public web hosting, i.e WordPress. This also allows easy restriction to the WordPress login page for other users via Google auth etc which is something very simple with CF.

    Having split up my private/public services to seperate tunnels also means I don’t stand the chance of taking the public services offline with my constant tinkering of Pangolin and the VPS it runs on.

    I have pushed the CF tunnel for file transfers occasionally (which is against their terms), but it hits remarkable speeds for a ‘free’ service.

    • PeriodicallyPedantic@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      12 hours ago

      Is there a reason not to use pangolin for the public stuff too?

      I’m just about to make the switch from CloudFlare to pangolin on VPS, and I wanna make sure I’m not missing anything

      • q7mJI7tk1@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        2 hours ago

        If today’s outage is anything to go by, you’re better off not using Cloudflare!!

        I have continued to use it for public websites so that, in my thinking, at least the Cloudflare network is scrutinising who is accessing my webpages in case of attacks etc.

        Pangolin is a simpler cloud reverse proxy, whereas Cloudflare has more bells 'n whistles for quick-set security. You just need to harden your VPS that Pangolin runs on. You can activate Crowdsec etc on it as well.

        I run mine on a Hetzner VPS which has a nice firewall feature in the control panel securing the VPS ports for SSH and Pangolin tunnel to my home IP. Then it’s only ports 80 & 443 exposed. And I think from memory Pangolin doesn’t play nicely with UFW (well, Traefik doesn’t).

          • q7mJI7tk1@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 hours ago

            Not my expertise I’m afraid. Geoip blocking is straightforward with traefik (and Pangolin docs), Crowdsec is a little more complicated, and with the external firewall into the VPS, there isn’t much more I can think to do.

            It’s likely more a factor of how secure Pangolin itself is at that stage.

  • Tenebris Nox@feddit.uk
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day ago

    I’m interested to know if anyone is using a Cloudflare tunnel to stream audio? It breaks their terms but I’ve read that they tend to ignore it.

    • irmadlad@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      8 hours ago

      I access my Navidrome and Invideous instance without any issues. I am the only user on my network, so that would be a consideration if a lot of people were using your streaming services.

    • PeriodicallyPedantic@lemmy.ca
      link
      fedilink
      English
      arrow-up
      2
      ·
      12 hours ago

      Idk about audio but they rate limit video pretty quickly. Audio might be low enough bandwidth for them to not care, but be cautious

    • dcooksta26@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      17 hours ago

      I run audio and video through tunnels just fine. Last I checked they dropped the requirements for HTML only content and as long as you don’t abuse the service and cache too much data you’re OK with video and audio content.

    • artifex@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 day ago

      This has been on my list of things to try for a while, but I’m currently in “if-it-aint-broke-dont-fix-it” mode.