thanks!
have to study this, and translate to a Hassio installation, where several configuration options are out of (obvious ) control.
When you refer to the VPN, do you mean running a VPN-server on the raspberry, or just singing in to my VPN client account?
I can enable a vpn on my router, maybe thats what you’re implying?
so far ive set PW for the interface (which you don’t ), ut ift was my first attempt of securing ;-), and SMB , and of course the root@hassio
have to secure the outside world in general for snooping my network of course, but thats only necessary when trying to remotely acces the Home Assistant isnt it?
my router starts at xx.xx.1.1 so i replaced your 0.0 with 1.1. would that be the issue here? no point in trusting ip addresses that aren’t there i would have thought?
It doesn’t make any difference to the end result. /24 says “the first 24 bits are for the network”, eg 192.168.001. are the network bytes. Everything after that is ignored.
check. 192.168.0.0 works…
peculiar it is. my router starts distributing addresses form 192.168.1.1-254. why 192.168.1.1 causes a fatal error is beyond me…
Thanks a bunch anyways.
Cheers,
Marius
The external (WAN) IP. I have a static WAN IP, and my router does NAT reflection. Connections using the DuckDNS hostname appear to come from the WAN IP - that means that I can access it using that from the LAN, without a password.
Sorry to bump a semi-old thread, but I have a question about your last bullet point. I’m trying to secure my home assistant instance while keeping the ability to use Google Assistant. I’m confused about how to combine the usage of NGINX and a VPN (say, PiVPN) so that Google Assistant can access Home Assistant, while I can also access it remotely. Is it possible to combine the two? If so, how? Are you setting up the VPN and NGINX separately, or are they working in tandem?
Thanks, I think that makes sense. I think my confusion comes from the seeming redundancy of setting up NGINX to listen on ports 443 and 80, but also setting up another port for the VPN. Isn’t the end result still having more than just the VPN port open? Additionally, couldn’t you just bypass the VPN and authenticate using the NGINX proxy? It seems to me that the VPN is kind of redundant, but I’m probably understanding it wrong.
You can lock down NGINX such that only the API for Google Assistant is open (and only Google’s IP ranges), while using the VPN for full access to your entire network.
I’ve got one question. I use the NGINX addon for HASS.IO. It works quite well but now I want to restrict the access only to Google’s IP range (for Google Assistant). How can I do this? Is it possible with the HASS.IO addon?