This is not to do with the installation of AsteriskNOW, so you would get a better audience on Asterisk Support.
I don't use IAX, but assuming it is similar to SIP, in this respect. If you are talking about remote port numbers with SIP, this is trivial. If you are talking about local port numbers, the only way of doing it is to use tow instances, with a trunk between them.