Hi,   
When I put a TM NATIONS server on manualy.. 
I use ports..   
server port: 2350+ 
P2P port: I dont know, but dont change it because when you do the server wont work 
and port 5000+ : used to remote acces the server with control panels and stuff like that to restart, kick,ban,connections with databases..   
so 2350 is your server port, allways increase this with 1 when I create new server   
the P2P port: DONT TOUTGH IT.. If you do it wont work    
and port 5000 is your Query or Rcon port.. but I dont know anything about this .. , allways increase this with 1 when I create new server   
Thats all ports you need    
I think that 5000+ is the query port because TMN is no Quake 3 based game..    
Greetz Azza