I’m trying to get local access to a device, which doesn’t have authorization via Home Assistant.
It’s accessible via a local ip and portnumber. But not from the outside.
What I would like to have:
Add an iframe to Home Assistant to the local device (has to be https)
Show the iframe when accessing Home Assistant from an external IP
Do not allow access when accessing the iframe url directly
What I did:
Made a dns entry for this device
Added a nginx proxy entry for this devices with a certificate (so now the device is accessible over https from the outside)
Add an access list to nginx, with local IP ranges (match any)
But I;m struggling to put in the right ranges in the access list. What are the IP ranges I should put in to have the device accessible via Home Assistant (Supervised via docker)?
I am using the official .VMDK and installed HA. Using duckdns and other addons. But now I have installed the NGINX addon and it seems to run fine, I only can’t see the open WEB UI button anyware. Also tried to open http://192.168.1.xxx:81 but nothing happens. Any idea??
And for those searching for how to disable Lets Encrypt in the DuckDNS add-on, just set the accept TOS flag to false in your configuration and restart the add-on
I get error messages when I try to create a certificate in NPM. I wonder if it may be forwarding of the ports on the router that is the problem? Is this correct?