curl 2ip.ru или wget -O - -q icanhazip.com