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