If you want to check through the Web Browser, please visit IPbyNet website and easily check your public IP.
- macOS
- Linux
This is a CLI tool.
- Quickly and simply use
ipby- Advanced options
ipby <command>- version: check ipby version
- all: show detail IP for public and private
- public: show detail IP for IP public
- private: show detail IP for private
- help: command explains
Before this, need GIT and GoLang
git clone https://github.com/leelsey/ipby
cd IPby/cmd/ipby && go mod tidy
go build ipby.goThis is MIT License.
- Public IP used by ipify. It checked your
x-forwarded-forvalue. - Private IP used
ipconfigtool for macOS,hostnametool for Linux andipconfigtool for Windows. It included in each Operating System.