DuckDNS doesn't work, wrong public IP address. How to get correct IP from Zyxel modem?

I was wondering why HA is not reachable anymore. I figured it out. New problem again.

All services I use to determine my public IP address are showing an different IP address than my modem.

whatismyipaddress.com, similar websites and the DuckDNS addon show x.x.x.44.
But my router has got this IP address:
2022-08-14 15_59_44-Window

If I use the IP from websites like mentioned above and DuckDNS, I can’t reach anything (no HA or other devices).
If I use the IP shown in the router status page, I can reach HA.

How can I get the “real” IP address from my router? I enabled UPnP in the router and HA recognize it as device with 12 sensors. But all sensor values are null or unreachable.
2022-08-14 16_06_58-Window

Is it possible to let a script login into the router’s admin area and read the IP address?

Do you have any suggestions to fix this problem?

Thanks

Ah, that’s a cellular service.

That would be using CGNAT which is incompatible with DuckDNS.

1 Like