Small utility to find out a machine IP (as seen from the internet).
If you have a Go(lang) installation
go get github.com/brunetto/fip
otherwise (if you run an Ubuntu 64bit) just download the binary.
Use like:
fip once
to run it one time and get back the ip on the STDOUT (useful to start a file server for example)
Launch with
(./fip)&
to have it run indefinitely and updating the ip.txt file (useful to have an update address to connect to).
You can also query the ip address as seen from the local network with:
fip local <interface>