I use Cloudflare tunnels for most of my self hosted stuff and I wanted to point a subdomain at my piHole, but it seems that you can’t install the cloudflared software on a pi zero. Is there any way to get this working?

It’s not a massive issue if not as I’m currently just pointing to my Pi-hole from my load balancer but it would be nice to have everything tunnelled.

  • Qazwsxedcrfv000
    link
    fedilink
    English
    3
    edit-2
    11 months ago

    Pi Zero you mean the original Pi Zero 1 right? Its SoC is driving a 32-bit ARMv6 CPU core.

    The most straightfoward way is to try the Cloudflare Package Repository. It should be able to match the OS and arch for you.

    You can also try installing the precompiled ARM deb package, specifically cloudflared-linux-arm.deb directly if the repo does not work.

    P.S. If none of the above works, you can try setting up the Go build environment and compiling from source on your Pi Zero.

    • @rarkgramesOP
      link
      English
      111 months ago

      Yeah I’m pretty sure it’s the Armv6. Will give that a go. Cheers.

        • Qazwsxedcrfv000
          link
          fedilink
          English
          111 months ago

          For anyone’s information, if you have an ARMv7 hardware, cloudflared also has compiled to armhf a.k.a. ARM Hard Float. It is not listed in the official site but can be downloaded from GitHub release.

          And ARMv7 hardware floating point support can confirmed by inputing cat /proc/cpuinfo and check if vfpv3 is listed in the features row.

  • @[email protected]
    link
    fedilink
    English
    211 months ago

    Worst case just run the tunnel from another server. You don’t need to point to localhost in your config, it can be any LAN address.

    • @rarkgramesOP
      link
      English
      111 months ago

      That hadn’t even occurred to me. 😂 There I am, setting up tunnels on each server like an idiot…