forked from GFBG-IT/QuantumultX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquantumult_X.conf
253 lines (187 loc) · 10.4 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
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
# Modify according to DivineEngine's configuration
#
# Update Date : 2020-12-01
# 模块 > 通用参数设置
[general]
# 资源解析器
# 用于自定义各类远程资源的转换,如节点,规则 filter,复写 rewrite 等,url 地址可远程,可 本地/iCloud(Quantumult X/Scripts目录)
resource_parser_url=https://raw.sevencdn.com/KOP-XIAO/QuantumultX/master/Scripts/resource-parser.js
# 地理位置检查器
# 用于节点页面的节点信息展示,可完整自定义展示内容与方式
;geo_location_checker=http://ip-api.com/json/?lang=zh-CN, https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/IP_API.js
# 服务器检查网址
# QuantumultX 对 server_check_url 指定的网址进行相应测试,以确认节点的可用性
server_check_url=http://www.gstatic.com/generate_204
# DNS 排除列表
# 包含了禁用占位符 IP (240.*) 的域,不在 dns_exclusion_list 中的域都启用了占位符 IP,并打开了 resolve-on-remote 设置
dns_exclusion_list=*.cmpassport.com, *.jegotrip.com.cn, *.icitymobile.mobi, id6.me, *.icitymobile.mobi, *.pingan.com.cn, *.cmbchina.com, *.localnetwork.uop, mfs.ykimg.com*.ttf
# 排除路由
# QuantumultX 将不会处理到 excluded_routes 的流量。修改后最好重新启动您的设备
;excluded_routes=192.168.0.0/16, 172.16.0.0/12, 100.64.0.0/10, 10.0.0.0/8
# 运行模式触发器
# 在网络环境切换时触发,且 Rewrite 及 Task 模块始终生效
# filter - 规则分流,all_proxy - 全部代理,all_direct - 全部直连
# 下列示例的意思为:在蜂窝数据使用规则分流(第一个 filter),在 Wi-Fi 使用规则分流(第二个 filter),在 SSID 为 LINK_2.4G 的 Wi-Fi 使用全部代理,,在 SSID 为 LINK_5G 的 Wi-Fi 使用全部直连
;running_mode_trigger=filter, filter, LINK_2.4G:all_proxy, LINK_5G:all_direct
# SSID 暂停列表
# 在特定 SSID 网络时(除了 Task 模块)暂停 QuantumultX
;ssid_suspended_list=LINK_2.4G, LINK_5G
# UDP 白名单
# 包含目标 UDP 端口,空表示所有的端口都在 udp_whitelist 中
# 通过Quantumult 隧道接口发送的 UDP 数据包(通过 Quantumult 隧道接口),目标端口不在 udp_whitelist 中的 UDP 包将被丢弃。这个设置与策略无关,也与代理(服务器)端口无关
;udp_whitelist=53, 123, 1900, 80-443
# ICMP 自动响应
;icmp_auto_reply=true
# 模块 > DNS服务器设置
[dns]
# 为了提高性能,会使用从当前网络(系统)中获取的DNS服务器(您可以使用「no-system」禁用此功能,但至少要增加一个自定义的DNS服务器,如「server=223.5.5.5.5」)
# 查询结果只用于评估过滤器或通过直接策略连接,当通过服务器连接时,查询结果不会被使用,QuantumultX 永远不会知道相关域名的目标 IP
# 如果您想让某个域名(例如:example.com)为 127.0.0.0.1,只需在「filter_local」部分添加「host, example.com, reject」即可。拒绝操作将返回 127.0.0.0.1 的 DNS 响应
#
# 禁用系统 DNS
;no-system
# 禁用 IPv6
# 当设置「no-ipv6」时,QuanumultX Tunnel 的 DNS 模块会直接让 AAAA 查询失败
no-ipv6
# 自定义 DNS
# > DNSPod
server=119.29.29.29
# > AliDNS
server=223.5.5.5
# 本地 DNS 映射
# > Firebase Cloud Messaging
address=/mtalk.google.com/108.177.125.188
# 模块 > 策略组设置
[policy]
#
# 静态策略(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
# 策略根据网络环境的不同指向服务器
;ssid=policy-name-4, Sample-A, Sample-B, LINK_SSID1:Sample-B, LINK_SSID2:Sample-C
# resource-tag-regex 及 server-tag-regex 仅适用于 static、available 和 round-robin 类型的策略
;static=policy-name-5, resource-tag-regex=^sample, server-tag-regex=^example, img-url=http://example.com/icon.png
;available=policy-name-6, resource-tag-regex=^sample, server-tag-regex=^example
;round-robin=policy-name-7, resource-tag-regex=^sample, server-tag-regex=^example
# 自定义策略组
static=Final, proxy, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Final.png
static=Guard, reject, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Hijacking.png
static=Streaming, proxy, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Streaming.png
static=StreamingSE, direct, proxy, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/StreamingSE.png
static=Bahamut, server-tag-regex=(?=.*(台湾|台灣|TW|(?i)Taiwan)), img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Bahamut.png
static=Netease, direct, server-tag-regex=(?=.*(音乐|网易|Unblock|(?i)Netease)) ,img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Netease_Music.png
# 模块 > 节点远程订阅
[server_remote]
#
# 可直接订阅SSR,SS链接,以及Quantumult X格式的vmess/trojan/https订阅
# 其它格式可用 opt-parser 参数开启解析器导入使用
# img-url参数用于指定图标,可远程,可本地
#
# 节点订阅
# 解锁网易云
https://raw.sevencdn.com/echoops/Limitless/main/Cookies/Netease, tag=UnblockNetease, update-interval=86400, opt-parser=false, enabled=true, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Netease_Music_Unlock.png
# 模块 > 规则分流远程订阅
[filter_remote]
#
# 可使用force-policy来强制使用策略偏好, 替换远程规则内所指定的策略组
# update-interval 为更新时间参数,单位 秒, 默认更新时间为 24*60*60=86400 秒,也就是24小时
#
# Unbreak 后续规则修正
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Unbreak.list, tag=Unbreak, update-interval=86400, enabled=true
# Advertising 广告
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Guard/Advertising.list, tag=Advertising, update-interval=86400, force-policy=Guard, enabled=true
# Privacy 隐私
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Guard/Privacy.list, tag=Privacy, update-interval=86400, force-policy=Guard, enabled=false
# Hijacking 运营商劫持或恶意网站
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Guard/Hijacking.list, tag=Hijacking, update-interval=86400, force-policy=Guard, enabled=true
# Bahamut 巴哈姆特动画疯
https://raw.githubusercontent.com/echoops/Limitless/main/QuantumultX/Filter/Bahamut.list, tag=Bahamut, update-interval=86400, enabled=true
# Streaming 国际流媒体服务
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/StreamingMedia/Streaming.list, tag=Streaming, update-interval=86400, enabled=true
# StreamingSE 国内流媒体服务(面向海外版本)
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/StreamingMedia/StreamingSE.list, tag=StreamingSE, update-interval=86400, enabled=true
# Global 全球加速
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Global.list, tag=Global, update-interval=86400, enabled=true
# NeteaseMusic 网易云音乐
https://raw.githubusercontent.com/echoops/Limitless/main/QuantumultX/Filter/NeteaseMusic.list, tag=NeteaseMusic, update-interval=86400, force-policy=Netease, enabled=true
# China 中国直连
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/China.list, tag=China, update-interval=86400, enabled=true
# 使用来自 IPIP.NET 的 ChinaIP 以解决数据不准确的问题,使用 ChinaIP.list 时禁用「GEOIP,CN」规则
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Extra/ChinaIP.list, tag=ChinaIPs, update-interval=86400, enabled=true
# 模块 > 复写远程订阅
[rewrite_remote]
#
# 内包含主机名hostname以及复写rewrite规则
# update-interval 为更新时间参数,单位 秒, 默认更新时间为 24*60*60=86400 秒,也就是24小时
# opt-parser=true/false 用于控制是否对本订阅 开启资源解析器,不写或者 false 表示不启用解析器
#
# 抖音下载去水印
https://raw.githubusercontent.com/echoops/Limitless/main/QuantumultX/Rewrite/douyin.qxrewrite, tag=Douyin, update-interval=86400, opt-parser=false, enabled=true
# 知乎去广告及体验增强
https://raw.githubusercontent.com/echoops/Limitless/main/QuantumultX/Rewrite/zhihu.qxrewrite, tag=Zhihu Assistant, update-interval=86400, opt-parser=false, enabled=true
# 神机重定向
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/General.conf, tag=DivineEngine General, update-interval=86400, enabled=true
# 神机去广告 (未满 30 天在「重写规则」手动缓存脚本)
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Block/Advertising.conf, tag=DivineEngine AdBlock, update-interval=86400, enabled=true
# 模块 > 本地服务节点
[server_local]
#
#
#
# 模块 > 本地分流规则
[filter_local]
# 绕过企业证书过期
;host, ocsp.apple.com, reject
# Local Area Network 局域网
host-suffix, local, direct
ip-cidr, 10.0.0.0/8, direct
ip-cidr, 127.0.0.0/8, direct
ip-cidr, 172.16.0.0/12, direct
ip-cidr, 192.168.0.0/16, direct
ip-cidr, 224.0.0.0/24, direct
# GeoIP China(若启用,则禁用 ChinaIP.list)
;geoip, cn, direct
# 不在远程及本地规则中的剩余请求,将走final 指定的节点/策略
final, Final
# 模块 > 本地复写规则
[rewrite_local]
#
#
#
# 模块 > 构造请求
[task_local]
#
#
#
# 模块 > 本地HTTP服务
[http_backend]
# BoxJS「访问地址: http://127.0.0.1:9999/#/app」
https://raw.githubusercontent.com/chavyleung/scripts/master/box/chavy.boxjs.js, tag=BoxJs, path=^/, img-url=https://raw.githubusercontent.com/Orz-3/task/master/box.png, enabled=false
# 模块 > MitM证书
[mitm]
#
# 注意!!!您应该始终保护您的 CA 密码和 p12 的私密性
#
skip_validating_cert = true
;force_sni_domain_name = false
;simple_cert_hostname = non-existed-domain.com, *.non-connected-domain.com
;hostname = *.googlevideo.com
© 2020 GitHub, Inc.
Terms
Privacy
Security
Status
Help
Contact GitHub
Pricing
API
Training
Blog
About