What CG-NAT is, how to detect it, why it is bad, what can you do about it

You can even test the number of different ports used, in case of a CG-Nat, the number of ports used is restricted:

For Nextcloud, it means that all the clients need to have a ipv6 connection. There are countries with over 70% coverage, in such a case, it might be an option.