HomeAssistant with Cloudflare and CGNAT option

Hello,

FYI, My ISP recently enabled CGNAT and broke my port forwarding access to SS.

I already had HomeAssistant set up with Cloudflare access and it was very easy to add an "additional hostname" in the HomeAssistant Cloudflare config to have my SS be tunneled via Cloudflare.

The config entry on the HomeAssistant side was hostname: ss.mydomin.uk and service: https://192.168.1.9:8001

The HomeAssistant Cloudflare add-on automatically updated the Cloudflare DNS records on the Cloudflare site.

Brent

Comments

  • Hi Brent, thanks for the feedback, this is a good solution.

    An alternative would be a virtual network solution like ZeroTier or Tailscale. This can be installed on the Mac running SecuritySpy for secure remote access to all services that are running on that Mac (SecuritySpy, Screen Sharing, Home Assistant etc.). If Home Assistant is running on separate hardware, either network can be installed directly in Home Assistant via its respective add-on/app.