Howto config the stun setting when my server's ips are mapped in the router

My openfire server serv outside using the ip mapping from the router.So the stun setting cannot find these addresses.How to resolve this?