Additionally secure home assistant cloudflared instance by password before entering home network. #428
Closed
DarthSonic
started this conversation in
Ideas
Replies: 1 comment 5 replies
-
Thanks a lot for pointing this out. To be honest, I think adding a Cloudflare application with another login method to even access HomeAssistant (for me, this is GitHub with 2FA enabled) is secure enough as we have linked in our Wiki. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
See: https://www.maxivanov.io/how-to-password-protect-your-website-with-cloudflare-workers/
Maybe this is an addition to your documentation how to further secure cloudflared home assistant instance. The WAF is fine but if you really want to secure your instance and home network to specific users, before the attacker enters the network, you need to configure client certificate - which can be difficult on some devices and limits access to device with this certificate installed - or you can add a worker to your custom domain that needs additional username and password (basis auth) BEFORE accessing your home network.
Should be alternate username and password. Different from the one used for HA ;-)
Worker is free for a limited amount of request (100,000 / day) and processing time (10 ms CPU time / invocation). Both should never be reached for this use case.
Maybe something for your documentation.
Regards,
Sven
Beta Was this translation helpful? Give feedback.
All reactions