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.
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.
Yeah I’m pretty sure it’s the Armv6. Will give that a go. Cheers.
It’s armv7, but should be v6 compat.
For anyone’s information, if you have an ARMv7 hardware,
cloudflared
also has compiled toarmhf
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 ifvfpv3
is listed in the features row.
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.
deleted by creator
You can use the build from here https://hobin.ca/cloudflared if you trust them or compile the source yourself