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?
macOS Public IP – How to See Outgoing Internet Traffic
macosNetwork
Related Question
- Apple USB Ethernet Adapter has a self-assigned IP address and will not be able to connect to the Internet
- Wifi losing internet connection (while still connected to router)
- How to Forward Traffic from One Machine to Another with pfctl
- Assign a computer name to each network interface
- Cannot ping IPv4 address, but IPv6 ping works
Best Answer
Another quick service is
curl ifconfig.me
Add an echo afterwards to complete the line: