If you’re looking for the public facing external IP address that the outside world sees of an iPhone (or any smartphone for that matter) when using it’s cellular data connection, you won’t find the external IP alongside the local IP in iOS Settings. Rather than poking around in the devices confusing field test mode menus, all you need to do is launch Safari, Chrome, or your iOS browser app of choice, and then use a handy Google trick:
Google for “What is my IP”
Find the public facing outside IP at the very top of the screen, without interacting with any search results
Because Google search now provides external IP address natively, you no longer need to visit some of the third party web sites to find this handy information. This really is the fastest way to get a public IP from any cellular equipped device that we know of.
This is mostly useful for iPhone and cellular iPad devices that have some sort of server running on them, whether it’s SSH or otherwise, or if you’re looking to open connections on a router or firewall for specific IP addresses. If you’re looking for this info to set up IP filtering, keep in mind that the outside IP of an iPhone or any other smartphone is going to change much more often than a standard broadband IP, often whenever a cell device jumps from one cell tower to another.
As you probably guessed, this trick works on the desktop as well, though it’s often faster on a Mac to retrieve from the command line instead.