Linux:externalIP

Aus Alexander's Wiki

$ curl ifconfig.me 123.124.125.126 Erweiterte Informationen erhält man mit: $ curl ifconfig.me/all ip_addr: 123.124.125.126 remote_host: blfd-5dXXXX7a.pool.mediaWays.net user_agent: curl/7.27.0 port: 58431 lang: connection: keep_alive: encoding: mime: */* charset: via: forwarded: Es ist auch möglich mit einem Browser auf die Seite zu gehen, dort erhält man dann Informationen was alles abfragbar ist. Möchte man die eigene IPv6 Adresse wissen helfen diese Befehle:

$ curl icanhazip.com 2001:1608:xx:xx::31 $ curl v6.ident.me 2001:1608:xx:xx::31 Einige weitere Möglichkeiten per Konsole: $ curl http://ipecho.net/plain; 123.124.125.126 $ wget -q -O - http://wgetip.com 123.124.125.126 $ curl v4.ident.me 123.124.125.126

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

123.124.125.126

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

123.124.125.126 Weitere Möglichkeiten siehe http://api.ident.me (JSON, XML…) Webseiten mit Informationen zu eigenen IP-Adressen und weiteren Infos gibt es zuhauf: http://www.whatismyip.com http://www.wieistmeineip.de http://myipaddress.com http://www.ipchicken.com http://myip.dk http://www.moanmyip.com http://www.geobytes.com/IpLocator.htm http://www.wieistmeineip.eu http://www.speedreport.de/wie-ist-meine-ip