Is there a simple way to determine the LAN and WAN IP address of a connected device?
I frequently need to check the local and external IP addresses of devices, especially mobile devices, but I tend to have to look in more than one place for the information. One regular problem is only being able to determine the IPV4 or IPV6 WAN IP address but not both necessitating two separate lookup operations in addition to the LAN IP lookup.
What I need is a simple piece of code (no particular language preference) that will retrieve the LAN and WAN IPV4 and IPV6 addresses to be stored or displayed as required.
Alternatively, for my Android devices at least, are there any utility apps that can show this information quickly in one place?