US2 出口线路

独立第二条代理线 · 与 goertek.anserlabs.com(10800)互不影响 · 更新于 2026-11-18

线路参数

公网入口socks5://47.103.153.32:10801
出口地址50.116.12.25 · Fremont, US · Akamai
链路入口 → aliyun sing-box-us2 (127.0.0.1:1081) → trojan+TLS/TCP 80 → akamai-us2 出网
认证无应用层账号密码。安全边界 = 阿里云安全组来源 IP 白名单(sg-uf62672033m4bmreb6lq)
超时nginx proxy_timeout 1h,与 10800 一致(Codex Responses WebSocket 空闲零字节)

我现在的公网 IP

读取中…
白名单里现有:117.143.17.202 114.92.112.219 39.144.105.216 64.64.242.16
不在列表里 → 10801 会静默超时(不是密码错,也不是服务挂)。

客户端配置

# 先在程序坞 ⌘Q 完全退出 ChatGPT,否则复用旧实例、参数不生效
open -a ChatGPT --args --proxy-server=socks5://47.103.153.32:10801 --disable-quic
Chromium 的 --proxy-server 不接受带认证的 SOCKS URL,所以这里不能写用户名密码。
:: 存成 chatgpt-proxy.cmd,双击启动
set "GPT=%LOCALAPPDATA%\Programs\ChatGPT\ChatGPT.exe"
start "" "%GPT%" --proxy-server=socks5://47.103.153.32:10801 --disable-quic
桌面端自动更新可能重写快捷方式、清掉参数,用 .cmd 更稳。
export ALL_PROXY=socks5h://47.103.153.32:10801
export HTTP_PROXY=socks5h://47.103.153.32:10801
export HTTPS_PROXY=socks5h://47.103.153.32:10801
export NO_PROXY=127.0.0.1,localhost,::1
codex login status
CLI 必须用 socks5h(h = 域名在代理侧解析,绕开本地 DNS 污染)。变量跟着终端窗口走,新窗口要重设。
{
  "type": "socks",
  "tag": "us2",
  "server": "47.103.153.32",
  "server_port": 10801
}
sing-box / Clash.Meta 的 socks 出站片段。入口本身无认证,不需要 username/password 字段。
socks://47.103.153.32:10801
Shadowrocket / Stash 里新增 SOCKS5 节点,服务器 47.103.153.32、端口 10801、认证留空。手机出口 IP 需先加进白名单。

白名单管理

AK 只在你的 Mac 与 ECS 上,这个页面不持有云凭据。加/删一条来源:
# 加
aliyun ecs AuthorizeSecurityGroup --RegionId cn-shanghai \
  --SecurityGroupId sg-uf62672033m4bmreb6lq --IpProtocol tcp --PortRange 10801/10801 \
  --SourceCidrIp <你的公网IP>/32 --Policy accept \
  --Description "us2-10801:<你的公网IP>" --profile firewall-audit

# 删(先查再删)
aliyun ecs DescribeSecurityGroupAttribute --RegionId cn-shanghai \
  --SecurityGroupId sg-uf62672033m4bmreb6lq --profile firewall-audit | grep -A3 10801
改完立即生效,不需要重启任何服务。只允许改 10801,不要动 10800 / 28673 / 80 / 443。

自检

# 1. 隧道到出口(期望输出 50.116.12.25)
curl -s --socks5-hostname 47.103.153.32:10801 https://api.ipify.org; echo

# 2. 服务端(aliyun)
ssh aliyun 'systemctl is-active sing-box-us2; ss -lnt | grep :1081; ss -lnt | grep :10801'

# 3. 出口端(akamai-us2)
ssh akamai-us2 'systemctl is-active sing-box-us2 hysteria-server; ss -lnt | grep ":80 "'

排障

curl 超时当前公网 IP 不在白名单,或换网了。按上节加一条即可。
curl 立刻报错47.103.153.32:10801 没人监听 → systemctl status nginx 与 sing-box-us2
SOCKS 通了但页面转圈出口端 akamai-us2 的 sing-box-us2 挂了,查 journalctl -u sing-box-us2
ChatGPT 提示地区不可用不是从改过的快捷方式/脚本启动,或旧进程没退干净
speed 只有几百 KB/strojan+TLS over TCP 在跨境链路上有 TLS-in-TLS 开销;该机 UDP 入站被云防火墙封着,开放后走 hysteria2 会明显更快

已知限制