Get NAT Public IP
Posted by Paul on 16th March 2012
Neat use of wget
to get the IP of the public-facing interface from behind a NAT:
$ wget -O - -q icanhazip.com
There are other alternatives to icanhazip.com, such as canihazip.com/s.
Neat use of wget
to get the IP of the public-facing interface from behind a NAT:
$ wget -O - -q icanhazip.com
There are other alternatives to icanhazip.com, such as canihazip.com/s.