-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathQuantumult.conf
More file actions
232 lines (220 loc) · 17.8 KB
/
Quantumult.conf
File metadata and controls
232 lines (220 loc) · 17.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
# Quantumult X 更新于2021-02-25
# 以 “;” 或 “#” 或 “//“ 开头的行为注释行。
# general模块内为一些通用的设置参数项
[general]
# QuantumultX会对server_check_url指定的网址进行相应测试,以确认节点的可用性
server_check_url=http://captive.apple.com/
# 下列表中内容将不经过QuantumultX的处理
excluded_routes=10.0.0.0/8, 127.0.0.0/8, 169.254.0.0/16, 192.0.2.0/24, 192.168.0.0/16, 198.51.100.0/24, 224.0.0.0/4, 172.16.0.0/12, 100.64.0.0/10, 17.0.0.0/8
# 资源解析器,自定义各类远程资源的转换、如节点、规则、filter、复写、rewrite等
resource_parser_url=https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/resource-parser.js
# IP_bili_cn js-用于获取、展示节点信息
geo_location_checker= http://api.live.bilibili.com/ip_service/v1/ip_service/get_ip_addr? , https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/IP_bili_cn.js
# 配置文件路径显示图片
profile_img_url= https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/img/dragonball/1.PNG
# list中的域名将不使用fake-ip方式, 多个域名用“, ”连接。其它域名则全部采用 fake-ip及远程解析的模式
dns_exclusion_list = *.cmbchina.com, *.cmpassport.com, *.jegotrip.com.cn, *.icitymobile.mobi, *.pingan.com.cn, id6.me, *.localnetwork.uop, mfs.ykimg.com*.ttf
[dns]
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:53
server=119.28.28.28
server=1.0.0.1
server=8.8.8.8
# 指定域名解析dns
server=/*.taobao.com/223.5.5.5
server=/*.tmall.com/223.5.5.5
server=/*.alipay.com/223.5.5.5
server=/*.alicdn.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=/hdslb.com/119.29.29.29
server=/*.163.com/119.29.29.29
server=/*.126.com/119.29.29.29
server=/*.126.net/119.29.29.29
server=/*.127.net/119.29.29.29
server=/*.netease.com/119.29.29.29
server=/*.mi.com/119.29.29.29
server=/*.xiaomi.com/119.29.29.29
address=/mtalk.google.com/108.177.125.188
# 策略组
# 用于分发分流规则传递过来的网络请求
[policy]
static=节点选择, 手动选择, 延迟最低, img-url=https://raw.githubusercontent.com/Kyle0816/QuantumultX/main/Icon/static.png
static=手动选择, 奈飞, 香港, 美国, 日本, 韩国, 新加坡, 台湾, 印度, 特殊, img-url=https://raw.githubusercontent.com/Kyle0816/QuantumultX/main/Icon/Manual.png
url-latency-benchmark=延迟最低, server-tag-regex=.*, check-interval=300, tolerance=0, img-url=https://raw.githubusercontent.com/Kyle0816/QuantumultX/main/Icon/Auto.png
static=奈飞, server-tag-regex=(?=.*(NF|HBO|HULU|(?i)Netflix))^((?!(专线|手游|游戏|(?i)IPLC|IEPL|game)).)*$, img-url=https://raw.githubusercontent.com/Kyle0816/QuantumultX/main/Icon/Netflix.png
static=香港, server-tag-regex=(?=.*(香港|HK|(?i)Hong))^((?!(专线|手游|游戏|(?i)IPLC|IEPL|game)).)*$, img-url=https://raw.githubusercontent.com/Kyle0816/QuantumultX/main/Icon/HongKong.png
static=美国, server-tag-regex=(?=.*(美国|美西|美國|US|(?i)States|American))^((?!(专线|手游|游戏|(?i)IPLC|IEPL|game)).)*$, img-url=https://raw.githubusercontent.com/Kyle0816/QuantumultX/main/Icon/US.png
static=日本, server-tag-regex=(?=.*(日本|东京|JP|(?i)Japan))^((?!(专线|手游|游戏|(?i)IPLC|IEPL|game)).)*$, img-url=https://raw.githubusercontent.com/Kyle0816/QuantumultX/main/Icon/Japan.png
static=韩国, server-tag-regex=(?=.*(韩国|韓國|南朝鲜|KR|(?i)Korean))^((?!(专线|手游|游戏|(?i)IPLC|IEPL|game)).)*$, img-url=https://raw.githubusercontent.com/Kyle0816/QuantumultX/main/Icon/Korea.png
static=新加坡, server-tag-regex=(?=.*(新加坡|狮城|獅城|SG|(?i)Singapore))^((?!(专线|手游|游戏|(?i)IPLC|IEPL|game)).)*$, img-url=https://raw.githubusercontent.com/Kyle0816/QuantumultX/main/Icon/Singapore.png
static=台湾, server-tag-regex=(?=.*(台湾|台灣|TW|(?i)Taiwan))^((?!(专线|手游|游戏|(?i)IPLC|IEPL|game)).)*$, img-url=https://raw.githubusercontent.com/Kyle0816/QuantumultX/main/Icon/Taiwan.png
static=印度, server-tag-regex=(?=.*(印度|IN|(?i)India))^((?!(专线|手游|游戏|(?i)IPLC|IEPL|game)).)*$, img-url=https://raw.githubusercontent.com/Kyle0816/QuantumultX/main/Icon/India.png
static=特殊, server-tag-regex=^((?!(专线|手游|游戏|香港|台湾|日本|东京|新加坡|美国|美西|韩国|狮城|南朝鲜|印度|US|SG|JP|KR|HK|TW|IN|台灣|美國|韓國|獅城|账号|试用|流量|电报|网址|最新|域名|剩余|(?i)IPLC|IEPL|game|States|American|Singapore|Japan|Korea|Hong|Taiwan|data|date|website)).)*$, img-url=https://raw.githubusercontent.com/Kyle0816/QuantumultX/main/Icon/UN.png
static=Twitter, direct, 节点选择, 美国, img-url=https://raw.githubusercontent.com/Kyle0816/QuantumultX/main/Icon/Twitter.png
static=YouTube, direct, 节点选择, img-url=https://raw.githubusercontent.com/Kyle0816/QuantumultX/main/Icon/Youtube.png
static=Netflix, direct, 奈飞, img-url=https://raw.githubusercontent.com/Kyle0816/QuantumultX/main/Icon/NF.png
static=Clubhouse, direct, 节点选择, img-url=https://raw.githubusercontent.com/tengyuankoo/qx/main/Clubhouse.png
static=Speedtest, direct, 节点选择, img-url=https://raw.githubusercontent.com/Kyle0816/QuantumultX/main/Icon/Speedtest.png
static=苹果服务, direct, 节点选择, img-url=https://raw.githubusercontent.com/Kyle0816/QuantumultX/main/Icon/Apple.png
static=港台番剧, direct, 节点选择, 香港, 台湾, img-url=https://raw.githubusercontent.com/Kyle0816/QuantumultX/main/Icon/StreamingSE.png
static=国外媒体, direct, 节点选择, 美国, 新加坡, 日本, 韩国, 香港, 台湾, 特殊, img-url=https://raw.githubusercontent.com/Kyle0816/QuantumultX/main/Icon/Streaming.png
static=国外网站, direct, 节点选择, 美国, 新加坡, 日本, 韩国, 香港, 台湾, 特殊, direct, img-url=https://raw.githubusercontent.com/Kyle0816/QuantumultX/main/Icon/Global.png
static=黑白名单, direct, 节点选择, 美国, 新加坡, 日本, 韩国, 香港, 台湾, 特殊, img-url=https://raw.githubusercontent.com/Kyle0816/QuantumultX/main/Icon/Final.png
static=网易云音乐, 本地解锁网易云音乐, direct, img-url=https://raw.githubusercontent.com/Kyle0816/QuantumultX/main/Icon/Netease_Music.png
# 远程分流规则订阅
# 将网络请求进行分流,网络请求的走向由匹配到的策略组决定
# 部分规则有先后顺序要求,调整顺序可能失效
[filter_remote]
# 超过4万条广告规则, 阻止常见的APP广告/隐私/行为/数据/流量/劫持的统计和追踪
https://raw.githubusercontent.com/NobyDa/ND-AD/master/QuantumultX/AD_Block.txt, tag=AD_Block(4万条去广告规则), force-policy=reject, update-interval=86400, opt-parser=true, enabled=true
# 超过6万条国内外广告规则, 可以与"AD_Block.txt"一起使用, 注: 可能有一些误杀, 请谨慎使用
https://raw.githubusercontent.com/NobyDa/ND-AD/master/QuantumultX/AD_Block_Plus.txt, tag=AD_Block_plus(6万条去广告规则), force-policy=reject, update-interval=86400, opt-parser=true, enabled=false
# 广告拦截
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Guard/Advertising.list, tag=广告拦截, force-policy=reject, update-interval=86400, opt-parser=true, enabled=true
# 隐私保护
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Guard/Privacy.list, tag=隐私保护, force-policy=reject, update-interval=86400, opt-parser=true, enabled=true
# 运营商劫持或恶意网站
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Guard/Hijacking.list, tag=运营劫持, force-policy=reject, update-interval=86400, opt-parser=true, enabled=true
# 屏蔽系统更新
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Extra/Apple/BlockiOSUpdate.list, tag=屏蔽系统更新, force-policy=reject, update-interval=86400, opt-parser=true, enabled=true
# 国内网站
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/China.list, tag=国内网站, force-policy=direct, update-interval=86400, opt-parser=true, enabled=true
# 规则修正,无需设置策略偏好,保持启用即可
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Unbreak.list, tag=规则修正, update-interval=86400, opt-parser=true, enabled=true
# Speedtest
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Speedtest/Speedtest.list, tag=Speedtest, force-policy=Speedtest, update-interval=86400, opt-parser=true, enabled=true
# Twitter
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Extra/Twitter.list, tag=Twitter, force-policy=Twitter, update-interval=86400, opt-parser=true, enabled=true
# YouTube
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/StreamingMedia/Video/YouTube.list, tag=YouTube, force-policy=YouTube, update-interval=86400, opt-parser=true, enabled=true
# Netflix
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/StreamingMedia/Video/Netflix.list, tag=Netflix, force-policy=Netflix, update-interval=86400, opt-parser=true, enabled=true
# Clubhouse域名规则
https://raw.githubusercontent.com/tengyuankoo/qx/main/Clubhouse.list, tag=Clubhouse, force-policy=Clubhouse, update-interval=86400, opt-parser=false, enabled=true
# ClubhouseIP规则
https://raw.githubusercontent.com/tengyuankoo/qx/main/Clubhouse_IP.list, tag=Clubhouse_IP, force-policy=direct, update-interval=86400, opt-parser=false, enabled=true
# 苹果服务
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Extra/Apple/AppStoreConnect.list, tag=苹果服务, force-policy=苹果服务, update-interval=86400, opt-parser=true, enabled=true
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Extra/Apple/AppStore.list, tag=苹果服务, force-policy=苹果服务, update-interval=86400, opt-parser=true, enabled=true
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Extra/Apple/TestFlight.list, tag=苹果服务, force-policy=苹果服务, update-interval=86400, opt-parser=true, enabled=true
# 国外媒体
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/StreamingMedia/Streaming.list, tag=国外媒体, force-policy=国外媒体, update-interval=86400, opt-parser=true, enabled=true
# 国外网站
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Global.list, tag=国外网站, force-policy=节点选择, update-interval=86400, opt-parser=true, enabled=true
# 港台番剧
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/StreamingMedia/StreamingSE.list, tag=港台番剧, force-policy=港台番剧, update-interval=86400, opt-parser=true, enabled=true
# 网易云音乐
https://raw.githubusercontent.com/Kyle0816/QuantumultX/main/NeteaseMusic.list, tag=网易云音乐, force-policy=网易云音乐, update-interval=86400, opt-parser=true, enabled=true
# 国内网站
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Extra/ChinaIP.list, tag=ChinaIP, update-interval=86400, enabled=true
# 远程重写订阅
# 包含主机名hostname以及复写rewrite规则
[rewrite_remote]
# Tiktok解锁
https://raw.githubusercontent.com/Kyle0816/QuantumultX/main/TikTok.conf, tag=解锁Tiktok, update-interval=86400, opt-parser=true, enabled=false
# Youtube去广告
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Block/YouTubeAds.conf, tag=YouTube去广告, update-interval=86400, opt-parser=true, enabled=false
# Boxjs.com
https://raw.githubusercontent.com/chavyleung/scripts/master/box/rewrite/boxjs.rewrite.quanx.conf, tag=BoxJS(BoxJs地址:http://boxjs.com), update-interval=86400, opt-parser=true, enabled=false
# Boxjs.net
https://raw.githubusercontent.com/chavyleung/scripts/master/box/rewrite/boxjs.rewrite.quanx.tf.conf, tag=BoxJStf(BoxJs地址:http://boxjs.net), update-interval=86400, opt-parser=true, enabled=true
# 脚本
https://raw.githubusercontent.com/Kyle0816/QuantumultX/master/JS.conf, tag=比价vip脚本1, update-interval=86400, opt-parser=true, enabled=true
https://raw.githubusercontent.com/Kyle0816/QuantumultX/master/JS2.conf, tag=vip脚本2, update-interval=86400, opt-parser=true, enabled=false
# 获取cookie大全
https://raw.githubusercontent.com/sngxpro/QuanX/master/rewrite/cookie.conf, tag=获取Cookie(用时启用), update-interval=86400, opt-parser=true, enabled=true
# 神机重定向
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/General.conf, tag=神机重定向, update-interval=86400, opt-parser=true, enabled=false
# 神机去广告
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Block/Advertising.conf, tag=神机去广告, update-interval=86400, opt-parser=true, enabled=true
# 神机去广告Plus
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Block/AdvertisingPlus.conf, tag=神机去广告Plus, update-interval=86400, opt-parser=true, enabled=true
# Nobyda去广告
https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/Rewrite_lhie1.conf, tag=lhie1去广告, update-interval=86400, opt-parser=true, enabled=true
# 知乎阅读增强
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.qxrewrite, tag=知乎助手_去广告及体验增强, update-interval=86400, opt-parser=true, enabled=false
# 本地服务器(节点)
[server_local]
http=106.52.127.72:19951, fast-open=false, udp-relay=false, tag=本地解锁网易云音乐
# 服务器引用(机场订阅)
[server_remote]
https://raw.githubusercontent.com/sngxpro/proxies/main/sngxprofreeqx, tag=少年歌行pro🤪, img-url=https://raw.githubusercontent.com/sngxpro/icons/main/genshin/mona.png, update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/sngxpro/proxies/main/sngxprofreeqx2, tag=少年歌行pro代理池🤩, img-url=https://raw.githubusercontent.com/sngxpro/icons/main/genshin/qin.png, update-interval=86400, opt-parser=false, enabled=true
https://qxzy.top/tool.txt, tag=奇心科技, update-interval=86400, opt-parser=false, enabled=true
https://pub-api-1.bianyuan.xyz/sub?target=v2ray&url=https%3A%2F%2Fraw.githubusercontent.com%2Ffreefq%2Ffree%2Fmaster%2Fv2&insert=false&emoji=true&list=false&tfo=false&scv=false&fdn=false&sort=false, tag=Zero|白嫖节点订阅1, update-interval=86400, opt-parser=true, enabled=true
https://api.wcc.best/sub?target=ssr&url=https%3A%2F%2Fbihai.cf%2Fclash%2Fproxies%3Fc%3DKR%2CCN%2CTW%2CJP%2CSG%2CIN%26type%3Dssr&insert=false&config=https%3A%2F%2Fraw.githubusercontent.com%2FACL4SSR%2FACL4SSR%2Fmaster%2FClash%2Fconfig%2FACL4SSR_Online.ini, tag=Zero|白嫖节点订阅2, update-interval=86400, opt-parser=true, enabled=true
https://pub-api-1.bianyuan.xyz/sub?target=ss&url=https%3A%2F%2Fbihai.cf%2Fclash%2Fproxies%3Fc%3DKR%2CTW%2CJP%2CSG%2CIN%26type%3Dss&insert=false&emoji=true&list=false&tfo=false&scv=false&fdn=false&sort=false, tag=Zero|白嫖节点订阅3, update-interval=86400, opt-parser=true, enabled=true
https://proxypoolss.tk/ssr/sub, tag=备用, update-interval=86400, opt-parser=false, enabled=true
https://www.bee2.cloud/api/v1/client/subscribe?token=c2c0f7c358d842eb975ce6a37529ae67, tag=备用2, update-interval=86400, opt-parser=true, enabled=true
# 本地分流规则
# 相同规则下本地规则优先生效
[filter_local]
# Local Area Network 局域网
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 China
-geoip, cn, direct
final, 黑白名单
# 绕过企业证书过期
host, ocsp.apple.com, reject
# 迅雷版权问题
host, hub5idx.v6.shub.sandai.net, reject
host, hub5emu.v6.shub.sandai.net, reject
host, hub5btmain.v6.shub.sandai.net, reject
# 屏蔽系统更新
host, mesu.apple.com, reject
host, gdmf.apple.com, reject
# 去掉YouTube++底部广告
host-suffix, ehg-youtube.hitbox.com, reject
# 网易云音乐
host-suffix, music.126.net, direct
# 知乎去广告
DOMAIN,118.89.204.198,REJECT
DOMAIN-KEYWORD,118.89.204.198,REJECT
IP-CIDR,118.89.204.198/32,REJECT
DOMAIN,appcloud2.in.zhihu.com,REJECT
USER-AGENT,AVOS*,REJECT
# 小小影视
host, cscdn1.39d83s.com, reject
# 芸聚漫画检测
DOMAIN,www.umeng.com,DIRECT
DOMAIN,www.adview.cn,DIRECT
DOMAIN,adview.cn,DIRECT
# 芸聚漫画底栏
DOMAIN,googleads.g.doubleclick.net,REJECT
DOMAIN,www.19831110.com,REJECT
# 本地重写
[rewrite_local]
# 第1、2个京东获取CK,复制到浏览器打开:https://home.m.jd.com/myJd/newhome.action
^https:\/\/me-api\.jd\.com\/user_new\/info\/GetJDUserInfoUnion url script-request-header https://raw.githubusercontent.com/dompling/Script/master/jd/JD_extra_sign.js
# 第3个京东账号获取CK,复制到浏览器打开:https://home.m.jd.com/myJd/newhome.action
^https:\/\/me-api\.jd\.com\/user_new\/info\/GetJDUserInfoUnion url script-request-header https://raw.githubusercontent.com/dompling/Script/master/jd/JD_extra_cookie.js
# 定时脚本任务
[task_local]
0 0 * * * https://raw.githubusercontent.com/chavyleung/scripts/master/box/switcher/box.switcher.js, tag=切换会话, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/box.png, enabled=false
1,5 0,12 * * * https://raw.githubusercontent.com/NobyDa/Script/master/JD-DailyBonus/JD_DailyBonus.js, tag=京东多合一签到, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/jd.png, enabled=true
# 证书和主机名
# 导入配置之后记得安装并信任证书,用于Https解析
[mitm]
skip_validating_cert = true
passphrase =
p12 =
hostname = me-api.jd.com,
[http_backend]