# SCT Camp · Shadowrocket 学员版 · 2026-11-17 # 仅分流规则,不含节点、订阅或凭据;请自行选择自己的代理节点 # 基于原配置移除个人域名/IP及个性化站点例外,未改变通用分流逻辑 # 默认未匹配流量走 PROXY;IPv6 关闭;依赖第三方远程规则 # 请遵守所在地法律及服务条款,导入后先检查规则与自己的节点兼容性 [General] # Shadowrocket 是唯一网络入口;本文件不定义节点,不包含任何凭据。 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 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 dns-server = https://dns.alidns.com/dns-query#no-h3 fallback-dns-server = system dns-direct-system = false dns-direct-fallback-proxy = false private-ip-answer = true ipv6 = false prefer-ipv6 = false icmp-auto-reply = true udp-policy-not-supported-behaviour = REJECT hijack-dns = 8.8.8.8:53, 8.8.4.4:53, 1.1.1.1:53, 1.0.0.1:53 [Rule] # 本地网络最先直连。 RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/Lan/Lan.list,DIRECT # OpenAI / ChatGPT / Codex:核心域名显式在前,社区规则补齐长尾域名。 DOMAIN,ws.chatgpt.com,PROXY,force-remote-dns DOMAIN-SUFFIX,chatgpt.com,PROXY,force-remote-dns DOMAIN-SUFFIX,openai.com,PROXY,force-remote-dns DOMAIN-SUFFIX,oaistatic.com,PROXY,force-remote-dns DOMAIN-SUFFIX,oaiusercontent.com,PROXY,force-remote-dns DOMAIN-SUFFIX,oaistatsig.com,PROXY,force-remote-dns DOMAIN-SUFFIX,openaimerge.com,PROXY,force-remote-dns DOMAIN-SUFFIX,openaiapi-site.azureedge.net,PROXY,force-remote-dns DOMAIN-SUFFIX,openaicom.imgix.net,PROXY,force-remote-dns DOMAIN-SUFFIX,workos.com,PROXY,force-remote-dns DOMAIN-SUFFIX,workoscdn.com,PROXY,force-remote-dns DOMAIN,challenges.cloudflare.com,PROXY,force-remote-dns RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/OpenAI/OpenAI.list,PROXY,force-remote-dns # Claude / Anthropic。 DOMAIN-SUFFIX,claude.ai,PROXY,force-remote-dns DOMAIN-SUFFIX,claude.com,PROXY,force-remote-dns DOMAIN-SUFFIX,anthropic.com,PROXY,force-remote-dns DOMAIN-SUFFIX,anthropic.systems,PROXY,force-remote-dns RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/Claude/Claude.list,PROXY,force-remote-dns # 视频分流:YouTube 走国际,Bilibili 及其 CDN 直连。 RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/YouTube/YouTube.list,PROXY,force-remote-dns RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/BiliBili/BiliBili.list,DIRECT # 常见海外站点优先代理,再判断中国大陆域名/IP。 DOMAIN-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/Proxy/Proxy_Domain.list,PROXY,force-remote-dns RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/Proxy/Proxy.list,PROXY,force-remote-dns DOMAIN-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/China/China_Domain.list,DIRECT RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/China/China.list,DIRECT GEOIP,CN,DIRECT # FINAL 必须是最后一条有效规则。 FINAL,PROXY [Host] localhost = 127.0.0.1