LordOfTheBunnies
CDCloudflare Developers
•Created by LordOfTheBunnies on 9/14/2024 in #general-help
Unifi, Cloudflare and Nextcloud tunnels
My situation is ( and I can't imagine it's unique), I have proxmox running bare metal, on that I have the main cloudflare tunnel, then I have Home assistant ( with it's own cloudflare add-on), and then I have CasaOS running Nextcloud (for auto phone and PC/Mac backups), and want to be able to access the data while on the move as well. Note while I have CasaOS at the moment, I have experienced the exact same issues with Truenas (and Nextcloud), and Nextcloud base app.
I can only get CasaOS to work externally if it has it's own instance of Cloudflare running within it. However the moment I start the CasaOS Cloudflare, my Home assistant URL becomes slow, might occasionally connect, but most of the time I get "Bad request:400" error. If I turn the CasaOS Cloudflare off, then Home Assistant runs perfectly. I do however lose access to CasaOs. I am not too bothered by CasaOS external access, just using it as a way to ensure things were working.
Even with the CasaOs Cloudflare tunnel working, I still cannot get Nextcloud to work externally.
Has anyone encountered similar issues and managed to resolve them?
What I don't get is why if I have Cloudflare set up as it's on CT, why I still need Cloudflare apps running on both CasaOS and Home Assistant, I would have thought the Cloudflare CT could just redirect the traffic on the same network.
Networking is something I am not very good with, proxy, reverse proxy, cowboy Proxy, it makes almost no sense to me. So I am most likely just doing something wrong, but I have been at this for over a month and installed/reinstalled some for of cloud/NAS system close to 40/50 times and I am close to chucking it all in.
I am using cloudflare Zero trust, if that makes any difference
11 replies