Hi, I’m trying to make my HA instance available from outside of my network. Following multiple guides, my current configuration looks like the following:
System: Home Assistant OS (14.1), running Home Assistant 2025.1.2
Installed (relevant) add-ons: Duck DNS, NGINX Home Assistant SSL proxy
From what I understood, this should suffice to make my instance accessible. However, accessing https://<subdomain>.duckdns.org only yields (after a long time of loading) “This site can’t be reached: <subdomain>.duckdns.org took too long to respond.”
Although I don’t use NGINX, I don’t see a path in NGINX that gets you from (outside)443->(inside)443->NGINX->HA-port (8123).
Maybe this particular HA Community NGINX guide will help. Although it is old, the last user post Sept 2024 says its still works, but you can look at his delta config too. It shows that NGINX is listening on 443, and that it is forwarding to an address (local loopback) and port 8123.
Thank you for the hint! Unfortunately, the guide did not really help, since the add-on does not allow to take complete control of the configuration. But your comment promted me to look at the nginx config of the add-on and realize that I had to set the port to 8123 instead of 443 in the settings. Now, at least the HA icon appear when visiting .duckdns.org. Unfortunately, the other assets are all timing out and the nginx logs show the following:
I don’t have any such records, I only have the DuckDNS account. I am under the impression that this should suffice.
I cannot ping the DuckDNS subdomain. Also, what I said earlier about setting the port to 8123 seems to have been a fluke: the add-on automatically resetted it to 443 and when I try to set it to 8123, it says “Failed to start add-on: Port ‘8123’ is already in use by something else on the host.”. I also don’t see the home assistant icon anymore when trying to access the page.
I’m assuming you setup the sub-domain through the duckdns website, as iirc the duckdns add-on just keeps your DNS records up to date in case you public IP address changes. Setting it up through duckdns’ site ties your sub-domain to your public IP (by setting up CNAME and A records).
You said you cannot ping your sub-domain, but can you ping your public ip and port? you could try accessing by just the ip address, i.e
https://xxx.xxx.xxx.xxx:443
Where xxx.xxx.xxx.xxx is your public ip address (not 192.168.0.52). That may help identify if the issue is with DNS seeptting or home assistant web options.
I also see you added 172.30.32.0/24 and 172.30.33.0/24 to your trusted proxy, but in your router config, you shows home assistant with an address in the 192.168.0.0/16 range. Which range is your network using?