Files
nas/docker/proxy/mihomo/config.yaml
T
wangjia fe6589cc03 fix(proxy): mihomo 上游 ec2-sg → pangolin1-us(ec2 2026-07-04 退役漏改依赖,NAS 断外网复盘修复)
根因:ec2 退役释放 EIP 18.136.60.128,但 NAS mihomo 唯一上游仍指向它,
所有走代理的境外流量拨号超时。切换到 pangolin1(103.119.13.48)的
sing-box VLESS Reality :443(flow xtls-rprx-vision,SNI www.apple.com),
route-exclude 同步更新。NAS 实机已于 2026-07-05 切换并验证恢复。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-05 23:20:25 +08:00

78 lines
1.6 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
mixed-port: 7890
allow-lan: true
bind-address: '*'
mode: rule
log-level: info
ipv6: false
external-controller: 0.0.0.0:9090
tun:
enable: true
stack: gvisor
mtu: 1500
auto-route: true
auto-detect-interface: true
route-exclude-address:
- 103.119.13.48/32
dns-hijack:
- any:53
dns:
enable: true
listen: 0.0.0.0:53
enhanced-mode: fake-ip
fake-ip-persist: true
fake-ip-range: 198.18.0.0/15
fake-ip-filter:
- '*.lan'
- '*.local'
- 'time.*.com'
- 'ntp.*.com'
- '+.pool.ntp.org'
# Tailscale 控制面/DERP 必须解析为真实 IP,否则 fake-ip 会导致 tailscaled
# 连不上控制服务器、tailscale up 卡住不打印登录 URL。详见 docs/public-access.md
- '+.tailscale.com'
- '+.tailscale.io'
- '+.tailscale-dns.com'
nameserver:
- 114.114.114.114
- 223.5.5.5
fallback:
- 8.8.8.8
- 1.1.1.1
fallback-filter:
geoip: true
geoip-code: CN
proxies:
# 上游 = pangolin1103.119.13.48sing-box VLESS Reality :443,伪装 www.apple.com
# 2026-07-05 由 ec2-sg 切换而来(ec2 已于 2026-07-04 退役,EIP 已释放)
- name: "pangolin1-us"
type: vless
server: 103.119.13.48
port: 443
uuid: <VLESS_UUID>
network: tcp
flow: xtls-rprx-vision
tls: true
udp: true
reality-opts:
public-key: TAPOvsNOTm9faWdqXz4vkpK_dVQJWjwWqS_PKK6ytBg
short-id: 69ddbef9f69d07d3
servername: www.apple.com
client-fingerprint: chrome
proxy-groups:
- name: "Proxy"
type: select
proxies:
- pangolin1-us
- DIRECT
rules:
- GEOIP,private,DIRECT
- GEOSITE,cn,DIRECT
- GEOIP,CN,DIRECT
- MATCH,Proxy