User Tools

Site Tools


linux:get-external-ip

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.txt · Last modified: 2023/05/29 11:55 by 127.0.0.1