Skip to content
No results
  • Realm Labs Home
  • Projects
    • Homelab
    • Home Automation
    • Networking
    • AI
  • Guides
    • Windows
    • Linux
    • Raspberry Pi
    • Networking
    • Home Automation
    • Homelab
    • Self Hosting
  • About Realm Labs
  • IT Services
  • Lab
    • Lab Notes
      • Cloudflare
      • Docker
      • Domain / ADCU
      • Home Assistant
      • Monitoring
      • Node-Red
      • Proxmox
      • Synology
    • Hardware
  • Realm Labs Home
  • Projects
    • Homelab
    • Home Automation
    • Networking
    • AI
  • Guides
    • Windows
    • Linux
    • Raspberry Pi
    • Networking
    • Home Automation
    • Homelab
    • Self Hosting
  • About Realm Labs
  • IT Services
  • Lab
    • Lab Notes
      • Cloudflare
      • Docker
      • Domain / ADCU
      • Home Assistant
      • Monitoring
      • Node-Red
      • Proxmox
      • Synology
    • Hardware
  • Lab Notes, Cloudfare, Home Assistant, Networking

Fixing Home Assistant Behind Cloudflare Tunnel: Trusted Proxies and X-Forwarded-For

Publishing Home Assistant through Cloudflare Tunnel looked like it should be straightforward. I already had Cloudflare Tunnel working for other Realm Labs services, so the basic path was familiar: The tunnel connected. The hostname resolved. Cloudflare could reach the server.…

  • Paul Huckle
  • 18 August 2026
  • Privacy Policy
  • Contact
  • About Realm Labs

Copyright © 2026 Realm Labs. All rights reserved.

Enjoying Realm Labs?

If you find the projects, guides, or tools on this site useful, consider buying me a coffee! Your support helps keep Realm Labs running and continuously stocked with new build guides and homelab experiments.

Buy Me a Coffee