Changes to external ip

You can use UPNP to get your external IP from your router.
This library can do it pretty easily.