-
Notifications
You must be signed in to change notification settings - Fork 1
/
QuanX-bate.conf
481 lines (366 loc) · 36.4 KB
/
QuanX-bate.conf
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
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
; 2020-12-08:增加对各个模块的说明(某些内容只适用于 1.0.14 以上版本)
;⚠️注意⚠️: 以下内容中,带“;” “#”的都是注释符号,去掉前面的符号,该行才有效
;general 模块内为一些通用的设置参数项
[general]
;Quantumult X 会对 server_check_url 指定的网址进行相应测试,以确认节点的可用性
;你同样可以在 server_local/remote 中,为节点、订阅单独指定server_check_url参数
;server_check_url= http://www.qualcomm.cn/generate_204
server_check_url=http://cp.cloudflare.com/generate_204
;👍👍👍资源解析器,可用于自定义各类远程资源的转换,如节点,规则 filter,复写 rewrite 等,url 地址可远程,可 本地/iCloud(Quantumult X/Scripts目录);
;下面是我写的一个解析器,具体内容直接参照链接里的使用说明
resource_parser_url= https://cdn.jsdelivr.net/gh/KOP-XIAO/QuantumultX@master/Scripts/resource-parser.js
;👍👍geo_location_checker用于节点页面的节点信息展示,可完整自定义展示内容与方式
; extreme-ip-lookup为Quantumult X 作者提供的示范 api
;geo_location_checker=http://extreme-ip-lookup.com/json/, https://raw.githubusercontent.com/crossutility/Quantumult-X/master/sample-location-with-script.js
;下面是我所使用的 api 及获取、展示节点信息的 js
geo_location_checker=http://ip-api.com/json/?lang=zh-CN, https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/IP_API.js
;下面是Orz-3所使用的 api 及获取、展示节点信息的 js
;geo_location_checker=http://ip-api.com/json/?lang=zh-CN, https://raw.githubusercontent.com/Orz-3/Orz-3/master/QuantumultX/IP.js
;👍👍👍运行模式模块,running_mode_trigger 设置,即根据网络自动切换 分流/直连/全局代理 等模式。
;running-mode-trigger 模式下,跟手动切换直连/全局代理 等效,rewrite/task 模块始终会生效,比 ssid 策略组设置简单,比 ssid-suspend 更灵活。
;running_mode_trigger=filter, filter, asus-5g:all_direct, asus: all_proxy
; 上述写法,前两个 filter 表示 在 4G 网络跟一般 Wi-Fi 下,走 filter(分流)模式,asus-5g 则切换为全局直连,asus 切换为全局代理
; 如需使用,相应 SSID 换成你自己 Wi-Fi 名即可
;ssid_suspended_list,让 Quantumult X 在特定 Wi-Fi 网络下暂停工作(仅 task 模块会继续工作),多个Wi-Fi用“,”连接
;ssid_suspended_list=Asus, Shawn-Wifi
;dns exclusion list中的域名将不使用fake-ip方式. 其它域名则全部采用 fake-ip 及远程解析的模式
;dns_exclusion_list=*.qq.com, qq.com
dns_exclusion_list=*.cmpassport.com, *.jegotrip.com.cn, *.icitymobile.mobi, id6.me, *.pingan.com.cn, *.cmbchina.com
;UDP名单,留空则默认所有为端口。不在udp白名单列表中的端口,将被丢弃处理。
;udp_whitelist=53, 123, 1900, 80-443
fallback_udp_policy=direct
;下列表中的内容将不经过 QuantumultX的处理
;excluded_routes= 192.168.0.0/16, 172.16.0.0/12, 100.64.0.0/10, 10.0.0.0/8
;icmp_auto_reply=true
excluded_routes=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
# 关联配置头像 ( 图片为108*108的png格式 )
;profile_img_url=https://raw.githubusercontent.com/O7Y0/Profiles/master/QuantumultX/O7-1.png
###############################以下为DNS模块[dns]部分################################
# 添加解析指定的dns服务器以及设置指定域名解析dns
[dns]
;禁用ipv6解析
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=119.29.29.29
;指定域名解析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
;server=/*testflight.apple.com/23.76.66.98
;server=8.8.8.8
;server=/example1.com/8.8.4.4
;server=/*.example2.com/223.5.5.5
;server=/example4.com/[2001:4860:4860::8888]:53
;address=/example5.com/192.168.16.18
;address=/example6.com/[2001:8d3:8d3:8d3:8d3:8d3:8d3:8d3]
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
###############################以下为任务模块[task_local]部分################################
# 任务模块,可用于签到,天气话费查询等
# js文件放于iCloud或者本机的Quantumult X/Scripts 路径下。TF版本可直接使用远程js链接
# 从 “分” 开始的5位cron 写法,具体 cron 表达式可自行 Google
# 比如上述语句 代表每天 12 点 2 分,自动执行一次;
# tag参数为 task 命名标识;
# img-url参数用于指定 task 的图标(108*108)
[task_local]
0 9 * * * https://ghproxy.com/https://raw.githubusercontent.com/dompling/Script/master/jd/ql_cookie_sync.js, tag=自动同步京东ck到青龙面板(boxjs中填写账号密码), img-url=https://ghproxy.com/https://raw.githubusercontent.com/sngxpro/QuanX/master/pic/ql.png, enabled=false
0 0 0,1 * * ? https://ghproxy.com/https://raw.githubusercontent.com/lowking/Scripts/master/QQVip/qqVipCheckIn.js, tag=qq会员成长值, img-url=https://ghproxy.com/https://raw.githubusercontent.com/Orz-3/mini/master/Color/qqvip.png, enabled=true
0 1 0 * * * https://ghproxy.com/https://raw.githubusercontent.com/evilbutcher/Quantumult_X/master/check_in/glados/checkin_env.js, tag=机场签到(配合boxjs使用), img-url=https://ghproxy.com/https://raw.githubusercontent.com/Orz-3/mini/master/Color/airport.png, enabled=true
###############################以下为策略组[policy]部分################################
# static 策略组中,你需要手动选择想要的节点/策略组。
# available 策略组将按顺序选择你列表中第一个可用的节点。
# round-robin 策略组,将按列表的顺序轮流使用其中的节点。
# url-latency-benchmark 延迟策略组,将按照列表自动选择「延迟最优」节点。需添加check-interval=和tolerance=,延迟测试以第二个数值为准。
; - check-interval: 间隔,单位秒。指定间隔多长时间后需要重新发起测试
; - tolerance: 公差,单位毫秒。只有当新优胜者的分数高于旧优胜者的分数加上公差时,才会进行线路更换
; 文本示例:
;url-latency-benchmark=policy-name-8, resource-tag-regex=^sample, server-tag-regex=^example, check-interval=600, tolerance=0
# ssid 策略组,将根据你所设定的网络来自动切换节点/策略组
;img-url 参数用于指定策略组图标,可远程,也可本地/iCloud(Quantumult X/Images路径下) (108*108 大小)
;direct/proxy/reject 则只能用本地图标,名字分别为 direct.png, proxy.png,reject.png 放置于 Images 文件夹下即可生效 (108*108 大小)
# resource-tag-regex=Tai Wan|Japan|Hanguk|Singapore|United States(根据订阅名(tag)来筛选节点)
# server-tag-regex=香港 IEPL|香港 IPLC|香港 BGP (根据节点名来筛选节点)
#server-tag-regex 以及 resource-tag-regex 参数用于正则筛选来建立策略组
#具体可参见教程部分: https://shrtm.nu/DAFP
#以下是quantumultX的3普通种策略组类型写法
;static=policy-name-1, Sample-A, Sample-B, Sample-C
;available=policy-name-2, Sample-A, Sample-B, Sample-C
;round-robin=policy-name-3, Sample-A, Sample-B, Sample-C
#下面是ssid策略组示范
;ssid=policy-name-4, Sample-A, Sample-B, LINK_22E171:Sample-B, LINK_22E172:Sample-C
# "tag" 跟 "enabled" 为可选参数,分别表示 “标签”及“开启状态”, true 为开启,false 关闭.
# update-interval 为更新时间参数,单位 秒, 默认更新时间为 24*60*60=86400 秒,也就是24小时.
# opt-parser=true/false 用于控制是否对本订阅 开启资源解析器,不写或者 false 表示不启用解析器;
[policy]
# static=节点选择, proxy, direct, reject, 最低延迟, 香港节点, 台湾节点, 日本节点, 狮城节点, 美国节点, 韩国节点, 特殊节点, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Available.png
static=国内网站, proxy, direct, reject, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/China_Map.png
static=国内影音, proxy, direct, reject, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/StreamingCN.png
static=网易云音乐, server-tag-regex=(?=.*(M0NATA|M0NATAS|网易云|音乐|数值|(?i)Music))^((?!(TG@M0NATA_|台|日|韩|新|美|香|加)).)*$, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Netease_Music.png
static=腾讯, proxy, direct, reject, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/QQ.png
static=Apple服务, proxy, direct, reject, 最低延迟, 香港节点, 台湾节点, 日本节点, 狮城节点, 美国节点, 韩国节点, 特殊节点, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Apple.png
static=Speedtest, proxy, direct, reject, 最低延迟, 香港节点, 台湾节点, 日本节点, 狮城节点, 美国节点, 韩国节点, 特殊节点, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/Speedtest.png
static=全球规则, proxy, direct, reject, 最低延迟, 香港节点, 台湾节点, 日本节点, 狮城节点, 美国节点, 韩国节点, 特殊节点, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Global.png
static=港台番剧, proxy, direct, reject, 香港节点, 台湾节点, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/StreamingSE.png
static=国外影视, proxy, direct, reject, 最低延迟, 奈飞节点, 香港节点, 台湾节点, 日本节点, 狮城节点, 美国节点, 韩国节点, 特殊节点, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Streaming.png
static=Emby, proxy, direct, reject, 最低延迟, 香港节点, 台湾节点, 日本节点, 狮城节点, 美国节点, 韩国节点, 特殊节点, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Emby.png
static=Hulu, proxy, direct, reject, 最低延迟, 香港节点, 台湾节点, 日本节点, 狮城节点, 美国节点, 韩国节点, 特殊节点, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Hulu.png
static=TikTok, proxy, direct, reject, 最低延迟, 香港节点, 台湾节点, 日本节点, 狮城节点, 美国节点, 韩国节点, 特殊节点, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/TikTok.png
static=Pornhub, proxy, direct, reject, 最低延迟, 香港节点, 台湾节点, 日本节点, 狮城节点, 美国节点, 韩国节点, 特殊节点, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Pornhub.png
url-latency-benchmark=最低延迟, server-tag-regex=香港|🇭🇰️|HK|Hong|台湾|🇹🇼|台灣|TW|Taiwan|🇸🇬|新加坡|狮城|SG|Singapore|🇺🇸|美国|美國|US|States|American|🇯🇵|日本|JP|Japan|🇰🇷|韩国|韓國|南朝鲜|KR|Korean, check-interval=3600, tolerance=0, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Auto.png
dest-hash=奈飞节点, server-tag-regex=Netflix|流媒体, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Netflix.png
url-latency-benchmark=香港节点, server-tag-regex=(?=.*(港|HK|(?i)Hong))^((?!(台|日|韩|新|美)).)*$, check-interval=600, tolerance=0, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Hong_Kong.png
url-latency-benchmark=台湾节点, server-tag-regex=(?=.*(台|TW|(?i)Taiwan))^((?!(港|日|韩|新|美)).)*$, check-interval=600, tolerance=0, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Taiwan.png
dest-hash=日本节点, server-tag-regex=(?=.*(日|JP|(?i)Japan))^((?!(港|台|韩|新|美)).)*$, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Japan.png
dest-hash=狮城节点, server-tag-regex=(?=.*(新|狮|獅|SG|(?i)Singapore))^((?!(港|台|日|韩|美)).)*$, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Singapore.png
dest-hash=美国节点, server-tag-regex=(?=.*(美|US|(?i)States|American))^((?!(港|台|日|韩|新)).)*$, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/United_States.png
dest-hash=韩国节点, server-tag-regex=(?=.*(韩国|韓國|南朝鲜|KR|(?i)Korean))^((?!(专线|手游|游戏|(?i)IPLC|IEPL|game)).)*$, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Korea.png
dest-hash=特殊节点, server-tag-regex=^((?!(M0NATA|M0NATAS|网易云|音乐|数值|专线|手游|游戏|香港|台湾|日本|新加坡|美国|韩国|狮城|南朝鲜|US|SG|JP|KR|HK|TW|台灣|美國|韓國|獅城|账号|试用|流量|电报|网址|最新|域名|剩余|(?i)IPLC|IEPL|game|States|American|Singapore|Japan|Korea|Hong|Taiwan|data|date|website)).)*$, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/United_Nations.png
# url-latency-benchmark=游戏节点, server-tag-regex=(手游|游戏|专线|(?i)IPLC|IEPL|game), check-interval=600, tolerance=0, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Game.png
static=广告拦截, proxy, direct, reject, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Advertising.png
static=终极清单, proxy, direct, reject, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Final.png
###############################以下为节点订阅[server_remote]部分################################
#服务器节点远程订阅、
#远程服务器订阅模块,可直接订阅SSR,SS链接,以及Quantumult X格式的vmess/trojan/https订阅
#其它格式可用 opt-parser 参数开启解析器导入使用
#img-url参数用于指定图标,格式要求同样为 108*108 的 png 图片,可远程,可本地
#支持本地/iCloud的节点文件,位于Quantumult X/Profiles路径下
;servers.txt, tag=本地服务器, img-url=https://raw.githubusercontent.com/crossutility/Quantumult-X/master/quantumult-x.png, enabled=false
# 节点保留 #regex=香港
# 节点删除 #out=香港
;https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Airport.png
[server_remote]
https://raw.githubusercontent.com/o7y0/GeneralSubscribe/main/UnblockNeteaseMusic/UnblockNeteaseMusic.txt, tag=网易云音乐, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/Netease.png, update-interval=86400, opt-parser=true, enabled=true
###############################以下为分流规则订阅[filter_remote]部分################################
#规则分流远程订阅
#远程分流模块,可使用force-policy来强制使用策略偏好, 替换远程规则内所指定的策略组
;同样的
# update-interval 为更新时间参数,单位 秒, 默认更新时间为 24*60*60=86400 秒,也就是24小时.
# opt-parser=true/false 用于控制是否对本订阅 开启资源解析器,不写或者 false 表示不启用解析器;
#支持本地/iCloud规则文件,位于Quantumult X/Profiles路径下
;filter.txt, tag=本地分流, enabled=false
[filter_remote]
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/China/China.list, tag=国内直连, force-policy=direct, update-interval=86400, opt-parser=true, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/ChinaIPs/ChinaIPs.list, tag=ChinaIP, force-policy=direct, update-interval=86400, opt-parser=true, enabled=false
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/ChinaIPsBGP/ChinaIPsBGP.list, tag=ChinaIPsBGP, force-policy=direct, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Baidu/Baidu.list, tag=百度, force-policy=direct, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Tencent/Tencent.list, tag=腾讯, force-policy=direct, update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/GaoDe/GaoDe.list, tag=高德, force-policy=direct, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Sina/Sina.list, tag=新浪, force-policy=direct, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/NetEase/NetEase.list, tag=网易, force-policy=direct, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/iQIYI/iQIYI.list, tag=爱奇艺, force-policy=国内影音, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Youku/Youku.list, tag=优酷, force-policy=国内影音, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/TencentVideo/TencentVideo.list, tag=腾讯视频, force-policy=国内影音, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/ChinaMedia/ChinaMedia.list, tag=国内影音, force-policy=国内影音, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Himalaya/Himalaya.list, tag=喜马拉雅, force-policy=国内影音, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/NetEaseMusic/NetEaseMusic.list, tag=网易云音乐, force-policy=网易云音乐, update-interval=86400, opt-parser=true, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/AliPay/AliPay.list, tag=支付宝, force-policy=direct, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/PrivateTracker/PrivateTracker.list, tag=PT下载, force-policy=direct, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Download/Download.list, tag=Download, force-policy=direct, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/ChinaMobile/ChinaMobile.list, tag=中国移动, force-policy=direct, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/ChinaTelecom/ChinaTelecom.list, tag=中国电信, force-policy=direct, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/ChinaUnicom/ChinaUnicom.list, tag=中国联通, force-policy=direct, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/ChinaNews/ChinaNews.list, tag=中国新闻网, force-policy=direct, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Lan/Lan.list, tag=本地局域网地址, force-policy=direct, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Apple/Apple.list, tag=Apple服务, force-policy=Apple服务, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Global/Global.list, tag=全球规则, force-policy=全球规则, update-interval=86400, opt-parser=true, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/AsianMedia/AsianMedia.list, tag=港台番剧, force-policy=港台番剧, update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/GlobalMedia/GlobalMedia.list, tag=国外影视, force-policy=国外影视, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Cloudflare/Cloudflare.list, tag=Cloudflare, force-policy=全球规则, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/ClubhouseIP/ClubhouseIP.list, tag=Clubhouse-ip, force-policy=全球规则, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/Tartarus2014/For-own-use/master/Ruleset/Emby/Emby.list, tag=Emby, force-policy=Emby, update-interval=172800, opt-parser=true, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/HuluJP/HuluJP.list, tag=HuluJP, force-policy=Hulu, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/HuluUSA/HuluUSA.list, tag=HuluUSA, force-policy=Hulu, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/Semporia/Quantumult-X/master/Filter/Pornhub.list, tag=Pornhub, force-policy=Pornhub, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Speedtest/Speedtest.list, tag=Speedtest, force-policy=Speedtest, update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/TikTok/TikTok.list, tag=TikTok, force-policy=TikTok, update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/AdvertisingTest/AdvertisingTest.list, tag=广告拦截&运营劫持&隐私保护, force-policy=reject, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/ZhihuAds/ZhihuAds.list, tag=知乎广告拦截, force-policy=reject, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Unbreak.list, tag=规则修正, force-policy=direct, update-interval=86400, opt-parser=true, enabled=true
###############################以下为复写订阅[rewrite_remote]部分################################
#rewrite 复写远程订阅
#远程复写模块,内包含主机名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/KOP-XIAO/QuantumultX/master/Q-Search.list, tag=Q-Search, update-interval=172800, opt-parser=true, enabled=false
# TestFlight区域限制解除,适用于国区更新外区TF App时, 提示"APP不可用"问题.
https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/TestFlightDownload.conf, tag=TestFlight区域限制解除, update-interval=172800, opt-parser=false, enabled=false
# TikTok解锁订阅
https://raw.githubusercontent.com/EylinX/TikTok-Unlock/master/Quantumult%20X/TikTok-JP.conf, tag=TikTok-JP(勿混用), update-interval=86400, opt-parser=true, enabled=false
https://raw.githubusercontent.com/mymoonyue/TikTok-Unlock/master/Quantumult%20X/TikTok-TW.conf, tag=TikTok-TW(勿混用), update-interval=86400, opt-parser=true, enabled=false
https://raw.githubusercontent.com/mymoonyue/TikTok-Unlock/master/Quantumult%20X/TikTok-KR.conf, tag=TikTok-KR(勿混用), update-interval=86400, opt-parser=true, enabled=false
https://raw.githubusercontent.com/mymoonyue/TikTok-Unlock/master/Quantumult%20X/TikTok-US.conf, tag=TikTok-US(勿混用), update-interval=86400, opt-parser=true, enabled=false
https://raw.githubusercontent.com/Tartarus2014/QuantumultX-Script/main/Unlock/TiktokUK.conf, tag=TikTok-UK(勿混用), update-interval=172800, opt-parser=false, enabled=false
#破解软件规则,建议用的时候开启
https://subweb.oss-cn-hongkong.aliyuncs.com/Module/embyUnlocked.conf, tag=EMBY解锁, update-interval=86400, opt-parser=false, enabled=false
https://raw.githubusercontent.com/ddgksf2013/Cuttlefish/master/Rewrite/UnlockApp.conf, tag=VIP, update-interval=172800, opt-parser=false, enabled=true
# bilibili哔哩哔哩
https://raw.githubusercontent.com/Orz-3/QuantumultX/master/Bili_Auto_Regions.conf, tag=哔哩哔哩自动换区, update-interval=86400, opt-parser=false, enabled=true
# JD相关
https://raw.githubusercontent.com/Semporia/Quantumult-X/master/JD-Cookie.conf, tag=JD-Cookie, update-interval=86400, opt-parser=true, enabled=false
https://raw.githubusercontent.com/Fokit/Quantumult-X/main/rewrite/jd_login_help2.sgmodule, tag=京东登录辅助, update-interval=172800, opt-parser=true, enabled=false
https://raw.githubusercontent.com/anker1209/Scriptable/main/Jd_unbindCard.conf, tag=京东退会, update-interval=172800, opt-parser=false, enabled=false
# Orz-3 各类CK获取等
https://raw.githubusercontent.com/Orz-3/QuantumultX/master/JS_GetCookie.conf, tag=Orz-3获取各类Cookie, update-interval=86400, opt-parser=false, enabled=false
https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/Js_Remote_Cookie.conf, tag=NobyDa获取各类cookie, update-interval=172800, opt-parser=false, enabled=false
https://raw.githubusercontent.com/ztxtop/x/main/rewrite-zqkkz.plugin, tag=中青看看赚&浏览赚Cookie获取(需资源解析器), update-interval=86400, opt-parser=true, enabled=false
# 去广告类规则,建议保持开启,但抓取一些看广告得奖励cookie是要关闭
https://raw.githubusercontent.com/O7Y0/Profiles/master/QuantumultX/Rewrite/Script.conf, tag=Script去广告合集, update-interval=86400, opt-parser=false, enabled=false
https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/Js.conf, tag=NobyDa去广告, update-interval=172800, opt-parser=false, enabled=true
https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/Rewrite_lhie1.conf, tag=lhie1去广告, update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Block/Advertising.conf, tag=神机复写(⛔️去广告), update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/General.conf, tag=神机复写(😄️通用), update-interval=86400, opt-parser=false, enabled=true
# Orz-3 去广告 JD比价等
https://raw.githubusercontent.com/Orz-3/QuantumultX/master/JS.conf, tag=比价&去广告Script, update-interval=86400, opt-parser=false, enabled=true
;Youtube premium 会员请勿开启此条
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Block/YouTubeAds.conf, tag=神机复写(🈲YouTube-AD), update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/Orz-3/QuantumultX/master/YouTube.conf, tag=YouTube去广告, update-interval=86400, opt-parser=false, enabled=true
# boxjs规则,强烈建议保持开启
https://raw.githubusercontent.com/chavyleung/scripts/master/box/rewrite/boxjs.rewrite.quanx.tf.conf, tag=BoxJs, update-interval=86400, opt-parser=true, enabled=true
# 比价格规则,根据需要选择是否开启
###############################以下为本地服务器[server_local]部分################################
# 本地服务器部分
# 以下示范都是 ip(域名):端口,
# 比如 vmess-a.203.167.55.4:777 ,实际是 203.167.55.4:777
# 前面的 ss-a,ws-tls这些,只是为了让你快速找到自己节点的类型
# 实际使用时,请不要真的 傻乎乎的 写 vmess-a.203.167.55.4:777 这种。
#shadowsocks以及shadowsocksR类型
;shadowsocks=ss-a.example.com:80, method=chacha20, password=pwd, obfs=http, obfs-host=bing.com, obfs-uri=/resource/file, fast-open=false, udp-relay=false, server_check_url=http://www.apple.com/generate_204, tag=Sample-A
;shadowsocks=ss-b.example.com:80, method=chacha20, password=pwd, obfs=http, obfs-host=bing.com, obfs-uri=/resource/file, fast-open=false, udp-relay=false, tag=Sample-B
;shadowsocks=ss-c.example.com:443, method=chacha20, password=pwd, obfs=tls, obfs-host=bing.com, fast-open=false, udp-relay=false, tag=Sample-C
;shadowsocks=ssr-a.example.com:443, method=chacha20, password=pwd, ssr-protocol=auth_chain_b, ssr-protocol-param=def, obfs=tls1.2_ticket_fastauth, obfs-host=bing.com, tag=Sample-D
;shadowsocks=ws-a.example.com:80, method=aes-128-gcm, password=pwd, obfs=ws, obfs-uri=/ws, fast-open=false, udp-relay=false, tag=Sample-E
;shadowsocks=ws-b.example.com:80, method=aes-128-gcm, password=pwd, obfs=ws, fast-open=false, udp-relay=false, tag=Sample-F
;shadowsocks=ws-tls-a.example.com:443, method=aes-128-gcm, password=pwd, obfs=wss, obfs-uri=/ws, fast-open=false, udp-relay=false, tag=Sample-G
# vmess 类型,ws,wss(ws+tls),over-tls,tcp
; ws 类型
;vmess=ws-c.example.com:80, method=chacha20-ietf-poly1305, password= 23ad6b10-8d1a-40f7-8ad0-e3e35cd32291, obfs-host=ws-c.example.com, obfs=ws, obfs-uri=/ws, fast-open=false, udp-relay=false, tag=Sample-H
; wss(ws+tls) 类型
;vmess=ws-tls-b.example.com:443, method=chacha20-ietf-poly1305, password= 23ad6b10-8d1a-40f7-8ad0-e3e35cd32291, obfs-host=ws-tls-b.example.com, obfs=wss, obfs-uri=/ws, tls-verification=true,fast-open=false, udp-relay=false, tag=Sample-I
; tcp 类型
;vmess=vmess-a.example.com:80, method=aes-128-gcm, password=23ad6b10-8d1a-40f7-8ad0-e3e35cd32291, fast-open=false, udp-relay=false, tag=Sample-J
;vmess=vmess-b.example.com:80, method=none, password=23ad6b10-8d1a-40f7-8ad0-e3e35cd32291, fast-open=false, udp-relay=false, tag=Sample-K
; over-tls 类型
;vmess=vmess-over-tls.example.com:443, method=none, password=23ad6b10-8d1a-40f7-8ad0-e3e35cd32291, obfs-host=vmess-over-tls.example.com, obfs=over-tls, tls-verification=true, fast-open=false, udp-relay=false, tag=Sample-L
; http(s) 类型
;http=http.example.com:80, username=name, password=pwd, fast-open=false, udp-relay=false, tag=http
;http=https.example.com:443, username=name, password=pwd, over-tls=true, tls-verification=true, tls-host=example.com, tls-verification=true, fast-open=false, udp-relay=false, tag=http-tls
; trojan 类型
;trojan=example.com:443, password=pwd, over-tls=true, tls-verification=true, fast-open=false, udp-relay=false, tag=trojan-tls-01
;trojan=192.168.1.1:443, password=pwd, over-tls=true, tls-host=example.com, tls-verification=true, fast-open=false, udp-relay=false, tag=trojan-tls-02
[server_local]
###############################以下为本地分流规则[filter_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
ip-cidr, 224.0.0.0/24, direct
ip-cidr, 224.0.0.0/4, direct
ip6-cidr, fe80::/10, direct
host-suffix, music.126.net, DIRECT
host-suffix, music.126.net, DIRECT
# Netease Music Advertising
host,admusicpic.music.126.net,reject
host,iadmat.nosdn.127.net,reject
host,iadmusicmat.music.126.net,reject
host,iadmusicmatvideo.music.126.net,reject
# Netease Music
host,api.iplay.163.com,网易云音乐
host,apm3.music.163.com,网易云音乐
host,apm.music.163.com,网易云音乐
host,interface3.music.163.com,网易云音乐
host,interface3.music.163.com.163jiasu.com,网易云音乐
host,interface.music.163.com,网易云音乐
host,music.163.com,网易云音乐
ip-cidr,39.105.63.80/32,网易云音乐
ip-cidr,39.105.175.128/32,网易云音乐
ip-cidr,45.254.48.1/32,网易云音乐
ip-cidr,47.100.127.239/32,网易云音乐
ip-cidr,59.111.160.195/32,网易云音乐
ip-cidr,59.111.160.197/32,网易云音乐
ip-cidr,59.111.181.35/32,网易云音乐
ip-cidr,59.111.181.38/32,网易云音乐
ip-cidr,59.111.181.60/32,网易云音乐
ip-cidr,101.71.154.241/32,网易云音乐
ip-cidr,103.126.92.132/32,网易云音乐
ip-cidr,103.126.92.133/32,网易云音乐
ip-cidr,112.13.119.17/32,网易云音乐
ip-cidr,112.13.119.18/32,网易云音乐
ip-cidr,112.13.122.1/32,网易云音乐
ip-cidr,112.13.122.4/32,网易云音乐
ip-cidr,115.236.118.33/32,网易云音乐
ip-cidr,115.236.121.1/32,网易云音乐
ip-cidr,118.24.63.156/32,网易云音乐
ip-cidr,182.92.170.253/32,网易云音乐
ip-cidr,193.112.159.225/32,网易云音乐
ip-cidr,223.252.199.66/32,网易云音乐
ip-cidr,223.252.199.67/32,网易云音乐
# Emby分流
;user-agent, ?abc*, proxy
;host, www.google.com, proxy
;host-keyword, adsite, reject
;host-suffix, googleapis.com, proxy
# 已采用 ip 池数据,因此注释掉 geoip cn
;geoip, cn, direct
#不在上述规则中(远程以及本地)的剩余请求,将走final 指定的节点/策略,这里即是 → 🏁 终极清单, 请根据自己的需求来选择直连或节点、策略
final, 终极清单
###############################以下为本地复写规则[rewrite_local]部分################################
#本地复写规则
[rewrite_local]
# TikTok解除 JP(日本)|KR(韩国)|UK(英国)|US(美国)|TW(台湾)
(?<=_region=)CN(?=&) url 307 JP
(?<=&mcc_mnc=)4 url 307 2
^(https?:\/\/(tnc|dm)[\w-]+\.\w+\.com\/.+)(\?)(.+) url 302 $1$3
(?<=\d\/\?\w{7}_\w{4}=)1[6-9]..(?=.?.?&) url 307 17
# 获取京东金融Cookie.
^https?:\/\/ms\.jr\.jd\.com\/gw\/generic\/uc\/newna\/m\/userstat url script-request-body https://raw.githubusercontent.com/dompling/Script/master/jd/jd_jr_cookie.js
# 获取京东Cookie.
# 注意此为远程路径, 低版本用户请自行调整为本地路径.
https:\/\/api\.m\.jd\.com\/client\.action.*functionId=signBean url script-request-header https://raw.githubusercontent.com/NobyDa/Script/master/JD-DailyBonus/JD_DailyBonus.js
#qq会员获取cookie
https:\/\/proxy.vac.qq.com\/cgi-bin\/srfentry.fcgi? url script-request-header qqVipCheckIn.js
# 获取京喜Cookie.
^https\:\/\/wq\.jd\.com\/cubeactive\/farm\/dotask url script-request-header https://raw.githubusercontent.com/whyour/hundun/master/quanx/jx_tokens.js
^https\:\/\/m\.jingxi\.com\/dreamfactory\/generator\/CollectCurrentElectricity url script-request-header https://raw.githubusercontent.com/whyour/hundun/master/quanx/jx_tokens.js
^https\:\/\/m\.jingxi\.com\/jxcfd\/consume\/CashOut url script-request-header https://raw.githubusercontent.com/whyour/hundun/master/quanx/jx_tokens.js
##知乎网页不强制跳转 App
^https?:\/\/www\.zhihu\.com\/ url request-header (\r\n)User-Agent:.+(\r\n) request-header $1User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36$2
###############################以下为证书&主机名[mitm]部分################################
#以下为证书&主机名部分
;以下模块去掉;才生效
;请自行在 APP 的UI中生成证书 并安装&信任
# -*snssdk.com, -*amemv.com 解决最新版抖音(不是TikTok)网络故障
[mitm]
skip_validating_cert = true
hostname = api*.tiktokv.com, api*.musical.ly, api.amemv.com, www.zhihu.com, -*snssdk.com, -*amemv.com, home.m.jd.com, plogin.m.jd.com, ms.jr.jd.com, m.jingxi.com, trade-acs.m.taobao.com, *.y.qq.com, *.music.163.com, api.m.jd.com, proxy.vac.qq.com, daojia.jd.com, music.163.com, *.m.163.com, me-api.jd.com, wq.jd.com, veishop.iboxpay.com, ymz.iphonezhuan.com, ranlv.lvfacn.com, api-9f9d25.sz365.cn, account.huami.com, dkd-api.dysdk.com, www.geekhub.com, *.googlevideo.com, *.youtube.com, *.googleapis.com, www.52pojie.cn, api.weibo.cn, mapi.weibo.com, *.uve.weibo.com, api.zhihu.com, link.zhihu.com, pan.baidu.com, www.baidu.com2.club, vipapi.jxedt.com, app.flashdown365.com, *.gao1gps.cn, greasyfork.org, mp.weixin.qq.com, app.bilibili.com, api.gamer.com.tw, ios.prod.ftl.netflix.com