Skip to content

IP

可快速查看当前 本地网络(宽带)代理(梯子) 的 IP 信息

🏠 本地网络(宽带)

TIP

terminal
bash
curl cip.cc
terminal
bash
station :: /app » curl cip.cc
IP      : 156.000.00.00
地址    : 中国 香港
运营商  : Cloudinnovation

数据二  : 中国香港新界 | LARUS

数据三  : 中国香港

URL     : http://www.cip.cc/156.000.00.00

🚀 代理网络(梯子)

terminal
bash
curl ip.sb

通常用于查看你的代理(VPN / 代理服务器)出口 IP。 返回内容简洁,适合在脚本中调用。

🌍 查看详细国家和位置信息

TIP

terminal
bash
curl ipinfo.io
terminal
bash
station :: /app » curl ipinfo.io
{
  "ip": "156.000.00.00",
  "city": "Tung Chung",
  "region": "Islands",
  "country": "HK",
  "loc": "00.0000,00.0000",
  "org": "AS63888 DXXXXXXX XXXXXXX",
  "postal": "999077",
  "timezone": "Asia/Hong_Kong",
  "readme": "https://ipinfo.io/missingauth"
}#

💡 实用技巧

  • 仅显示 IP:

    bash
    curl -s ipinfo.io | jq -r .ip

    或者:

    bash
    curl -s ip.sb | grep -Eo '([0-9]+\.){3}[0-9]+'
  • 对比本地与代理 IP:

    bash
    echo "Local:" && curl -s cip.cc
    echo "\nProxy:" && curl -s ip.sb

📎 参考