Can not access HA from mobile application locally

Hi,
It is my first topic, so I would like to say hello to everyone!
I have a problem with my HA, like the following:
1). I have duckDns service setup
2). DNSmasq configured (maybe here is a problem also). My config:
defaults:

  • 8.8.8.8
  • 8.8.4.8
    forwards: []
    hosts:
  • host: .duckdns.org
    ip: 192.168.1.110
    services: []

3). I am able to reach HA from computer (inside network) via https://<IP_of_my_HA>:8123 without any problems
4). I am able to reach HA from mobile app (outside network) via https://.duckdns.org:8123 without any problems. Everything is working also notofications
5). I ma not able to reach HA from mobile app (inside network) via https://<IP_of_my_HA>:8123.
6). I am able to reach HA from mobile using browser (inside network) via https://<IP_of_my_HA>:8123.

Router is old TP-LINK TD-W8960N v1.

Do you have any idea? :slight_smile:
Aleksander

Why? https://.duckdns.org:8123 would work as well as you configured dnsmasq.

The root cause is likely a certificate issue when trying to reach by IP

Hi,
As far as I understand it - NAT loopback needs to be supported on my router to reach HA using duckdns locally (which is not the case in my router). I have changed local IP as you proposed and it does not work.
obraz
BR,
Aleksander

There is not NAT’ing involved if the DNS setup is pointing correctly to the internal IP.
Try to ping .duckdns.org inside your network to see if the returned IP is the internal one.

Ping is returning public IP of my network:
obraz

Then your dnsmasq config is wrong. Make so that it returns the internal IP and it should work.

My dnsmasq config:
obraz
192.168.1.110 - my IP address of HA
DNS addresses - google
Is something missing here?
I saw optional fields in dnsmasq config like “forwards” and “services” but do I need to add it? If yes - how to do this?

I have tried to set Primary DNS on my router to HA address and secondary to my ISP DNS, but then I still do not have access to HA locally using *.duckdns.org:8123.