Welcome to the OpenWrt Cloudflare Tunnel Installer and Uninstaller project! This repository contains scripts that facilitate the installation and removal of Cloudflare Tunnels on OpenWrt systems, suitable for both Raspberry Pi and x86 platforms.
This repository includes:
install-cloudflared.sh
: A script to install the Cloudflare Tunnel service on your OpenWrt system.uninstall-cloudflared.sh
: A script to uninstall and clean up the Cloudflare Tunnel service from your OpenWrt system.
- Compatible Hardware: Raspberry Pi or x86 devices running OpenWrt.
- Administrative Access: You need to have root access on your device to run these scripts.
To clone this repository to your OpenWrt device:
git clone https://github.com/Coralesoft/OpenwrtCloudflare.git
cd OpenwrtCloudflare
To install Cloudflare Tunnel directly, execute the following command:
git clone https://github.com/Coralesoft/OpenwrtCloudflare.git && cd OpenwrtCloudflare && chmod +x install-cloudflared.sh && ./install-cloudflared.sh
- Download the installation script:
wget https://raw.githubusercontent.com/Coralesoft/OpenwrtCloudflare/main/install-cloudflared.sh
- Make the script executable:
chmod +x install-cloudflared.sh
- Run the script:
./install-cloudflared.sh
To uninstall the Cloudflare Tunnel directly, execute the following commands:
cd OpenwrtCloudflare && chmod +x uninstall-cloudflared.sh && ./uninstall-cloudflared.sh
- Make the uninstall script executable:
chmod +x uninstall-cloudflared.sh
- Run the uninstall script:
./uninstall-cloudflared.sh
If you encounter issues such as insufficient disk space or missing tools, the installation script attempts to address these automatically. For more complex issues, you may need to manually intervene.
For support or further assistance, contact C. Brown at [email protected].
This project is licensed under the MIT License. See the LICENSE
file in the repository for more details.
If this project helps you streamline your OpenWrt setup and you want to support my ongoing work, consider buying me a coffee. Your generous contribution keeps the creativity flowing and helps sustain future development. Thanks for supporting!