# Shadowrocket: 为自用配置,可能不太适合所有人使用,由于不太清楚所有人流媒体正则就未创建策略组,可以自行添加 #国内分流使用了asn,也可以配合geoip食用 https://github.com/Hackl0us/GeoIP2-CN/raw/release/Country.mmdb 自行复制链接添加 [General] always-real-ip = *.msftncsi.com,*.srv.nintendo.net,*.stun.playstation.net,xbox.*.microsoft.com,*.xboxlive.com,*.logon.battlenet.com.cn,*.logon.battle.net,stun.l.google.com bypass-system = true skip-proxy = localhost, *.local, passenger.t3go.cn, e.crashlytics.com, captive.apple.com, seed-sequoia.siri.apple.com, sequoia.apple.com, app.yinxiang.com, injections.adguard.org, local.adguard.org, cable.auth.com, *.id.ui.direct, www.baidu.com, yunbusiness.ccb.com, wxh.wo.cn, gate.lagou.com, www.abchina.com.cn, mbank.psbc.com, ibfp.psbc.com, 10.0.0.0/8, 100.64.0.0/10, 127.0.0.1/32, 169.254.0.0/16, 172.16.0.0/12, 192.168.0.0/16, 192.168.122.1/32, 193.168.0.1/32, 224.0.0.0/4, 240.0.0.0/4, 255.255.255.255/32, ::1/128, fc00::/7, fd00::/8, fe80::/10, ff00::/8, 2001::/32, 2001:db8::/32, 2002::/16, ::ffff:0:0:0:0/1, ::ffff:128:0:0:0/1 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://223.5.5.5/dns-query,223.5.5.5,119.29.29.29 ipv6 = false prefer-ipv6 = false dns-fallback-system = false dns-direct-system = false icmp-auto-reply = true always-reject-url-rewrite = false private-ip-answer = true dns-direct-fallback-proxy = true udp-policy-not-supported-behaviour = reject [Proxy Group] VIU TV = select,PROXY,SG,US,KR,JP,TW,HK,interval=600,timeout=5,select=0,url=http://www.gstatic.com/generate_204 HBO GO = select,PROXY,SG,US,KR,JP,TW,HK,interval=600,timeout=5,select=0,url=http://www.gstatic.com/generate_204 HBO = select,PROXY,SG,US,KR,JP,TW,HK,interval=600,timeout=5,select=0,url=http://www.gstatic.com/generate_204 bilibili = select,DIRECT,HK,TW,interval=600,timeout=5,select=0,url=http://www.gstatic.com/generate_204 AmazonPrimeVideo = select,PROXY,SG,US,KR,JP,TW,HK,interval=600,timeout=5,select=0,url=http://www.gstatic.com/generate_204 Disney+ = select,PROXY,SG,US,KR,JP,TW,HK,interval=600,timeout=5,select=0,url=http://www.gstatic.com/generate_204 NETFLIX = select,PROXY,SG,US,KR,JP,TW,HK,interval=600,timeout=5,select=0,url=http://www.gstatic.com/generate_204 FACEBOOK = select,PROXY,SG,US,KR,JP,TW,HK,interval=600,timeout=5,select=0,url=http://www.gstatic.com/generate_204 Youtube = select,PROXY,SG,US,KR,JP,TW,HK,interval=86400,timeout=5,select=0,url=http://www.gstatic.com/generate_204 Spotify = select,PROXY,SG,US,KR,JP,TW,HK,interval=86400,timeout=5,select=0,url=http://www.gstatic.com/generate_204 NetEaseMusic = select,DIRECT,interval=86400,timeout=5,select=0,url=http://www.gstatic.com/generate_204 SG = fallback,url=http://www.gstatic.com/generate_204,interval=600,timeout=5,select=0,policy-regex-filter=(新加坡|狮城|SG|Singapore|🇸🇬) US = fallback,url=http://www.gstatic.com/generate_204,interval=600,timeout=5,select=0,policy-regex-filter=(美国|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US|United|America|🇺🇸) KR = fallback,url=http://www.gstatic.com/generate_204,interval=600,timeout=5,select=0,policy-regex-filter=(KR|Korea|KOR|首尔|韩国|🇰🇷) JP = fallback,url=http://www.gstatic.com/generate_204,interval=600,timeout=5,select=0,policy-regex-filter=(日本|川日|东京|大阪|泉日|埼玉|沪日|深日|JP|Japan|🇯🇵) TW = fallback,url=http://www.gstatic.com/generate_204,interval=600,timeout=5,select=0,policy-regex-filter=(台湾|TW|Tai) HK = fallback,url=http://www.gstatic.com/generate_204,interval=600,timeout=5,select=0,policy-regex-filter=(香港|HK|Hong|🇭🇰) [Rule] RULE-SET,https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Unbreak.list,DIRECT AND,((PROTOCOL,UDP), (DEST-PORT,443)),REJECT-NO-DROP RULE-SET,https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Guard/Advertising.list,REJECT RULE-SET,https://raw.githubusercontent.com/limbopro/Adblock4limbo/main/Adblock4limbo_surge.list,REJECT RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/Telegram/Telegram.list,PROXY RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/YouTube/YouTube.list,YOUTUBE RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/Spotify/Spotify.list,SPOTIFY #隐藏ip分流根据自己需求来,需要的可以删掉注释 #RULE-SET,https://raw.githubusercontent.com/lwd-temp/anti-ip-attribution/main/generated/surge.list,PROXY RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/Facebook/Facebook.list,FACEBOOK RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/BiliBili/BiliBili.list,BILIBILI RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/ViuTV/ViuTV.list,VIU TV RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/HBOAsia/HBOAsia.list,HBO GO RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/HBO/HBO.list,HBO RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/NetEaseMusic/NetEaseMusic.list,NETEASEMUSIC RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/Google/Google.list,PROXY RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/AmazonPrimeVideo/AmazonPrimeVideo.list,AMAZONPRIMEVIDEO RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/Netflix/Netflix.list,NETFLIX RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/Disney/Disney.list,DISNEY+ RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/Apple/Apple.list,DIRECT RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/WeChat/WeChat.list,DIRECT RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/Tencent/Tencent.list,DIRECT RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/Global/Global.list,PROXY DOMAIN-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/Global/Global_Domain.list,PROXY DOMAIN-SUFFIX,local,DIRECT IP-CIDR,172.16.0.0/12,DIRECT IP-CIDR,10.0.0.0/8,DIRECT IP-CIDR,192.168.0.0/16,DIRECT IP-CIDR,127.0.0.0/8,DIRECT IP-CIDR,100.64.0.0/10,DIRECT IP-CIDR,224.0.0.0/4,DIRECT RULE-SET, https://raw.githubusercontent.com/VirgilClyne/GetSomeFries/main/ruleset/ASN.China.list,DIRECT OR,((DEST-PORT,995), (DEST-PORT,993), (DEST-PORT,587), (DEST-PORT,465), (DEST-PORT,143), (DEST-PORT,110), (DEST-PORT,109), (DEST-PORT,25)),DIRECT AND,((OR,((DOMAIN,time-ios.apple.com), (DOMAIN,time.apple.com), (DOMAIN-SUFFIX,pool.ntp.org))), (DEST-PORT,123)),DIRECT GEOIP,CN,DIRECT FINAL,PROXY [Host] localhost = 127.0.0.1 apple.com = server:223.5.5.5 *.apple.com = server:223.5.5.5 appsto.re = server:223.5.5.5 *.appsto.re = server:223.5.5.5 aaplimg.com = server:223.5.5.5 *.aaplimg.com = server:223.5.5.5 apple-dns.net = server:223.5.5.5 *.apple-dns.net = server:223.5.5.5 apple.co = server:223.5.5.5 *.apple.co = server:223.5.5.5 applestore.com = server:223.5.5.5 *.applestore.com = server:223.5.5.5 apple.com.cn = server:223.5.5.5 *.apple.com.cn = server:223.5.5.5 cdn-apple.com = server:223.5.5.5 *.cdn-apple.com = server:223.5.5.5 apple-cloudkit.com = server:223.5.5.5 *.apple-cloudkit.com = server:223.5.5.5 crashlytics.com = server:223.5.5.5 *.crashlytics.com = server:223.5.5.5 icloud.com = server:223.5.5.5 *.icloud.com = server:223.5.5.5 icloud.com.cn = server:223.5.5.5 *.icloud.com.cn = server:223.5.5.5 icloud-content.com = server:223.5.5.5 *.icloud-content.com = server:223.5.5.5 me.com = server:223.5.5.5 *.me.com = server:223.5.5.5 mzstatic.com = server:223.5.5.5 *.mzstatic.com = server:223.5.5.5 organicfruitapps.com = server:223.5.5.5 *.organicfruitapps.com = server:223.5.5.5 apple.com.akadns.net = server:223.5.5.5 *.apple.com.akadns.net = server:223.5.5.5 icloud.com.akadns.net = server:223.5.5.5 *.icloud.com.akadns.net = server:223.5.5.5 taobao.com = server:223.5.5.5 *.taobao.com = server:223.5.5.5 tmall.com = server:223.5.5.5 *.tmall.com = server:223.5.5.5 jd.com = server:119.29.29.29 *.jd.com = server:119.29.29.29 *.qq.com = server:119.29.29.29 *.tencent.com = server:119.29.29.29 *.alicdn.com = server:223.5.5.5 aliyun.com = server:223.5.5.5 *.aliyun.com = server:223.5.5.5 weixin.com = server:119.28.28.28 *.weixin.com = server:119.28.28.28 bilibili.com = server:119.29.29.29 *.bilibili.com = server:119.29.29.29 hdslb.com = server:119.29.29.29 163.com = server:119.29.29.29 *.163.com = server:119.29.29.29 126.com = server:119.29.29.29 *.126.com = server:119.29.29.29 *.126.net = server:119.29.29.29 *.127.net = server:119.29.29.29 *.netease.com = server:119.29.29.29 mi.com = server:119.29.29.29 *.mi.com = server:119.29.29.29 xiaomi.com = server:119.29.29.29 *.xiaomi.com = server:119.29.29.29 [URL Rewrite] ^https?:\/\/(www.)?(g|google)\.cn https://www.google.com 302 ^https?:\/\/(ditu|maps).google\.cn https://maps.google.com 302 ^https?:\/\/(www.)?taobao\.com\/ https://taobao.com/ 302 ^https?:\/\/(www.)?jd\.com\/ https://www.jd.com/ 302 ^https?:\/\/(www.)?mi\.com\/ https://www.mi.com/ 302 ^https?:\/\/you\.163\.com\/ https://you.163.com/ 302 ^https?:\/\/(www.)?suning\.com\/ https://suning.com/ 302 ^https?:\/\/(www.)?yhd\.com\/ https://yhd.com/ 302 ^https?:\/\/(www.)?firefox\.com\.cn\/(download\/)?$ https://www.mozilla.org/zh-CN/firefox/new/ 302 ^https?:\/\/(www.)?ign\.xn--fiqs8s\/ http://cn.ign.com/ccpref/us 302 ^https?:\/\/(www.)?abbyychina\.com\/ https://www.abbyy.cn/ 302 ^https?:\/\/(www.)?anydeskchina.cn/ https://anydesk.com/zhs 302 ^https?:\/\/(www.)?bartender\.cc\/ https://www.macbartender.com/ 302 ^https?:\/\/(www.)?(betterzipcn|betterzip)\.(com|net)\/ https://macitbetter.com/ 302 ^https?:\/\/(www.)?beyondcompare\.cc\/ https://www.scootersoftware.com/ 302 ^https?:\/\/(www.)?bingdianhuanyuan\.cn\/ https://www.faronics.com/zh-hans/products/deep-freeze 302 ^https?:\/\/(www.)?chemdraw\.com\.cn\/ https://www.perkinelmer.com.cn/ 302 ^https?:\/\/(www.)?codesoftchina\.com\/ https://www.teklynx.com/ 302 ^https?:\/\/(www.)?coreldrawchina\.com\/ https://www.coreldraw.com/cn/ 302 ^https?:\/\/(www.)?crossoverchina\.com\/ https://www.codeweavers.com/ 302 ^https?:\/\/(www.)?dongmansoft\.com\/ https://www.udongman.cn/ 302 ^https?:\/\/(www.)?earmasterchina\.cn\/ https://www.earmaster.com/ 302 ^https?:\/\/(www.)?easyrecoverychina\.com\/ https://www.ontrack.com/ 302 ^https?:\/\/(www.)?ediuschina\.com\/ https://www.grassvalley.com/ 302 ^https?:\/\/(www.)?flstudiochina\.com\/ https://www.image-line.com/ 302 ^https?:\/\/(www.)?formysql\.com\/ https://www.navicat.com.cn/ 302 ^https?:\/\/(www.)?guitarpro\.cc\/ https://www.guitar-pro.com/ 302 ^https?:\/\/(www.)?huishenghuiying\.com\.cn\/ https://www.coreldraw.com/cn/ 302 ^https?:\/\/hypersnap\.mairuan\.com\/ https://www.hyperionics.com/ 302 ^https?:\/\/(www.)?iconworkshop\.cn\/ https://www.axialis.com/ 302 ^https?:\/\/(www.)?idmchina\.net\/ https://www.internetdownloadmanager.com/ 302 ^https?:\/\/(www.)?imindmap\.cc\/ https://www.ayoa.com/previously-imindmap/ 302 ^https?:\/\/(www.)?jihehuaban\.com\.cn\/ https://www.chartwellyorke.com/sketchpad/x24795.html 302 ^https?:\/\/hypersnap\.mairuan\.com\/ https://www.keyshot.com/ 302 ^https?:\/\/(www.)?kingdeecn\.cn\/ http://www.kingdee.com/ 302 ^https?:\/\/(www.)?logoshejishi\.com https://www.sothink.com/product/logo-design-software/ 302 ^https?:\/\/logoshejishi\.mairuan\.com\/ https://www.sothink.com/product/logo-design-software/ 302 ^https?:\/\/(www.)?luping\.net\.cn\/ https://www.techsmith.com/ 302 ^https?:\/\/(www.)?mathtype\.cn\/ https://www.dessci.com/ 302 ^https?:\/\/(www.)?mindmanager\.(cc|cn)\/ https://www.mindjet.com/cn/ 302 ^https?:\/\/(www.)?mindmapper\.cc\/ https://www.mindmapper.com/ 302 ^https?:\/\/(www.)?(mycleanmymac|xitongqingli)\.com\/ https://macpaw.com/ 302 ^https?:\/\/(www.)?nicelabel\.cc\/ https://www.nicelabel.com/zh/ 302 ^https?:\/\/(www.)?ntfsformac\.cc\/ https://www.tuxera.com/products/tuxera-ntfs-for-mac-cn/ 302 ^https?:\/\/(www.)?ntfsformac\.cn\/ https://china.paragon-software.com/home-mac/ntfs-for-mac/ 302 ^https?:\/\/(www.)?officesoftcn\.com\/ https://www.microsoft.com/zh-cn/microsoft-365 302 ^https?:\/\/(www.)?overturechina\.com\/ https://sonicscores.com/ 302 ^https?:\/\/(www.)?passwordrecovery\.cn\/ https://cn.elcomsoft.com/aopr.html 302 ^https?:\/\/(www.)?pdfexpert\.cc\/ https://pdfexpert.com/zh 302 ^https?:\/\/(www.)?photozoomchina\.com\/ https://www.benvista.com/ 302 ^https?:\/\/(www.)?shankejingling\.com\/ https://www.sothink.com/product/flashdecompiler/ 302 ^https?:\/\/cn\.ultraiso\.net\/ https://cn.ezbsystems.com/ultraiso/ 302 ^https?:\/\/(www.)?vegaschina\.cn\/ https://www.vegascreativesoftware.com/ 302 ^https?:\/\/(www.)?xshellcn\.com\/ https://www.netsarang.com/zh/xshell/ 302 ^https?:\/\/(www.)?yuanchengxiezuo\.com\/ https://www.teamviewer.com/ 302 ^https?:\/\/(www.)?zbrushcn\.com\/ https://pixologic.com/ 302 ^https?:\/\/api\.abema\.io\/v\d\/ip\/check - reject ^http:\/\/(www.)?aicoin\.cn\/$ https://www.aicoin.com/ 302 [MITM] enable = true hostname = www.google.cn,www.firefox.com.cn