Script will:
- Create the build environment
- Pull the latest cloudflared source from GitHub
- Build the cloudflared binary
- Install the cloudflared binary for use
- Remove the build and source environments
- To update/upgrade the cloudflared binary, just re-run the script
-
Download the installation script using
wget
:wget https://raw.githubusercontent.com/Coralesoft/OPNsenseCloudflared/main/cloudflared-opnsense-freebsd-build-install.sh
-
Make the script executable:
chmod +x cloudflared-opnsense-freebsd-build-install.sh
-
Run the script:
./cloudflared-opnsense-freebsd-build-install.sh
-
Test cloudflared is working, type clouldflared version or clouldflared help and check the output:
cloudflared help
If this project helps you streamline your cloudflared 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!