Linux Shell view current extranet Ip_linux shell

Source: Internet
Author: User
Tags benchmark curl

Function Fly Shovel is simpler, just get the extranet IP. Some sites are processed for Curl UA.

Meet their own collection of addiction, collected a lot can be used to query the Internet IP URLs and methods.

#国内某网站的接口, only return IP
Curl ip.6655.com/ip.aspx
Curl whatismyip.akamai.com
#更多用法访问ifconfig. Co
Wget-qo- ifconfig.co
 
Curl icanhazip.com
dig +short myip.opendns.com @resolver1.
opendns.com Curl Curl v4.ident.me
Curl v6.ident.me
#慢
Curl curlmyip.com 
Curl ifconfig.me Curl Inet-ip.info
 
 
#返回IP和地区
Curl ip.6655.com/ip.aspx?area=1
Curl 1111.ip138.com/ic.asp
Curl
ip.cn Curl cip.cc
 
 
#需要翻x墙, return only IP
Curl ip.appspot.com
 
#参考 http://unix.stackexchange.com/questions/22615/ How-can-i-get-my-external-ip-address-in-bash
#有人给了以下测试方法
 
wget https://raw.githubusercontent.com/rsp/ Scripts/master/externalip-benchmark
chmod a+x externalip-benchmark
./externalip-benchmark

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.