Skip to content
/ pia Public

Display public and private IP address. (use STUN server)

License

Notifications You must be signed in to change notification settings

youkinjoh/pia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pia

Display public and private IP address. (use STUN server)

Installation

$ [sudo] npm install -g pia

Usage

$ pia
$ pia -j -g -i -t
$ pia --display-stun --specify-stun "stun.l.google.com:19302"

Practical Use

$ pia -s | xargs whois

Options

-a, --all               Display all information.
-g, --global            Display global information.
-l, --local             Display local information.
-i, --ip, --ip-address  Display ip address.
-p, --port              Display port.
-j, --json              Display json.
-s, --simple            Display simple style. (print without captions / JSON without space)
-t, --type              Display NAT type.
-h, --help              Display help.
--specify-stun          Specify STUN Server.
--display-stun          Display STUN Server.
--debug                 Debug mode.

About

Display public and private IP address. (use STUN server)

Resources

License

Stars

Watchers

Forks

Packages

No packages published