Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
user:william:getting_external_ip [2020/02/23 02:00] 198.52.187.21 |
user:william:getting_external_ip [2020/07/08 22:04] 198.52.187.4 |
||
---|---|---|---|
Line 16: | Line 16: | ||
curl -sS http://ident.me/ | curl -sS http://ident.me/ | ||
curl -sS http://myip.dnsomatic.com/ | curl -sS http://myip.dnsomatic.com/ | ||
+ | curl -sS http://ip4.me/api/ | cut -d, -f2 | ||
* **IP buried in webpage:** | * **IP buried in webpage:** | ||
Line 27: | Line 28: | ||
lynx -dump http://monip.org/ | awk '/IP :/ {print $NF}' | lynx -dump http://monip.org/ | awk '/IP :/ {print $NF}' | ||
lynx -dump http://www.myipaddress.com/ | sed -ne "/Your computer's IP address is:/ {n;n;p}" | lynx -dump http://www.myipaddress.com/ | sed -ne "/Your computer's IP address is:/ {n;n;p}" | ||
- | lynx -dump http://whatismyip.com/ | awk '/My Public IPv4 is:/ {print $NF}' | + | lynx -dump http://whatismyip.com/ | awk -F'[]:[]' '/My Public IPv4 is:/ {print $NF}' |
* **Special DNS query:** | * **Special DNS query:** |