Repository navigation
2026.4.1
2026.4.1 Release
install-cloudflared.sh & uninstall-cloudflared.sh
Highlights
- apk support for OpenWrt 25.12+
Installer now detects the package manager automatically – works with both apk (25.12+) and opkg (24.10 and earlier) for installing dependencies. - Existing install detection
If there's already a tunnel configured, the installer asks before overwriting. Stops the running service if you choose to reconfigure. - OpenWrt package conflict handling
If the officialcloudflaredOpenWrt package is installed, it gets removed automatically to avoid having two binaries on disk. - General cleanup
Tidied up both scripts, updated copyright and licence year, fixed credentials path in example config.
Description
This release updates both scripts for compatibility with the latest OpenWrt releases while keeping the same approach of downloading cloudflared directly from GitHub.
-
install-cloudflared.sh
Checks for existing installs, validates disk space & architecture, installs dependencies via apk or opkg, downloads the binary, guides through local or web-managed tunnel setup, configures the init.d service, installs the updater script, and optionally schedules daily updates via cron. Rolls back on failure. -
uninstall-cloudflared.sh
Stops & disables the service, handles tunnel deletion, removes binaries, config, updater, cron job, and cleans up the OpenWrt package if someone installed that too.
See CHANGELOG.md for the full history.