forked from Semporia/Quantumult-X
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Quantumult-X.conf
executable file
·198 lines (151 loc) · 14.8 KB
/
Quantumult-X.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
# Quantumult 配置
#
# 以 “;” 或 “#” 或 “//“ 开头的行为注释行。
#
# 更多示例查看 Quantumult X 里「配置文件」中的「示例」
# general 模块内为一些通用的设置参数项
[general]
# 关联配置头像 ( 图片为108*108的png格式 )
profile_img_url= 这里放自己的头像图片地址
# 自定义查询节点信息
# geo_location_checker=http://ifconfig.co/json, https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/IPConfig.js
# 资源解析器,可用于自定义各类远程资源的转换,如节点,规则 filter,复写 rewrite 等,url 地址可远程,可 本地/iCloud(Quantumult X/Scripts目录);
resource_parser_url=https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/resource-parser.js
# Quantumult X 会对 server_check_url 指定的网址进行相应测试,以确认节点的可用性
# 你同样可以在 server_local/remote 中,为节点、订阅单独指定server_check_url参数
server_check_url=http://www.qualcomm.cn/generate_204
network_check_url=http://www.qualcomm.cn/generate_204
# 下列表中的内容将不经过 QuantumultX的处理
excluded_routes=192.168.0.0/16, 193.168.0.0/24, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, 17.0.0.0/8
# dns exclusion list中的域名将不使用fake-ip方式. 其它域名则全部采用 fake-ip 及远程解析的模式
dns_exclusion_list = *.cmpassport.com, *.jegotrip.com.cn, *.icitymobile.mobi, *.pingan.com.cn, *.cmbchina.com
# 指定在某个 Wi-Fi 下暂停 Quantumult X
# ssid_suspended_list=LINK_22E174, LINK_22E175
# 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
# 参数 fallback_udp_policy 仅支持 v1.0.19 以及之后的版本。
# 参数 fallback_udp_policy 的值仅支持末端策略(末端策略为经由规则模块和策略模块后所命中的策略,例如:direct、reject 以及节点;不支持内置策略 proxy 以及其它自定义策略)。
fallback_udp_policy=direct
# DNS 设置
[dns]
# doh-server=https://127.0.0.1:65538
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
# 指定域名解析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
[policy]
# resource-tag-regex=Tai Wan|Japan|Korea|Singapore|United States(根据订阅名(tag)来筛选节点)
# server-tag-regex=香港 IEPL|香港 IPLC|香港 BGP (根据节点名来筛选节点)
# 以上两种二选一,或者搭配使用!
url-latency-benchmark=Auto Speed, resource-tag-regex=Hong Kong, server-tag-regex=IEPL|BGP, check-interval=3600, tolerance=0, img-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Universal/Auto_Speed.png
static=Final, Auto Speed, img-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Universal/Final.png
static=WeChat, Tencent, img-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Universal/WeChat.png
static=Tencent, direct, resource-tag-regex=Singapore, server-tag-regex=IEPL|BGP, check-interval=3600, tolerance=0, img-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Universal/Tencent.png
Static=TencentVideo, direct, img-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Universal/TencentVideo.png
Static=Speedtest, direct, resource-tag-regex=United States|Japan, server-tag-regex=BGP|IEPL, img-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Universal/Speedtest.png
Static=Apple, direct, resource-tag-regex=United States|Japan, server-tag-regex=BGP|IEPL, img-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Social_Media/Apple.png
url-latency-benchmark=Clubhouse, resource-tag-regex=United States, server-tag-regex=BGP|IEPL, check-interval=3600, tolerance=0, img-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Universal/Clubhouse.png
available=PayPal, resource-tag-regex=United States, server-tag-regex=BGP|IEPL, img-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Social_Media/Paypal.png
url-latency-benchmark=Amazon, resource-tag-regex=United States, server-tag-regex=BGP|IEPL, check-interval=3600, tolerance=0, img-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Social_Media/Amazon.png
url-latency-benchmark=Google, resource-tag-regex=United States, server-tag-regex=BGP|IEPL, check-interval=3600, tolerance=0, img-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Google_Suite/Google.png
url-latency-benchmark=YouTube, resource-tag-regex=United States, server-tag-regex=BGP|IEPL, check-interval=3600, tolerance=0, img-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Google_Suite/YouTube.png
url-latency-benchmark=Spotify, resource-tag-regex=U, server-tag-regex=BGP|IEPL, check-interval=3600, tolerance=0, img-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Social_Media/Spotify.png
url-latency-benchmark=GitHub, resource-tag-regex=United States, check-interval=3600, tolerance=0, img-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Social_Media/GitHub.png
url-latency-benchmark=Microsoft, resource-tag-regex=United States, check-interval=3600, tolerance=0, img-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Universal/Microsoft.png
url-latency-benchmark=TikTok, resource-tag-regex=Korea|Japan, check-interval=3600, tolerance=0, img-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Social_Media/TikTok.png
url-latency-benchmark=Telegram, resource-tag-regex=United States, check-interval=3600, tolerance=0, img-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Social_Media/Telegram.png
url-latency-benchmark=Twitter, resource-tag-regex=Hong Kong, server-tag-regex=BGP|IEPL, check-interval=3600, tolerance=0, img-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Social_Media/Twitter.png
url-latency-benchmark=Facebook, resource-tag-regex=Hong Kong, server-tag-regex=BGP|IEPL, check-interval=3600, tolerance=0, img-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Social_Media/Facebook.png
url-latency-benchmark=Pinterest, resource-tag-regex=Hong Kong, server-tag-regex=BGP|IEPL, check-interval=3600, tolerance=0, img-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Social_Media/Pinterest.png
static=Ad Blocking, reject, direct, img-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Universal/Reject.png
# 静态策略(static)
;static=policy-name-1, Sample-A, Sample-B, Sample-C, img-url=http://example.com/icon.png
# 健康策略(available)
;available=policy-name-2, Sample-A, Sample-B, Sample-C
# 负载均衡(round-robin)
;round-robin=policy-name-3, Sample-A, Sample-B, Sample-C
# SSID 改变某个 Wi-Fi 下的策略,比 ssid_suspended_list 更灵活
;ssid=policy-name-4, Sample-A, Sample-B, LINK_22E171:Sample-B, LINK_22E172:Sample-C
# “tag” 和 “enabled” 为可选项。
# 所有类型的远程资源的默认同步间隔为 24 * 60 * 60 秒。
[server_local]
[server_remote]
# 节点订阅
# “tag”, “force-policy” 和 “enabled” 为可选项.
# 远程分流模块,可使用force-policy来强制使用策略偏好, 替换远程规则内所指定的策略组.
# update-interval 为更新时间参数,单位 秒, 默认更新时间为 24*60*60=86400 秒,也就是24小时.
# opt-parser=true/false 用于控制是否对本订阅 开启资源解析器,不写或者 false 表示不启用解析器;
[filter_local]
host, m.biquduo.com, direct
host, m.booktxt.com, direct
geoip, cn, direct
final, Final
[filter_remote]
https://raw.githubusercontent.com/Semporia/Quantumult-X/master/Filter/Advertising.list, tag=Ad Blocking, force-policy=Ad Blocking, update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/Semporia/Quantumult-X/master/Filter/WeChat.list, tag=WeChat, force-policy=WeChat, update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/Semporia/Quantumult-X/master/Filter/Tencent.list, tag=Tencent, force-policy=Tencent, update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/Semporia/Quantumult-X/master/Filter/TencentVideo.list, tag=TencentVideo, force-policy=TencentVideo, update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/Semporia/Quantumult-X/master/Filter/Speedtest.list, tag=Speedtest, force-policy=Speedtest, update-interval=86400, opt-parser=true, enabled=true
https://raw.githubusercontent.com/Semporia/Quantumult-X/master/Filter/Apple.list, tag=Apple, force-policy=Apple, update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/Semporia/Quantumult-X/master/Filter/Amazon.list, tag=Amazon, force-policy=Amazon, update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/Semporia/Quantumult-X/master/Filter/Clubhouse.list, tag=Clubhouse, force-policy=Clubhouse, update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/Semporia/Quantumult-X/master/Filter/PayPal.list, tag=PayPal, force-policy=PayPal, update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/Semporia/Quantumult-X/master/Filter/Google.list, tag=Google, force-policy=Google, update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/Semporia/Quantumult-X/master/Filter/YouTube.list, tag=YouTube, force-policy=YouTube, update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/Semporia/Quantumult-X/master/Filter/Spotify.list, tag=Spotify, force-policy=Spotify, update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/Semporia/Quantumult-X/master/Filter/GitHub.list, tag=GitHub, force-policy=GitHub, update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/Semporia/Quantumult-X/master/Filter//Microsoft.list, tag=Microsoft, force-policy=Microsoft, update-interval=172800, opt-parser=true, enabled=true
https://raw.githubusercontent.com/Semporia/Quantumult-X/master/Filter/TikTok.list, tag=TikTok, force-policy=TikTok, update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/Semporia/Quantumult-X/master/Filter/Telegram.list, tag=Telegram, force-policy=Telegram, update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/Semporia/Quantumult-X/master/Filter/Twitter.list, tag=Twitter, force-policy=Twitter, update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/Semporia/Quantumult-X/master/Filter/Facebook.list, tag=Facebook, force-policy=Facebook, update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/Semporia/Quantumult-X/master/Filter/Pinterest.list, tag=Pinterest, force-policy=Pinterest, update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/Semporia/Quantumult-X/master/Filter/Global.list, tag=全球加速, force-policy=Final, update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/Semporia/Quantumult-X/master/Filter/China.list, tag=中国直连, force-policy=direct, update-interval=86400, opt-parser=false, enabled=true
[rewrite_local]
[rewrite_remote]
https://raw.githubusercontent.com/free1x/rules/main/Bilibili.sgmodule, tag=哔哩哔哩去广告, update-interval=86400, opt-parser=true, enabled=true
https://raw.githubusercontent.com/app2smile/rules/master/module/bilibili-qx.conf, tag=Bilibili, update-interval=172800, opt-parser=true, enabled=true
https://raw.githubusercontent.com/app2smile/rules/master/module/spotify.conf, tag=Spotify, update-interval=172800, opt-parser=true, enabled=true
https://raw.githubusercontent.com/VirgilClyne/iRingo/main/qxrewrite/Weather.qxrewrite, tag=天气 3.0, update-interval=86400, opt-parser=true, enabled=true
https://raw.githubusercontent.com/VirgilClyne/iRingo/main/qxrewrite/Location.qxrewrite, tag=定位服务 2.0, update-interval=86400, opt-parser=true, enabled=true
https://raw.githubusercontent.com/VirgilClyne/iRingo/beta/qxrewrite/Siri.qxrewrite, tag=Siri与搜索 2.0, update-interval=86400, opt-parser=true, enabled=true
https://raw.githubusercontent.com/VirgilClyne/iRingo/main/qxrewrite/Apple_Maps.qxrewrite, tag=Apple Maps 2.0, update-interval=86400, opt-parser=true, enabled=true
https://raw.githubusercontent.com/VirgilClyne/iRingo/main/qxrewrite/Apple_TV.qxrewrite, tag=Apple TV 2.0, update-interval=86400, opt-parser=true, enabled=true
https://raw.githubusercontent.com/VirgilClyne/iRingo/main/qxrewrite/Apple_News.qxrewrite, tag=Apple News 2.0, update-interval=86400, opt-parser=true, enabled=true
https://raw.githubusercontent.com/Semporia/Quantumult-X/master/Rewrite/Rewrite.conf, tag=DivineEngine Rewrite, update-interval=86400, opt-parser=true, enabled=true
https://raw.githubusercontent.com/chavyleung/scripts/master/box/rewrite/boxjs.rewrite.quanx.tf.conf, tag=BoxJs, update-interval=86400, opt-parser=true, enabled=true
http://raw.githubusercontent.com/mymoonyue/QuantumultX/master/YouTubeADs.conf, tag=YouTube AD, update-interval=86400, opt-parser=true, enabled=true
https://raw.githubusercontent.com/Semporia/Quantumult-X/master/Rewrite/TikTok.conf, tag=TikTok, update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/TestFlightDownload.conf, tag=TestFlight, update-interval=86400, opt-parser=false, enabled=true
# 因为篇幅过长且随时可能有新的协议增加,到「配置文件」中的「示例」查看最新关于服务器的示例
# 只有 obfs=http,obfs=ws,obfs=wss 可以有可选的 “obfs-uri” 字段。
# 当使用 obfs=ws 和 obfs=wss 时,服务器端可以通过带有 mux=0 的 v2ray-plugin 或 v2ray-core 进行部署。
[task_local]
# 脚本订阅区域
[http_backend]
https://raw.githubusercontent.com/chavyleung/scripts/master/box/chavy.boxjs.js, tag=BoxJs.net, path=^/, enabled=true
[mitm]
hostname = gspe1-ssl.ls.apple.com, gspe35-ssl.ls.apple.com, -*snssdk.com, -*amemv.com, ms.jr.jd.com, me-api.jd.com, api.m.jd.com, draw.jdfcloud.com, wq.jd.com, m.jingxi.com, wapside.189.cn, *.bilibili.com, *.feng.com, proxy.vac.qq.com, account.huami.com