From 5e9c6b0bb5cdada67e2c13a1b6b34d57560f23dc Mon Sep 17 00:00:00 2001 From: cnphpbb Date: Fri, 19 Jun 2026 12:39:39 +0800 Subject: [PATCH] =?UTF-8?q?fix(shell):=20=E6=9B=B4=E6=96=B0=E4=BB=A3?= =?UTF-8?q?=E7=90=86=E5=87=BA=E5=8F=A3=20IP=20=E6=A3=80=E6=B5=8B=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=E4=B8=BA=20inet-ip.info?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/proxy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/proxy.sh b/shell/proxy.sh index 239708b..49980ba 100644 --- a/shell/proxy.sh +++ b/shell/proxy.sh @@ -101,7 +101,7 @@ function proxy_test() { echo -n "直连出口 IP: " curl -w "\n" --max-time 5 myip.ipip.net 2>/dev/null || echo "获取失败" - # 4. 显示代理出口 IP(走代理) + # 4. 显示代理出口 IP(走代理,通过 HTTPS CONNECT 获取更稳定) echo -n "代理出口 IP: " - curl -w "\n" --max-time 8 -x "${HTTP_PROXY_URL}" myip.ipip.net 2>/dev/null || echo "获取失败" + curl -w "\n" --max-time 8 -x "${HTTP_PROXY_URL}" inet-ip.info 2>/dev/null || echo "获取失败" }