Some routers aren't capable of properly hosting as the port forwarding only applies to connections from outside not ones from inside the network. The simplest way to find out is to configure the server using the WAN IP and getting somebody external to try logging in, if they can and you can't it's likely your router is one that can't.
If you want to be absolutely sure the server config is working right then run cabal_config and when asked for the IP players will connect to use the centos IP. Also use the same ip in your internal.txt and if that works the the server is fine and the problem is at the router end somewhere. Using a port checker like
www.canyouseeme.org is useful to work out if the ports are actually open (remember they will still show as closed if the server is not running).