Duckdns reboot issue

If your router does not support NAT loopback then you could look into using an NGINX reverse proxy