HAOS Cloudflared tunnel Remote access Internet

In addition to port forwarding, Home Assistant can also be accessed remotely via a cloud provider. A cloud flare tunnel service can also be used as a low-cost alternative to the "Home Assistant Cloud", which is the topic of this article.

Here is another overview of the possible access options:

Remote access to Home Assistant: options and recommendations

1) Prerequisite for Cloudflare: own domain

The Cloudflare Tunnel Server requires a domain for access, which in the simplest case can be registered directly with Cloudflare:

2) Install add-on

The easiest way to add the Cloudflared add-on is via the following link:

Provider: https://github.com/brenner-tobias/addon-cloudflared

3) Add-on configuration

The configuration starts by adding the previously registered domain:

4) Home Assistant - Proxy configuration

To allow access from an external proxy - such as the Cloudflare tunnel - we need to make the following change in the Home Assistant configuration:

5) Cloudflare - Tunnel configuration

Finally, the actual tunnel must be set up, which can be done conveniently by calling up a link from the logging:

Remote Access

After successful setup, Home Assistant can be called up via the domain registered in step 1

Conclusion: Secure connection for Home Assistant

The Cloudflare Tunnel provides an effective solution for accessing Home Assistant, especially when port forwarding is not an option. A dedicated domain name in combination with the tunnel enables secure and affordable remote access.

positive Bewertung({{pro_count}})
Rate Post:
{{percentage}} % positive
negative Bewertung({{con_count}})

THANK YOU for your review!

Questions / Comments


 
By continuing to browse the site, you agree to our use of cookies. More Details