User Tools

Site Tools


linux:get-external-ip

This is an old revision of the document!


Get external IP

curl ifconfig.me
dig +short myip.opendns.com @resolver1.opendns.com
curl -s http://checkip.dyndns.org/ | grep -o "[[:digit:].]\+"
curl -s http://checkip.dyndns.org | sed 's/[a-zA-Z<>/ :]//g'
curl curlmyip.net
linux/get-external-ip.1551536825.txt.gz · Last modified: 2023/05/29 11:53 (external edit)