Bypass WeChat localhost callback
This commit is contained in:
@@ -74,6 +74,7 @@
|
||||
- DNS:DoH(DNSPod + AliDNS)+ 传统 DNS 双备份
|
||||
- DNS 劫持:拦截 8.8.8.8 / 8.8.4.4 防止硬编码 DNS 绕过规则
|
||||
- QUIC 屏蔽:对代理连接屏蔽 UDP/443,强制回退 HTTP/2
|
||||
- 本地服务保护:`localhost.weixin.qq.com` 固定解析到 `127.0.0.1` 并强制直连,避免 fake-IP 影响微信本地回调
|
||||
- Apple 推送:`push.apple.com`、`gateway.push.apple.com`、`api.push.apple.com`、`sandbox.push.apple.com` 默认走代理
|
||||
- Google 防跳转:`google.cn` / `g.cn` 自动 302 到 `google.com`
|
||||
- MITM:仅解密 `*.google.cn`
|
||||
|
||||
+5
-2
@@ -1,12 +1,12 @@
|
||||
# Shadowrocket 配置(可分享版)
|
||||
# 使用方法:导入后在首页添加自己的节点或订阅,规则自动生效
|
||||
# 更新时间: 2026-05-02
|
||||
# 更新时间: 2026-05-07
|
||||
|
||||
[General]
|
||||
update-url = https://raw.githubusercontent.com/LingJingMaster/Shadowrocket-Rules/refs/heads/main/Shadowrocket.conf
|
||||
bypass-system = true
|
||||
|
||||
skip-proxy = 192.168.0.0/16,10.0.0.0/8,172.16.0.0/12,localhost,*.local,captive.apple.com,*.ccb.com,*.abchina.com.cn,*.psbc.com
|
||||
skip-proxy = 192.168.0.0/16,10.0.0.0/8,172.16.0.0/12,localhost,localhost.weixin.qq.com,*.local,captive.apple.com,*.ccb.com,*.abchina.com.cn,*.psbc.com
|
||||
|
||||
tun-excluded-routes = 10.0.0.0/8, 100.64.0.0/10, 127.0.0.0/8, 169.254.0.0/16, 172.16.0.0/12, 192.0.0.0/24, 192.0.2.0/24, 192.88.99.0/24, 192.168.0.0/16, 198.51.100.0/24, 203.0.113.0/24, 224.0.0.0/4, 255.255.255.255/32, 239.255.255.250/32
|
||||
|
||||
@@ -67,6 +67,8 @@ block-quic = all-proxy
|
||||
|
||||
[Rule]
|
||||
|
||||
DOMAIN,localhost.weixin.qq.com,DIRECT
|
||||
|
||||
RULE-SET,https://raw.githubusercontent.com/LingJingMaster/Shadowrocket-Rules/refs/heads/main/AI.list,🤖 AI 服务
|
||||
|
||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/Advertising/Advertising.list,🛑 广告拦截
|
||||
@@ -99,6 +101,7 @@ GEOIP,CN,🔒 国内服务
|
||||
FINAL,🐟 漏网之鱼
|
||||
|
||||
[Host]
|
||||
localhost.weixin.qq.com = 127.0.0.1
|
||||
*.apple.com = server:system
|
||||
*.icloud.com = server:system
|
||||
localhost = 127.0.0.1
|
||||
|
||||
Reference in New Issue
Block a user