TNet automatically sends the internal and external IPs to the lobby server. External IP can sometimes not be detected as it's done by accessing a remote website, which is public and used by everyone, and as such may not always respond. I've posted the PHP script for it in the past -- it's a good idea to put it up on your own web server so it's more reliable.Help me pls, how to use your PHP script in Unity?
http://www.tasharen.com/forum/index.php?topic=7081.msg33577#msg33577