mirror of
https://github.com/KOP-XIAO/QuantumultX.git
synced 2026-01-25 21:25:09 +00:00
187 lines
10 KiB
Plaintext
187 lines
10 KiB
Plaintext
; 2020-04-17:增加对各个模块的说明
|
||
;⚠️注意⚠️: 以下内容中,带“;” “#”的都是注释符号,去掉前面的符号,该行才有效
|
||
|
||
;general 模块内为一些通用的设置参数项
|
||
[general]
|
||
;Quantumult X 会对 server_check_url 指定的网址进行相应测试,以确认节点的可用性
|
||
server_check_url= http://www.qualcomm.cn/generate_204
|
||
|
||
;geo_location_checker用于节点页面的信息展示,可完整自定义
|
||
;geo_location_checker=http://extreme-ip-lookup.com/json/, https://raw.githubusercontent.com/crossutility/Quantumult-X/master/sample-location-with-script.js
|
||
|
||
geo_location_checker=http://ip-api.com/json/?lang=zh-CN, https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/IP_API.js
|
||
|
||
;dns exclusion list中的域名将不使用fake-ip方式
|
||
;dns_exclusion_list=*.qq.com, qq.com
|
||
|
||
;ssid_suspended_list 写入你想要 Quantumult X 暂停的 Wi-Fi网络名称,多个wifi用“,”连接
|
||
;ssid_suspended_list=Asus, Shawn-Wifi
|
||
|
||
;UDP名单,留空则默认所有为端口。不在udp白名单列表中的端口,将被丢弃处理。
|
||
;udp_whitelist=53, 123, 1900, 80-443
|
||
|
||
;下列表中的内容将不经过 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
|
||
|
||
[dns]
|
||
;指定的 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
|
||
;指定域名解析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]
|
||
|
||
|
||
|
||
[task_local]
|
||
;任务模块,可用于签到,天气话费查询等
|
||
;js文件放于iCloud或者本机的Quantumult X/Scripts 路径下。TF版本可直接使用远程js链接
|
||
|
||
;* * * * * sample.js
|
||
;从 “分” 开始的5位cron 写法
|
||
|
||
|
||
#
|
||
# static 策略组中,你需要手动选择想要的节点/策略组。
|
||
# available 策略组将按顺序选择你列表中第一个可用的节点。
|
||
# round-robin 策略组,将按列表的顺序轮流使用其中的节点。
|
||
# ssid 策略组,将根据你所设定的网络来自动切换节点/策略组
|
||
#
|
||
|
||
#以下为策略组部分
|
||
[policy]
|
||
static=🍎 苹果服务, direct, proxy, img-url= https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Apple.png
|
||
static=💻 国外影视, proxy, direct, img-url= https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/ForeignMedia.png
|
||
static=📽 国内视频, direct, proxy, img-url= https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/DomesticMedia.png
|
||
static=🎬 YouTube, proxy, direct, img-url= https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/YouTube.png
|
||
static=📺 Netflix, proxy, direct, img-url= https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Netflix_Letter.png
|
||
static=🌏 国外网站, proxy,direct, img-url= https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Global.png
|
||
static=🕹 黑/白名单,direct, proxy, img-url= https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Final.png
|
||
|
||
#以下是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" 为可选参数,分别表示 “标签”及“开启状态”.
|
||
# 远程资源的默认更新时间为 24*60*60 秒,也就是24小时.
|
||
#
|
||
|
||
#服务器远程订阅
|
||
[server_remote]
|
||
#远程服务器订阅模块,可直接订阅SSR,SS链接,以及Quantumult X格式的vmess/trojan/https订阅
|
||
https://raw.githubusercontent.com/crossutility/Quantumult-X/master/server.txt, tag=示范订阅1(可删除), enabled=true
|
||
https://raw.githubusercontent.com/crossutility/Quantumult-X/master/server-complete.txt, tag=示范订阅2(可删除), enabled=true
|
||
|
||
#支持本地/iCloud的节点文件,位于Quantumult X/Profiles路径下
|
||
;servers.txt, tag=本地服务器, enabled=false
|
||
|
||
#规则分流远程订阅
|
||
[filter_remote]
|
||
#远程分流模块,可使用force-policy来强制使用策略偏好
|
||
https://raw.githubusercontent.com/ConnersHua/Profiles/master/Quantumult/X/Filter/Advertising.list, tag=🚦去广告, enabled=true
|
||
https://raw.githubusercontent.com/ConnersHua/Profiles/master/Quantumult/X/Filter/Hijacking.list, tag=🚫 运营商劫持, enabled=true
|
||
https://raw.githubusercontent.com/ConnersHua/Profiles/master/Quantumult/X/Filter/DomesticMedia.list, force-policy=📽 国内视频, tag=📽 国内视频, enabled=true
|
||
https://raw.githubusercontent.com/ConnersHua/Profiles/master/Quantumult/X/Filter/Media/Netflix.list, tag=📺 Netflix, force-policy=📺 Netflix, enabled=true
|
||
https://raw.githubusercontent.com/ConnersHua/Profiles/master/Quantumult/X/Filter/Media/YouTube.list, tag=🎬 YouTube, force-policy=🎬 YouTube, enabled=true
|
||
https://raw.githubusercontent.com/ConnersHua/Profiles/master/Quantumult/X/Filter/ForeignMedia.list, tag=💻 国外影视,force-policy= 💻 国外影视, enabled=true
|
||
https://raw.githubusercontent.com/ConnersHua/Profiles/master/Quantumult/X/Filter/Global.list, tag=🌍 国外网站, force-policy= 🌏 国外网站, enabled=true
|
||
https://raw.githubusercontent.com/ConnersHua/Profiles/master/Quantumult/X/Filter/Apple.list, tag= Apple服务, force-policy=🍎 苹果服务,enabled=true
|
||
https://raw.githubusercontent.com/ConnersHua/Profiles/master/Quantumult/X/Filter/China.list, tag=🐼 国内网站, enabled=true
|
||
|
||
#支持本地/iCloud规则文件,位于Quantumult X/Profiles路径下
|
||
;filter.txt, tag=本地分流, enabled=false
|
||
|
||
#rewrite 复写远程订阅
|
||
[rewrite_remote]
|
||
#远程复写模块,内包含主机名hostname以及复写rewrite规则
|
||
https://raw.githubusercontent.com/ConnersHua/Profiles/master/Quantumult/X/Rewrite.conf, tag=神机复写规则, enabled=true
|
||
|
||
#支持本地/iCloud的复写规则文件,位于Quantumult X/Profiles路径下
|
||
;rewrite.txt, tag=本地复写, enabled=false
|
||
|
||
# 本地服务器部分
|
||
[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=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-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
|
||
;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
|
||
;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
|
||
;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=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=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
|
||
|
||
|
||
#本地分流规则(相同规则下,本地规则将覆盖远程规则,优先生效)
|
||
[filter_local]
|
||
;user-agent, ?abc*, proxy
|
||
;host, www.google.com, proxy
|
||
;host-keyword, adsite, reject
|
||
;host-suffix, googleapis.com, proxy
|
||
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, cn, direct
|
||
#不在上述规则中的请求,将走final的 黑/白名单, 请根据需要选择直连或节点
|
||
final, 🕹 黑/白名单
|
||
|
||
|
||
#本地复写规则
|
||
[rewrite_local]
|
||
|
||
#以下为证书&主机名部分
|
||
[mitm]
|
||
;以下模块去掉;才生效
|
||
;请自行生成证书 并安装&信任
|
||
;skip_validating_cert = false
|
||
;force_sni_domain_name = false
|
||
;hostname = *.example.com, *.sample.com
|
||
;passphrase =
|
||
;p12 =
|