SOLVED: Hass.io local access after DuckDNS setup

I have successfully setup duckdns with certificate and can login fine, however since setting up I cannot access it on a local IP, only via the external duckdns link

Is this meant to happen or should I also be able to access locally (i.e. hassio.local or the IP?)

are you using https:// or http://?

Your browser will likely throw a warning but you can click through it.

You should be able to specify your duckdns address internally and have it work. It may require some settings updates on your router for NAT reflection/loopback.

look at this blog post:

do a CTRL+F for the heading ROUTING TRAFFIC LOCALLY

but it’s pretty easy to just set a static IP address to the pi/device/VM and then do https://192.168.1.x:8123
(replace x with your local ip) when you want to access locally instead of via your duckdns address

4 Likes

Thanks, From that link I have added this to my etc/hosts file and a traceroute confirms its hitting the local IP

192.168.1.x x.duckdns.org

Also as you say allows access via https://192.168.1.x:8123 providing I disregard the SSL error