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)?
Is it even possible?