How to add external IP to IPFS swarm announcing list

I don’t know. I have a node behind NAT and after few minutes it adds correctly the exterior IP (if the ports are accessible) to the announce. No idea about the mechanism behind it, but it is automatic (in my case) after some time.