macOS Public IP – How to See Outgoing Internet Traffic

macosNetwork

There is this nettop tool which shows the IP address but it doesn't show the public IP address when the Mac is connected via router – it shows the same address as we can see using System Preferences' Network option. Does anyone know how to see the public IP address of outgoing internet traffic leaving my computer?

Best Answer

Another quick service is curl ifconfig.me

Add an echo afterwards to complete the line:

curl ifconfig.me && echo

enter image description here