8 ms·
The author doesn't explain it well, but I use home assistant and I share the same view. Home assistant is not a very secure app. I would be fine putting it behi
by t0mas88 2y ago
The author doesn't explain it well, but I use home assistant and I share the same view. Home assistant is not a very secure app. I would be fine putting it behind Nginx with basic auth, because Nginx is quite battle hardened and basic auth is a small attack surface.
I've solved it instead by using Wireguard and keeping home assistant on my private network. No idea why the author thinks VPN is not a good solution. It's also helpful for several other apps I don't feel safe exposing to the internet.
- yjftsjthsd-h 2y ago> I've solved it instead by using Wireshark and keeping home assistant on my private network. What is wireshark for? Or did you mean wireguard and get autocorrected?
- t0mas88 2y agoIndeed wireguard. Fixed, tnx
- Maxious 2y agoNginx isn't suggested on the remote access manual page for sure https://www.home-assistant.io/docs/configuration/remote/ https://www.home-assistant.io/docs/configuration/remote/ But there's addons in the package manager: > Want to protect the website with a username/password? Well, it can do that too! https://github.com/hassio-addons/addon-nginx-proxy-manager https://github.com/hassio-addons/addon-nginx-proxy-manager
- perching_aix 2y ago> Nginx isn't suggested on the remote access manual page for sure This makes it seem like they advise against it on that page, which is not true. Nor would it make any sense, putting a reverse proxy in front of a web application before exposing it to the open internet is about as typical as things get.
- t0mas88 2y agoThe problem the author describes is that doing this is not compatible with the mobile app. It doesn't support http basic auth and also can't present a client certificate (that's what I used to secure remote access to other browser based apps)
- charleslmunger 2y agoHome Assistant's Android app does work with client certificates. https://companion.home-assistant.io/docs/getting_started/#tls-client-authentication https://companion.home-assistant.io/docs/getting_started/#tl...