On the 3CX debian ISO file, the firewall is pre-configured. I do not sure if it follows your new ports. Easiest way is to reinstalled using the standard ports and do the port forwarding. If that works, I am quite sure the problem is with the firewall rules. If you want, you could try modified...