[general] #geo_location_checker用于节点页面的节点信息展示,可完整自定义展示内容与方式 geo_location_checker=http://ip-api.com/json/?lang=zh-CN, https://raw.githubusercontent.com/yyn618/QuantumultX-Script/main/IP_API.js #资源解析器,可用于自定义各类远程资源的转换,如节点,规则 filter,复写 rewrite 等,url 地址可远程,可 本地/iCloud(Quantumult X/Scripts目录); resource_parser_url=https://cdn.jsdelivr.net/gh/KOP-XIAO/QuantumultX@master/Scripts/resource-parser.js #dns exclusion list中的域名将不使用fake-ip方式. 其它域名则全部采用 fake-ip 及远程解析的模式 #dns_exclusion_list=*.qq.com, qq.com, *.cmpassport.com, *.jegotrip.com.cn, *.icitymobile.mobi, id6.me, *.pingan.com.cn, *.cmbchina.com #下列表中的内容将不经过 QuantumultX的处理 #excluded_routes= 192.168.0.0/16, 172.16.0.0/12, 100.64.0.0/10, 10.0.0.0/8,239.255.255.250/32, 24.105.30.129/32, 185.60.112.157/32, 185.60.112.158/32, 182.162.132.1/32,17.0.0.0/8 #icmp_auto_reply=true # 参数 fallback_udp_policy 仅支持 v1.0.19 以及之后的版本 # 参数 fallback_udp_policy 的值仅支持末端策略(末端策略为经由规则模块和策略模块后所命中的策略,例如:direct、reject 以及节点;不支持内置策略 proxy 以及其它自定义策略)。 fallback_udp_policy=direct #运行模式切换,running_mode_trigger 设置,即根据网络自动切换 分流/直连/全局代理 等模式。 # 前两个 filter 表示 在 4G 网络跟一般 Wi-Fi 下,走 filter(分流)模式,wifi-1 则切换为全局直连,wifi-2 切换为全局代理 #running_mode_trigger=filter, filter, wifi-1:all_direct, wifi-2: all_proxy #暂停工作,ssid_suspended_list设置,让 Quantumult X 在特定 Wi-Fi 网络下暂停工作(仅 task 模块会继续工作),多个Wi-Fi用“,”连接 #ssid_suspended_list=wifi-1, wifi-2 #Quantumult X 会对 server_check_url 指定的网址进行相应测试,以确认节点的可用性 server_check_url=http://cp.cloudflare.com/generate_204 [dns] #禁用系统 DNS 以及 ipv6 #no-syetem no-ipv6 #指定的 dns服务器 server=114.114.114.114 server=202.141.176.93 server=202.141.178.13 server=117.50.10.10 server=223.5.5.5 server=119.29.29.29 server=119.28.28.28 #指定域名解析dns address=/mtalk.google.com/108.177.125.188 server=/dl.google.com/119.29.29.29 server=/dl.l.google.com/119.29.29.29 server=/*.tencent.com/119.28.28.28 server=/*.weixin.com/119.28.28.28 server=/*.jd.com/119.28.28.28 server=/*.alipay.com/223.5.5.5 server=/*.taobao.com/223.5.5.5 [policy] # static 策略组中,你需要手动选择想要的节点/策略组。 # url-latency-benchmark 延迟策略组,选取延迟最优节点。 # ssid 策略组,将根据你所设定的网络来自动切换节点/策略组。 # 默认设置3小时测速一次,当前使用节点延迟和最新测速延迟最低的节点相差100ms以上则切换为最新的最低延迟节点,否则继续延用节点 static=🚀 节点选择,♻️ 自动选择,🇭🇰 香港,🇨🇳 台湾,🇯🇵 日本,🇸🇬 新加坡,🇺🇸 美国,PROXY,DIRECT, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Available.png url-latency-benchmark=♻️ 自动选择, server-tag-regex=.*, check-interval=10800, tolerance=50, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Auto.png url-latency-benchmark=🇭🇰 香港, server-tag-regex=(?=.*(港|HK|(?i)Hong))^((?!(台湾|日本|新加坡|美国|韩国|狮城|南朝鲜|US|SG|JP|KR|TW|台灣|美國|韓國|獅城)).)*$, check-interval=10800, tolerance=50, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Hong_Kong.png url-latency-benchmark=🇨🇳 台湾, server-tag-regex=(?=.*(台|TW|(?i)Taiwan))^((?!(港|日|韩|新|美)).)*$, check-interval=10800, tolerance=50, img-url=https://raw.githubusercontent.com/Orz-3/face/master/TW.png url-latency-benchmark=🇯🇵 日本, server-tag-regex=(?=.*(日|JP|(?i)Japan))^((?!(香港|台湾|新加坡|美国|韩国|狮城|南朝鲜|US|SG|KR|HK|TW|台灣|美國|韓國|獅城)).)*$, check-interval=10800, tolerance=50, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Japan.png url-latency-benchmark=🇸🇬 新加坡, server-tag-regex=(?=.*(新|狮城|SG|(?i)Singapore))^((?!(香港|台湾|日本|美国|韩国|南朝鲜|US|JP|KR|HK|TW|台灣|美國|韓國)).)*$, check-interval=10800, tolerance=50, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Singapore.png url-latency-benchmark=🇺🇸 美国, server-tag-regex=(?=.*(美|美國|US|洛杉矶|西雅图|(?i)States|American))^((?!(香港|台湾|日本|新加坡|韩国|狮城|南朝鲜|SG|JP|KR|HK|TW|台灣|韓國|獅城)).)*$, check-interval=10800, tolerance=50, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/United_States.png static=🐟 漏网之鱼, 🚀 节点选择, ♻️ 自动选择,🇭🇰 香港,🇨🇳 台湾,🇯🇵 日本,🇸🇬 新加坡,🇺🇸 美国, PROXY, DIRECT, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Final.png [server_remote] [filter_remote] # blackmatrix7 广告拦截 https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/QuantumultX/AdvertisingLite/AdvertisingLite.list, tag=blackmatrix7 广告拦截, force-policy=reject, update-interval=172800, opt-parser=true, enabled=true # 神机 广告拦截 #https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Guard/Advertising.list, tag=神机 广告拦截, force-policy=reject, update-interval=172800, opt-parser=true, enabled=true # NobyDa 广告拦截 #https://raw.githubusercontent.com/NobyDa/Script/master/Surge/AdRule.list, tag=NobyDa 广告拦截, force-policy=reject, update-interval=172800, opt-parser=true, enabled=true # Unbreak 后续规则修正 https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Unbreak.list, tag=规则修正, force-policy=direct, update-interval=172800, opt-parser=true, enabled=true # 运营劫持 https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Guard/Hijacking.list, tag=运营劫持, force-policy=reject, update-interval=172800, opt-parser=true, enabled=true # BlockHttpDNS https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/AdGuard/BlockHttpDNS/BlockHttpDNS.txt, tag=BlockHttpDNS, force-policy=reject, update-interval=172800, opt-parser=true, enabled=true # 神机 隐私保护 https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Guard/Privacy.list, tag=隐私保护, force-policy=reject, update-interval=172800, opt-parser=true, enabled=true # 流媒体HK https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/StreamingMedia/Region/HK.list, tag=流媒体HK, force-policy=🇭🇰 香港, update-interval=172800, opt-parser=true, enabled=true # 流媒体TW https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/StreamingMedia/Region/TW.list, tag=流媒体TW, force-policy=🇨🇳 台湾, update-interval=172800, opt-parser=true, enabled=true # 流媒体JP https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/StreamingMedia/Region/JP.list, tag=流媒体JP, force-policy=🇯🇵 日本, update-interval=172800, opt-parser=true, enabled=true # 流媒体US https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/StreamingMedia/Region/US.list, tag=流媒体US, force-policy=🇺🇸 美国, update-interval=172800, opt-parser=true, enabled=true # 苹果服务 https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Extra/Apple/AppStore.list, tag=苹果服务, force-policy=🍎 苹果服务, update-interval=172800, opt-parser=true, enabled=true https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Extra/Apple/AppStoreConnect.list, tag=苹果服务, force-policy=🍎 苹果服务, update-interval=172800, opt-parser=true, enabled=true https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Extra/Apple/TestFlight.list, tag=Testflight, force-policy=🍎 苹果服务, update-interval=172800, opt-parser=true, enabled=true # 屏蔽系统更新(默认关闭,可开启) https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Extra/Apple/BlockiOSUpdate.list, tag=🍎 屏蔽系统更新,enabled=false # 国外视频 https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/StreamingMedia/Streaming.list, tag=国外视频, force-policy=🚀 节点选择, update-interval=172800, opt-parser=true , enabled=true # 全球加速 https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Global.list, tag=全球加速, force-policy=🚀 节点选择, update-interval=172800, opt-parser=true , enabled=true # 国内网站 https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/StreamingMedia/StreamingCN.list, tag=🎯国内网站-直连, force-policy=direct, update-interval=172800, opt-parser=true , enabled=true # 国内网站 https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/China.list, tag=🎯国内网站-直连, force-policy=direct, update-interval=172800, opt-parser=true, enabled=true #ChinaIPv4 https://cdn.jsdelivr.net/gh/17mon/china_ip_list@master/china_ip_list.txt#type=rule, tag=ChinaIPv4, force-policy=direct, update-interval=172800, opt-parser=true, enabled=true #ChinaIPv6 https://gaoyifan.github.io/china-operator-ip/chinanet6.txt#type=rule, tag=ChinaIPv6, force-policy=direct, update-interval=172800, opt-parser=true, enabled=true [rewrite_remote] 去开屏广告(部分 https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.snippet, tag=去开屏, update-interval=172800, opt-parser=true, enabled=true #去广告 #https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Block/Advertising.conf, tag=神机 去广告, update-interval=172800, opt-parser=true, enabled=true #https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/Rewrite_lhie1.conf, tag=NobyDa 去广告, update-interval=172800, opt-parser=true, enabled=true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/QuantumultX/AdvertisingLite/AdvertisingLite.conf, tag=blackmatrix7 去广告, update-interval=172800, opt-parser=true, enabled=true https://raw.githubusercontent.com/yyn618/QuantumultX-Script/master/Script/JS_Ad.conf, tag=西宁 去广告, update-interval=172800, opt-parser=true, enabled=true [server_local] [filter_local] host-suffix, local, direct ip-cidr, 192.168.0.0/16, direct ip-cidr, 10.0.0.0/8, direct ip-cidr, 172.16.0.0/12, 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 ip6-cidr, fe80::/10, direct #geoip, cn, direct FINAL,🐟 漏网之鱼 [rewrite_local] # 本地重写规则 [task_local] [http_backend] [mitm] #以下模块去掉;才生效 #请自行在 APP 的UI中生成证书 并安装&信任 #skip_validating_cert = false #force_sni_domain_name = false #hostname = *.example.com, *.sample.com #passphrase和p12代为证书&主机名部分, 更新配置前可把旧的配置中passphrase和p12代码拷贝下来, 导入新的配置文件把内容粘贴在对应位置就不用重装证书了 #passphrase = #p12 =