1
2
3
4
5
6
7
curl https://ip.cn
curl icanhazip.com  
curl ident.me  
curl whatismyip.akamai.com  
curl tnx.nl/ip  
curl myip.dnsomatic.com 
curl ifconfig.me  

https://blog.csdn.net/liu0808/article/details/80769810