Linux sunucuda komut satırında bir sunucunun dış IP’sini CURL ile bulabilirsiniz.
Buyrun, Komut tam da şu şekild:

curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'