Introducing whatip.info. A very very simple Go program behind an NGINX server to resolve and return the remote IPv4 (and soon IPv6) address.
My motivation behind it is dead simple: I need that exact functionality from something I know I control. Prior to this, I was using several alternatives:
As you can see, it is dead simple. The program runs a webserver with a powerful http router, and it attempts to get the IPv4 address from headers or request object.
This is running it in an Oracle Cloud Infrastructure “Always Free” VM. Which means, I’m using a VM.Standard.E2.1.Micro (1/8 vCPUs and 1Gb of Ram Memory, 480 Mbps i/o and 1 VNIC)