Find Public IP via Command Line

Sometimes when setting up NAT it is useful to see if you have done your configuration correctly.  Using this command you can see what your public IP address is from a command line.

 

wget -qO - http://www.whatismyip.org

Leave a Reply

Your email address will not be published. Required fields are marked *