Bypass WeChat localhost callback

This commit is contained in:
LingJingMaster
2026-05-07 11:33:52 +08:00
parent a705570483
commit 517207fd59
2 changed files with 6 additions and 2 deletions
+1
View File
@@ -74,6 +74,7 @@
- DNSDoHDNSPod + AliDNS+ 传统 DNS 双备份 - DNSDoHDNSPod + AliDNS+ 传统 DNS 双备份
- DNS 劫持:拦截 8.8.8.8 / 8.8.4.4 防止硬编码 DNS 绕过规则 - DNS 劫持:拦截 8.8.8.8 / 8.8.4.4 防止硬编码 DNS 绕过规则
- QUIC 屏蔽:对代理连接屏蔽 UDP/443,强制回退 HTTP/2 - 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` 默认走代理 - Apple 推送:`push.apple.com``gateway.push.apple.com``api.push.apple.com``sandbox.push.apple.com` 默认走代理
- Google 防跳转:`google.cn` / `g.cn` 自动 302 到 `google.com` - Google 防跳转:`google.cn` / `g.cn` 自动 302 到 `google.com`
- MITM:仅解密 `*.google.cn` - MITM:仅解密 `*.google.cn`
+5 -2
View File
@@ -1,12 +1,12 @@
# Shadowrocket 配置(可分享版) # Shadowrocket 配置(可分享版)
# 使用方法:导入后在首页添加自己的节点或订阅,规则自动生效 # 使用方法:导入后在首页添加自己的节点或订阅,规则自动生效
# 更新时间: 2026-05-02 # 更新时间: 2026-05-07
[General] [General]
update-url = https://raw.githubusercontent.com/LingJingMaster/Shadowrocket-Rules/refs/heads/main/Shadowrocket.conf update-url = https://raw.githubusercontent.com/LingJingMaster/Shadowrocket-Rules/refs/heads/main/Shadowrocket.conf
bypass-system = true 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 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] [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/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,🛑 广告拦截 RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/Advertising/Advertising.list,🛑 广告拦截
@@ -99,6 +101,7 @@ GEOIP,CN,🔒 国内服务
FINAL,🐟 漏网之鱼 FINAL,🐟 漏网之鱼
[Host] [Host]
localhost.weixin.qq.com = 127.0.0.1
*.apple.com = server:system *.apple.com = server:system
*.icloud.com = server:system *.icloud.com = server:system
localhost = 127.0.0.1 localhost = 127.0.0.1