this post was submitted on 21 Jul 2023
5 points (72.7% liked)

Selfhosted

40008 readers
699 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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.

top 8 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] [email protected] 1 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago (1 children)

It's armv7, but should be v6 compat.

[–] [email protected] 1 points 1 year 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] 2 points 1 year ago (2 children)

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.

[–] [email protected] 1 points 1 year ago

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

[–] [email protected] 1 points 1 year ago

You can use the build from here https://hobin.ca/cloudflared if you trust them or compile the source yourself