1. By web page http://fmbip.com/ http://whatismyip.org/ 2. By command curl -s 'http://checkip.dyndns.org'