When using DDNS, the device must have a direct public IP and must not pass through NAT.