- 删除 dns 段,让 Windows/路由器 DNS 接管,避免节点域名解析受 mihomo DNS 配置影响 - 保留 sniffer 从 TLS SNI/HTTP Host/QUIC 嗅域名,保证基于域名的分流照常生效 - 代理流量在境外节点自行解析国外域名,本地污染无所谓 via [HAPI](https://hapi.run) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Co-Authored-By: HAPI <noreply@hapi.run>
22 lines
380 B
YAML
22 lines
380 B
YAML
mixed-port: 7890
|
|
allow-lan: true
|
|
bind-address: '*'
|
|
mode: rule
|
|
log-level: info
|
|
external-controller: '127.0.0.1:9090'
|
|
|
|
sniffer:
|
|
enable: true
|
|
override-destination: true
|
|
sniff:
|
|
HTTP:
|
|
ports: [80, 8080-8880]
|
|
override-destination: true
|
|
TLS:
|
|
ports: [443, 8443]
|
|
QUIC:
|
|
ports: [443, 8443]
|
|
skip-domain:
|
|
- 'Mijia Cloud'
|
|
- '+.push.apple.com'
|