External IP Identification Service

From lathama
Jump to: navigation, search

To find your external IP or how the world sees you I setup the simple tool at https://lathama.net/ip/ and to use:

curl https://lathama.net/ip/

If you want to make your own then here is what the source of mine is. You can do all sorts of fun hacks but simple is best some times.

$ ssh lathama.net "cat public_html/lathama.net/ip/index.php"
<?php print $_SERVER["REMOTE_ADDR"];

Sponsorship and Advertising space here. Please contact me if interested.