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.go
This is MIT License.
- Public IP used by ipify. It checked your
x-forwarded-for
value. - Private IP used
ipconfig
tool for macOS,hostname
tool for Linux andipconfig
tool for Windows. It included in each Operating System.