Bit of a dilemma, would love some brain power.
Setup: HA sits in my LAN (deliberately, it needs to talk to everything, so no DMZ for it). Right now it's reachable through the Cloudflare Tunnel add-on. Works great, honestly.
What bugs me:
\- Cloudflare terminates TLS, so they see everything: logins, tokens, phone locations, camera streams.
\- Big dependency on US provider. I keep wondering why the tunnel is free in the first place.
Hard constraints: no extra software or certs on the clients (family has to just use the app), my own domain, and only my desiresd countries allowed in.
Option I'm leaning towards: DNS only → OPNsense (CrowdSec, GeoIP, blocklists) → Nginx Proxy Manager in the DMZ → HA.
The proxy can only reach HA:8123 in the LAN, plus ip_ban, TOTP for all users and I will have a "kill switch" access list in NPM.
Already ruled out: Pangolin on my VPS (advin server). The app needs auth bypass rules (up to /\*), so the auth layer is pretty much useless and the VPS still terminates TLS.
My actual question: how much does Cloudflare's WAF really do for HA? I doubt they write / mitigate HA-specific rules. On the other hand, exploit waves happily come from my country (geo filtered) too, so my filter isn't magic here.
Honest question: is Cloudflare in front of HA meaningfully safer than a well-hardened home setup? What am I missing? Good arguments in either direction very welcome 🤗
TL;DR: HA in LAN, currently on Cloudflare Tunnel. Thinking about going DNS only with OPNsense/CrowdSec/GeoIP + NPM, to stop Cloudflare from seeing everything. Does Cloudflare's WAF protect HA in a way my own stack can't?