############################################# # 配置作用:本配置为全局配置文件,内含去广告,应用分流,策略组,定时脚本等 # 重要提示:导入本文件会覆盖原本所有配置,不是初次配置QuanX请谨慎使用 # 注意事项: 以下内容中,带“;” “#” “//” 开头的行都是注释,去掉注释符号该行才有效 # 项目地址:https://raw.githubusercontent.com/fmz200/wool_scripts/main/QuantumultX/config/QuanX.conf # 配置教程:https://github.com/fmz200/wool_scripts/blob/main/QuantumultX/How-To-Use.md # 懒人配置:点击QX右下角风车拉下到底-下载配置-生成证书-配置证书-信任证书-开启QX即可愉快的使用了 # 交流群组:https://t.me/lanjieguanggao https://t.me/QuantumultXCommunity # 更新时间:2024-08-24 17:00:00 ############################################# # ===================================== # general:模块内为一些通用的设置参数项 # ===================================== [general] # Quantumult X 会对 server_check_url 指定的网址进行相应测试,以确认节点的可用性 # 你同样可以在 server_local/server_remote 中,为节点、订阅单独指定server_check_url参数 # 如果你为节点单独指定了url,则所有相关延迟测试中,均会采用此 url 地址 server_check_url=http://www.google.com/generate_204 # 服务器测试超时时间 (毫秒,3000为3秒) server_check_timeout = 3000 # 用于设置图标显示 profile_img_url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/author/fmz200-01.png # dns_exclusion_list中的域名将不使用fake-ip方式. 其它域名则全部采用fake-ip及远程解析的模式 dns_exclusion_list=*.cmpassport.com, *.jegotrip.com.cn, *.icitymobile.mobi, id6.me, *.pingan.com.cn, *.cmbchina.com # geo_location_checker:用于节点页面的顶部节点信息展示(节点开关左边的信息) geo_location_checker=http://ip-api.com/json/?lang=zh-CN, https://raw.githubusercontent.com/fmz200/wool_scripts/main/QuantumultX/scripts/server_location.js # 资源解析器,可用于自定义各类远程资源的转换,如节点,规则 filter,重写 rewrite 等,url 地址可远程,可task_local本地/iCloud(Quantumult X/Scripts目录); resource_parser_url=https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/resource-parser.js # 下列表中的内容将不经过QuantumultX的处理,设置后建议重启设备 excluded_routes=239.255.255.250/32 # 仅支持末端策略(末端策略为经由规则模块和策略模块后所命中的策略,例如:direct、reject 以及节点;不支持内置策略 proxy 以及其它自定义策略) fallback_udp_policy=direct # UDP 白名单:留空则默认所有为端口。不在udp白名单列表中的端口,将被丢弃处理(返回 ICMP “端口不可达” 信息)。 ;udp_whitelist=1-442, 444-65535 # UDP Drop名单:同白名单类似,但不会返回 ICMP “端口不可达” 信息,名单仅处理 whitelist名单中的端口 # 版本1.5.2开始可以包含 STUN、QUIC 等协议来阻止相关数据包,例如 80, STUN, QUIC udp_drop_list=443 # ===================================== # 域名系统(英文:Domain Name System,缩写:DNS)是互联网的一项服务。它作为将域名和IP地址相互映射的一个分布式数据库,能够使人更方便地访问互联网。 # ===================================== [dns] # 禁用系统 DNS(no-system)以及 ipv6 ;no-system no-ipv6 # dns服务器 server=223.5.5.5 server=119.29.29.29 server=8.8.8.8 # 指定dns服务器 server=/*itunes.apple.com/system server=/dl.google.com/119.29.29.29 server=/dl.l.google.com/119.29.29.29 server=/update.googleapis.com/119.29.29.29 server=/*.dl.playstation.net/119.29.29.29 server=/amplifi.lan/system server=/router.synology.com/system server=/sila.razer.com/system server=/router.asus.com/system server=/routerlogin.net/system server=/orbilogin.com/system server=/www.LinksysSmartWiFi.com/system server=/LinksysSmartWiFi.com/system server=/myrouter.local/system server=/www.miwifi.com/system server=/miwifi.com/system server=/mediarouter.home/system server=/tplogin.cn/system server=/tplinklogin.net/system server=/melogin.cn/system server=/falogin.cn/system server=/liquidlink.cn/119.29.29.29 # ===================================== # 策略组 # static:你需要手动选择想要的节点/策略组。 # available:将按顺序选择你列表中第一个可用的节点。 # round-robin:将按列表的顺序轮流使用其中的节点。 # url-latency-benchmark:选取延迟最优节点。 # dest-hash:随机负载均衡,但相同域名走固定节点。 # ssid:将根据你所设定的网络来自动切换节点/策略组。 # ===================================== [policy] static=兜底策略, proxy, direct, 香港节点, 台湾节点, 美国节点, 日本节点, 韩国节点, 狮城节点, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Final.png static=大陆抖音, direct, proxy, 香港节点, 台湾节点, 美国节点, 日本节点, 韩国节点, 狮城节点, img-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/Tiktok_06.png static=海外抖音, proxy, 香港节点, 台湾节点, 美国节点, 日本节点, 韩国节点, 狮城节点, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/TikTok_2.png static=谷歌服务, proxy, 香港节点, 台湾节点, 美国节点, 日本节点, 韩国节点, 狮城节点, img-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/Google.png static=电报消息, proxy, 香港节点, 台湾节点, 美国节点, 日本节点, 韩国节点, 狮城节点, img-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/Telegram_01.png static=Spotify, proxy, 香港节点, 台湾节点, 美国节点, 日本节点, 韩国节点, 狮城节点, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Spotify.png static=人工智能, proxy, 台湾节点, 美国节点, 日本节点, 韩国节点, 狮城节点, img-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/ChatGPT3.png static=苹果服务, direct, proxy, 香港节点, 台湾节点, 美国节点, 日本节点, 韩国节点, 狮城节点, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/Apple.png url-latency-benchmark=香港节点, server-tag-regex=港|HK|Hong|🇭🇰, check-interval=600, tolerance=0, alive-checking=false, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/HK.png url-latency-benchmark=台湾节点, server-tag-regex=台|TW|Taiwan, check-interval=600, tolerance=0, alive-checking=false, img-url=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/icon/color/tw.png url-latency-benchmark=美国节点, server-tag-regex=美|US|States|American|🇺🇸, check-interval=600, tolerance=0, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/US.png url-latency-benchmark=日本节点, server-tag-regex=日|JP|Japan|🇯🇵, check-interval=600, tolerance=0, alive-checking=false, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/JP.png url-latency-benchmark=韩国节点, server-tag-regex=韩|KR|Korea|🇰🇷, check-interval=600, tolerance=0, alive-checking=false, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/KR.png url-latency-benchmark=狮城节点, server-tag-regex=新加坡|狮|獅|SG|🇸🇬, check-interval=600, tolerance=0, alive-checking=false, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/SG.png # ===================================== # 本地服务器部分 # ===================================== [server_local] # ===================================== # 远程订阅部分 # ===================================== [server_remote] # ===================================== # 本地分流规则:对于完全相同的某条规则,本地的将优先于远程生效 # ===================================== [filter_local] # 请求本地 host-suffix, local, direct # 已经引用远程文件 ;geoip, cn, direct # 不在上述规则中(远程以及本地)的剩余请求,将走final 指定的节点/策略 final, 兜底策略 # ===================================== # 远程订阅的分流,以及本地的配置片段 # ===================================== [filter_remote] https://github.com/fmz200/wool_scripts/raw/main/Loon/rule/TencentVideo.list, tag=腾讯视频去广告[视频开头会加载一会]@奶思, force-policy=reject, update-interval=86400, opt-parser=true, enabled=false https://github.com/fmz200/wool_scripts/raw/main/QuantumultX/filter/filter.list, tag=广告拦截合集@奶思, update-interval=86400, opt-parser=false, enabled=true https://github.com/fmz200/wool_scripts/raw/main/QuantumultX/filter/blockAppleUpdate.list, tag=苹果屏蔽系统更新@奶思, update-interval=86400, opt-parser=false, enabled=false https://github.com/fmz200/wool_scripts/raw/main/QuantumultX/filter/filterFix.list, tag=分流修正@奶思, update-interval=86400, opt-parser=false, enabled=true https://github.com/fmz200/wool_scripts/raw/main/Loon/rule/AI.list, tag=AI分流合集@奶思, force-policy=人工智能, update-interval=86400, opt-parser=true, enabled=true https://github.com/fmz200/wool_scripts/raw/main/Loon/rule/Douyin.list, tag=抖音IP@奶思, force-policy=大陆抖音, update-interval=86400, opt-parser=true, enabled=true https://github.com/fmz200/wool_scripts/raw/main/Loon/rule/RedBook.list, tag=小红书IP@奶思, force-policy=direct, update-interval=86400, opt-parser=true, enabled=true https://github.com/fmz200/wool_scripts/raw/main/Loon/rule/KuaiShou.list, tag=快手IP@奶思, force-policy=direct, update-interval=86400, opt-parser=true, enabled=true https://github.com/fmz200/wool_scripts/raw/main/QuantumultX/filter/soul.list, tag=Soul分流@奶思, force-policy=direct, update-interval=86400, opt-parser=false, enabled=true https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/QuantumultX/TikTok/TikTok.list, tag=TikTok@bm7, force-policy=海外抖音, update-interval=86400, opt-parser=false, enabled=true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Telegram/Telegram.list, tag=Telegram@bm7, force-policy=电报消息, update-interval=86400, opt-parser=false, enabled=true https://github.com/fmz200/wool_scripts/raw/main/Loon/rule/AppleAll.list, tag=苹果服务@奶思, force-policy=苹果服务, update-interval=86400, opt-parser=true, enabled=true https://github.com/fmz200/wool_scripts/raw/main/Loon/rule/Twitter.list, tag=Twitter@奶思, force-policy=美国节点, update-interval=86400, opt-parser=true, enabled=true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Google/Google.list, tag=Google@bm7, force-policy=谷歌服务, update-interval=86400, opt-parser=false, enabled=true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Spotify/Spotify.list, tag=Spotify@bm7, update-interval=86400, opt-parser=false, enabled=true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/GitHub/GitHub.list, tag=Github@bm7, force-policy=proxy, update-interval=86400, opt-parser=false, enabled=true https://github.com/fmz200/wool_scripts/raw/main/QuantumultX/filter/talkatone.list, tag=Talkatone@奶思, force-policy=美国节点, update-interval=86400, opt-parser=false, enabled=true https://github.com/fmz200/wool_scripts/raw/main/Loon/rule/GeoIP_CN.list, tag=GeoIP_CN@奶思, force-policy=direct, update-interval=86400, opt-parser=true, enabled=true # ===================================== # 本地重写 # ===================================== [rewrite_local] # ===================================== # 远程复写模块:包含主机名hostname以及复写rewrite规则 # update-interval 为更新时间参数,单位 秒, 默认更新时间为 24*60*60=86400 秒,也就是24小时. # opt-parser=true/false 用于控制是否对本订阅 开启资源解析器,不写或者 false 表示不启用解析器# # 支持本地/iCloud的复写规则文件,位于Quantumult X/Profiles路径下 # 参考写法:rewrite.txt, tag=本地复写, opt-parser=false, enabled=false # ===================================== [rewrite_remote] https://github.com/fmz200/wool_scripts/raw/main/QuantumultX/rewrite/weibo.snippet, tag=微博去广告@奶思, update-interval=86400, opt-parser=false, enabled=true https://github.com/fmz200/wool_scripts/raw/main/QuantumultX/rewrite/rewrite.snippet, tag=广告拦截合集@奶思, update-interval=604800, opt-parser=false, enabled=true https://github.com/fmz200/wool_scripts/raw/main/QuantumultX/rewrite/cookies.snippet, tag=获取cookie合集@奶思, update-interval=604800, opt-parser=false, enabled=false https://raw.githubusercontent.com/app2smile/rules/master/module/spotify.conf, tag=Spotify音乐VIP@app2smile, update-interval=86400, opt-parser=false, enabled=true https://github.com/chavyleung/scripts/raw/master/box/rewrite/boxjs.rewrite.quanx.conf, tag=BoxJs, update-interval=86400, opt-parser=false, enabled=true https://github.com/sub-store-org/Sub-Store/raw/master/config/QX.snippet, tag=Sub-Store, update-interval=86400, opt-parser=false, enabled=true https://raw.githubusercontent.com/Script-Hub-Org/Script-Hub/main/modules/script-hub.beta.qx.conf, tag=Script-Hub, update-interval=86400, opt-parser=false, enabled=true # ===================================== # 任务模块,可用于签到,节点流媒体检测等 # ===================================== [task_local] # BoxJS 0 0/6 * * * https://raw.githubusercontent.com/dompling/Script/master/gist/backup.js, tag=Gist备份, img-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/BoxJS.png, enabled=false 5 10 * * * https://raw.githubusercontent.com/dompling/Script/master/gist/restore.js, tag=Gist恢复, img-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/BoxJS.png, enabled=false # UI交互检测 event-interaction https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/streaming-ui-check.js, tag=流媒体-解锁查询, img-url=checkmark.seal.system, enabled=true event-interaction https://raw.githubusercontent.com/I-am-R-E/Functional-Store-Hub/Master/NodeLinkCheck/Script/NodeLinkCheck.js, tag=Env代理链路检测, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Stack.png, enabled=true event-interaction https://raw.githubusercontent.com/fmz200/wool_scripts/main/QuantumultX/scripts/server_info.js, tag=节点详情查询, img-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/ipInfo.png, enabled=true # > 策略流量查询 event-interaction https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/traffic-check.js, tag=策略流量查询, img-url=arrow.up.arrow.down.circle.system, enabled=true # > 节点速度查询 event-interaction https://raw.githubusercontent.com/getsomecat/Qx/main/Net_Speed.js, tag=⚡️节点速度测试, img-url=bolt.square.fill.system, enabled=true event-interaction https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/server-info-plus.js, tag=节点信息查询, img-url=tag.circle.system, enabled=true [http_backend] # ===================================== # MITM:中间人攻击,解密/跳过相关域名的内容,"-"开头为跳过 # ===================================== [mitm] hostname = -www.google.com # 证书 skip_validating_cert = true passphrase = p12 =