# ErdongChan-LazyConf # Update:2025.1 # ------------------ # YouTube:www.youtube.com/@erdongchan # Telegram:t.me/erdongchan # ------------------ [general] # 代理延迟测速,以确认节点的可用性 server_check_url=http://cp.cloudflare.com/generate_204 # 资源解析器 resource_parser_url= https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/resource-parser.js # geo_location_checker # 节点地理位置检查 geo_location_checker=http://ip-api.com/json/?lang=zh-CN, https://raw.githubusercontent.com/I-am-R-E/Functional-Store-Hub/Master/GeoLocationChecker/QuantumultX/IP-API.js # geo_location_checker=http://ip-api.com/json/?lang=zh-CN, https://github.com/KOP-XIAO/QuantumultX/raw/master/Scripts/IP_API.js # dns_exclusion_list # DNS排除列表 dns_exclusion_list = *.localnetwork.uop, *.qq.com, qq.com # 排除路线:包含的内容将不经过 QuantumultX 处理 excluded_routes=192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, 17.0.0.0/8 icmp_auto_reply=true [http_backend] https://raw.githubusercontent.com/crossutility/Quantumult-X/master/backend-icloud-to-http.js, tag=TV Profile, path=^/icloud-profile/ [dns] no-ipv6 # DoH服务器(DNS over HTTPS)以加密的HTTPS协议进行DNS解析请求,避免原始DNS协议中用户的DNS解析请求被窃听或者修改的问题(例如中间人攻击)来达到保护用户隐私的目的 # 设置DoH服务器后,所有其他常规DNS服务器设置将被忽略;当设置了多个DoH服务器时,只会使用第一个;当使用的 DoH服务器不是基于HTTP/2时,DoH将被暂时禁用。 # 阿里 DoH doh-server=https://dns.alidns.com/dns-query # 同时使用多个DoH服务器(Tf功能 # 阿里,DNS.SB,阿里,红鱼,IIJ # doh-server=https://dns.alidns.com/dns-query, https://doh.dns.sb/dns-query, https://dns.alidns.com/dns-query, https://rubyfish.cn/dns-query, https://public.dns.iij.jp/dns-query # 自定义DNS服务器 # 腾讯云DNSPod DNS server=119.29.29.29 server=119.28.28.28 # 阿里 AliDNS server=223.5.5.5 # 114 DNS server=114.114.114.114 # 制定域名解析 dns server=/*.taobao.com/223.5.5.5 server=/*.tmall.com/223.5.5.5 server=/*.alipay.com/223.5.5.5 server=/*.aliyun.com/223.5.5.5 server=/*.jd.com/119.28.28.28 server=/*.qq.com/119.28.28.28 server=/*.tencent.com/119.28.28.28 server=/*.weixin.com/119.28.28.28 server=/*.bilibili.com/119.29.29.29 server=/*.netease.com/119.29.29.29 server=/*testflight.apple.com/23.76.66.98 [policy] ## 策略组 ## 将分流规则传递过来的网络请求进行分发 # 自动选择最优节点-HK url-latency-benchmark=Auto-HK, server-tag-regex=(?i)(香港|港|hong|HK|HKG|🇭🇰), check-interval=600, tolerance=0, alive-checking=false, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/Auto.png # 服务器按地区分组策略 # 美国 static=US, server-tag-regex=(?i)(美|美国|美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|🇺🇸|US), img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Country/US.png # 香港 static=HK, server-tag-regex=(?i)(香港|港|hong|HK|HKG|🇭🇰), img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Country/HK02.png # 日本 static=JP, server-tag-regex=(?i)(日本|东京|大阪|泉日|埼玉|沪日|深日|🇯🇵|JP|Japan), img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Country/JP.png # 台湾 static=TW, server-tag-regex=(?i)(台|台湾|TW|Taiwan), img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Country/TW.png # 新加坡 static=SG, server-tag-regex=(?i)(狮城|新加坡|🇸🇬|SG|Singapore), img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Country/SG.png # OutSide策略 static=OutSide, US, HK, JP, TW, SG, Final, direct, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/Proxy.png # GlobalMedia策略 static=GlobalMedia, US, HK, JP, TW, SG, Final, direct, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/GMedia.png # 国外媒体细分策略 # > Youtibe策略 static=YouTube, US, HK, JP, TW, SG, Final, direct, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/Youtube.png # > Spotify策略 static=Spotify, US, HK, JP, TW, SG, Final, direct, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/Spotify.png # 国内媒体细分策略 # > BiliBili策略 static=BiliBili, HK, TW, direct, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/Bilibili.png # 软件&服务策略 # > Telegram策略 static=Telegram, US, HK, JP, TW, SG, Final, direct, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/Telegram.png # > OpenAI策略 static=OpenAI, US, HK, JP, TW, SG, Final, direct, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/OpenAI.png # # Mainland策略-国内访问 static=Mainland, Final, direct, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/Mainland.png # Advertising策略-去广告 static=Advertising, direct, reject, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/AdBlock.png # FINAL策略:如果以上的策略均未被匹配到,则听从此策略组的规定 static=Final, Auto-HK, US, HK, JP, TW, SG, proxy, direct, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/Final01.png [filter_remote] ## 远程分流规则订阅 ## 将网络请求进行分流,网络请求的走向(是否能成功访问)由匹配到的策略组决定 # 部分规则有先后顺序要求,调整顺序可能失效 # Spotify规则 https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Spotify/Spotify.list, tag=Spotify 规则, force-policy=Spotify, update-interval=86400, opt-parser=false, enabled=true # YouTube规则 https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX//YouTube/YouTube.list, tag=YouTube 规则, force-policy=YouTube, update-interval=86400, opt-parser=false, enabled=true # GlobalMedia规则 https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/GlobalMedia/GlobalMedia.list, tag=GlobalMedia 规则, force-policy=GlobalMedia, update-interval=86400, opt-parser=false, enabled=true # Telegram规则 https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Telegram/Telegram.list, tag=Telegram 规则, force-policy=Telegram, update-interval=86400, opt-parser=false, enabled=true # OpenAI规则 https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/OpenAI/OpenAI.list, tag=OpenAI 规则, force-policy=OpenAI, update-interval=86400, opt-parser=false, enabled=true # OutSide规则 https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rule/QuantumultX/Global/Global.list, tag=OutSide 规则, force-policy=OutSide, update-interval=86400, opt-parser=false, enabled=true # BiliBili规则 https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/BiliBili/BiliBili.list, tag=Bilibili, force-policy=BiliBili, update-interval=172800, opt-parser=false, enabled=true # Advertising规则 https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Advertising/Advertising.list, tag=Advertising 规则, force-policy=Advertising, update-interval=86400, opt-parser=true, enabled=true # Mainland规则 https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/China/China.list, tag=Mainland 规则, force-policy=Mainland, update-interval=86400, opt-parser=false, enabled=true [filter_local] # 本地分流规则:相同规则下本地规则优先生效 # EDC Website host-suffix, erdon.cc, Final host-suffix, erdongchan.cn, Final # openai host-suffix, openai.com, US # 绿联 host-keyword, ugreen, direct host-keyword, ugreengroup, direct # 快手本地分流 host-suffix, adkwai.com, direct host-suffix, kuaishou.com, direct host-suffix, kskwai.com, direct # 抖音本地分流 host-suffix, snssdk.com, direct host-suffix, amemv.com, direct # 其它 host-suffix, local, direct geoip, cn, Mainland final, Final [server_local] # 本地服务器节点 [server_remote] # 服务器引用(订阅),支持远程订阅地址和本地文件 [rewrite_remote] # 远程重写订阅 # 包含主机名 hostname 以及复写 rewrite 规则 # update-interval 为更新时间参数,单位:秒, 默认更新时间为:24*60*60=86400 秒,也就是24小时 # opt-parser=true/false 用于控制是否对订阅开启资源解析器,不写或者 false 表示不启用解析器 https://github.com/DualSubs/YouTube/releases/latest/download/DualSubs.YouTube.snippet, tag=DualSubs-YouTube, update-interval=172800, opt-parser=false, enabled=true https://github.com/DualSubs/Universal/releases/latest/download/DualSubs.Universal.snippet, tag=DualSubs-Universal, update-interval=172800, opt-parser=false, enabled=true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/QuantumultX/Advertising/Advertising.conf, tag=Advertising(blackmatrix7, update-interval=86400, opt-parser=false, enabled=true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/QuantumultX/Redirect/Redirect.conf, tag=Redirect(blackmatrix7, update-interval=172800, opt-parser=false, enabled=true https://raw.githubusercontent.com/sub-store-org/Sub-Store/master/config/QX.snippet, tag=Sub-Store, update-interval=172800, opt-parser=true, enabled=true https://github.com/chavyleung/scripts/raw/master/box/rewrite/boxjs.rewrite.quanx.conf, tag=boxjs, update-interval=172800, opt-parser=false, enabled=true [rewrite_local] # 本地重写 [task_local] 55 23 * * * https://github.com/sub-store-org/Sub-Store/releases/latest/download/cron-sync-artifacts.min.js, tag=Sub-Store Sync, img-url=https://raw.githubusercontent.com/58xinian/icon/master/Sub-Store1.png, enabled=true event-interaction https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/geo_location.js, tag=GeoIP查询, img-url=location.fill.viewfinder.system event-interaction https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/streaming-ui-check.js, tag=流媒体解锁检测, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/GMedia.png, enabled=true [mitm] # 开启 mitm,需要自行在Quantumult X中生成证书、安装、信任 passphrase = p12 = force_sni_domain_name = false hostname = sub.store