Files
wool_scripts/QuantumultX/config/QuanX.conf
2025-06-30 21:59:46 +08:00

174 lines
12 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#############################################
# 配置作用:本配置为全局配置文件,内含去广告,应用分流,策略组,定时脚本等
# 重要提示导入本文件会覆盖原本所有配置不是初次配置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
# 更新时间2025-05-18 21:10:00
#############################################
# =====================================
# general模块内为一些通用的设置参数项
# =====================================
[general]
# Quantumult X 会对 server_check_url 指定的网址进行相应测试,以确认节点的可用性
# 你同样可以在 server_local/server_remote 中为节点、订阅单独指定server_check_url参数
# 如果你为节点单独指定了url则所有相关延迟测试中均会采用此 url 地址
server_check_url=http://cp.cloudflare.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
# fallback_udp_policy仅支持 v1.0.19 以及之后的版本。仅支持末端策略末端策略为经由规则模块和策略模块后所命中的策略例如direct、reject 以及节点;不支持内置策略 proxy 以及其它自定义策略)。
fallback_udp_policy=direct
# UDP Drop名单同白名单类似但不会返回 ICMP “端口不可达” 信息,名单仅处理 whitelist名单中的端口
udp_drop_list=443
# =====================================
# 域名系统英文Domain Name System缩写DNS是互联网的一项服务。它作为将域名和IP地址相互映射的一个分布式数据库能够使人更方便地访问互联网。
# =====================================
[dns]
no-ipv6
server=119.29.29.29
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=/tplogin.cn/system
server=/tplinklogin.net/system
server=/melogin.cn/system
server=/falogin.cn/system
# =====================================
# 策略组
# static你需要手动选择想要的节点/策略组。
# available将按顺序选择你列表中第一个可用的节点。
# round-robin将按列表的顺序轮流使用其中的节点。
# url-latency-benchmark选取延迟最优节点。
# dest-hash随机负载均衡但相同域名走固定节点。
# ssid将根据你所设定的网络来自动切换节点/策略组。
# =====================================
[policy]
static=海外抖音, proxy, 香港节点, 日本节点, 狮城节点, 台湾节点, 美国节点, img-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/tiktok.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.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/OpenAI.png
static=苹果服务, direct, proxy, 香港节点, 日本节点, 狮城节点, 台湾节点, 美国节点, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/Apple.png
static=兜底策略, direct, proxy, 香港节点, 台湾节点, 日本节点, 狮城节点, 美国节点, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Final.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=日|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=新加坡|狮|獅|SG|Singapore|🇸🇬, check-interval=600, tolerance=0, alive-checking=false, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/SG.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=韩|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=台|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
# =====================================
# 本地服务器部分
# =====================================
[server_local]
# =====================================
# 远程订阅部分
# =====================================
[server_remote]
# =====================================
# 本地分流规则:对于完全相同的某条规则,本地的将优先于远程生效
# =====================================
[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
ip-cidr, 183.240.197.130/32, direct
ip6-cidr, fe80::/10, direct
# > 苹果播客
host-keyword, amp-api.podcasts.apple.com, proxy
# GeoIPGeolocation IP是一种技术用于确定特定IP地址的地理位置信息如国家、城市、经纬度等。
geoip, cn, direct
# 不在上述规则中(远程以及本地)的剩余请求将走final 指定的节点/策略
final, 兜底策略
# =====================================
# 远程订阅的分流,以及本地的配置片段
# =====================================
[filter_remote]
https://github.com/fmz200/wool_scripts/raw/main/QuantumultX/filter/filter.list, tag=广告拦截合集@fmz200, update-interval=604800, opt-parser=false, enabled=true
https://github.com/fmz200/wool_scripts/raw/main/Loon/rule/AI.list, tag=AI分流规则合集@fmz200, force-policy=人工智能, update-interval=172800, opt-parser=true, enabled=true
https://github.com/fmz200/wool_scripts/raw/main/QuantumultX/filter/soul.list, tag=Soul分流@fmz200, force-policy=direct, update-interval=86400, opt-parser=false, enabled=true
https://github.com/fmz200/wool_scripts/raw/main/QuantumultX/filter/talkatone.list, tag=talkatone分流@fmz200, force-policy=美国节点, 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=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Google/Google.list, tag=Google@bm7, force-policy=谷歌服务, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Spotify/Spotify.list, tag=Spotify@bm7, update-interval=172800, 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=172800, opt-parser=false, 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://raw.githubusercontent.com/fmz200/wool_scripts/main/QuantumultX/rewrite/weibo.snippet, tag=微博去广告@fmz200, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/fmz200/wool_scripts/main/QuantumultX/rewrite/chongxie.txt, tag=广告拦截合集@fmz200, update-interval=604800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/fmz200/wool_scripts/main/QuantumultX/rewrite/cookies.snippet, tag=获取cookie合集@fmz200, update-interval=604800, opt-parser=false, enabled=false
https://raw.githubusercontent.com/app2smile/rules/master/module/spotify.conf, tag=Spotify音乐VIP@app2smile, update-interval=172800, opt-parser=false, 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
https://github.com/sub-store-org/Sub-Store/raw/master/config/QX.snippet, tag=Sub-Store, update-interval=172800, opt-parser=false, enabled=true
# =====================================
# 任务模块,可用于签到,节点流媒体检测等
# =====================================
[task_local]
# 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
[http_backend]
# BoxJS已不需要此配置
;https://raw.githubusercontent.com/chavyleung/scripts/master/chavy.box.js, host=boxjs.com, tag=BoxJS, path=^/, enabled=true
# =====================================
# MITM中间人攻击解密/跳过相关域名的内容,"-"开头为跳过
# =====================================
[mitm]
# 本地主机名
hostname = -www.google.com, -*.amemv.com, -*.snssdk.com, boxjs.net, boxjs.com,
# 证书
passphrase =
p12 =
skip_validating_cert = true