This commit is contained in:
Shawn
2020-06-09 12:27:13 +08:00
parent ec7bad2511
commit 4f1f6b65fb
2 changed files with 22 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
; 2020-05-25:增加对各个模块的说明(某些内容只适用于 1.0.10 以上版本)
; 2020-06-09:增加对各个模块的说明(某些内容只适用于 1.0.10 以上版本)
;⚠️注意⚠️: 以下内容中,带“;” “#”的都是注释符号,去掉前面的符号,该行才有效
;general 模块内为一些通用的设置参数项
@@ -7,29 +7,30 @@
;你同样可以在 server_local/remote 中为节点、订阅单独指定server_check_url参数
server_check_url= http://www.qualcomm.cn/generate_204
;资源解析器,可用于自定义各类远程资源的转换,如节点,规则 filter复写 rewrite 等url 地址可远程,可 本地/iCloud(Quantumult X/Scripts目录);
;👍👍👍资源解析器,可用于自定义各类远程资源的转换,如节点,规则 filter复写 rewrite 等url 地址可远程,可 本地/iCloud(Quantumult X/Scripts目录);
;下面是我写的一个解析器,具体内容直接参照链接里的使用说明
resource_parser_url= https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/resource-parser.js
;geo_location_checker用于节点页面的信息展示可完整自定义
;👍👍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
;dns exclusion list中的域名将不使用fake-ip方式. 其它域名则全部采用 fake-ip 及远程解析的模式
;dns_exclusion_list=*.qq.com, qq.com
;运行模式模块running_mode_trigger 设置,即根据网络自动切换 分流/直连/全局代理 等模式。
;running-mode-trigger 模式下,跟手动切换直连/全局代理 等效rewrite/task 模块始终会生效,设置简单
;👍👍👍运行模式模块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_suspended_list 写入你想要 Quantumult X 暂停的 Wi-Fi网络名称多个wifi用“,”连接
;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
;UDP名单留空则默认所有为端口。不在udp白名单列表中的端口将被丢弃处理。
;udp_whitelist=53, 123, 1900, 80-443
@@ -118,11 +119,13 @@ static=🕹 黑/白名单,direct, proxy, img-url= https://raw.githubusercontent.
#服务器远程订阅
[server_remote]
#远程服务器订阅模块可直接订阅SSRSS链接以及Quantumult X格式的vmess/trojan/https订阅
https://raw.githubusercontent.com/crossutility/Quantumult-X/master/server.txt, tag=示范订阅1(可删除), update-interval=86400, opt-parser=false, enabled=true
https://raw.githubusercontent.com/crossutility/Quantumult-X/master/server-complete.txt, tag=示范订阅2(可删除), enabled=true
#其它格式可用 opt-parser 参数开启解析器导入使用
#img-url参数用于指定图标格式要求同样为 108*108 的 png 图片,可远程,可本地
https://raw.githubusercontent.com/crossutility/Quantumult-X/master/server.txt, tag=示范订阅1(可删除), update-interval=86400, opt-parser=false, img-url=https://raw.githubusercontent.com/crossutility/Quantumult-X/master/quantumult-x.png, enabled=true
https://raw.githubusercontent.com/crossutility/Quantumult-X/master/server-complete.txt, tag=示范订阅2(可删除), img-url=https://raw.githubusercontent.com/crossutility/Quantumult-X/master/quantumult-x.png, enabled=true
#支持本地/iCloud的节点文件位于Quantumult X/Profiles路径下
;servers.txt, tag=本地服务器, enabled=false
;servers.txt, tag=本地服务器, img-url=https://raw.githubusercontent.com/crossutility/Quantumult-X/master/quantumult-x.png, enabled=false
#规则分流远程订阅
[filter_remote]
@@ -153,7 +156,7 @@ https://raw.githubusercontent.com/ConnersHua/Profiles/master/Quantumult/X/Filter
https://raw.githubusercontent.com/ConnersHua/Profiles/master/Quantumult/X/Rewrite.conf, tag=神机复写规则, update-interval=86400, opt-parser=false, enabled=true
#支持本地/iCloud的复写规则文件位于Quantumult X/Profiles路径下
;rewrite.txt, tag=本地复写, enabled=false
;rewrite.txt, tag=本地复写, opt-parser=false, enabled=false
# 本地服务器部分
[server_local]
@@ -172,7 +175,7 @@ https://raw.githubusercontent.com/ConnersHua/Profiles/master/Quantumult/X/Rewrit
;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 类型wswss(ws+tls),over-tls,tcp
;ws 类型
; 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
@@ -182,7 +185,7 @@ https://raw.githubusercontent.com/ConnersHua/Profiles/master/Quantumult/X/Rewrit
; 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 类型
; 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
@@ -191,7 +194,7 @@ https://raw.githubusercontent.com/ConnersHua/Profiles/master/Quantumult/X/Rewrit
;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
@@ -203,8 +206,9 @@ 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, 🕹 黑/白名单
#不在上述规则中(远程以及本地)的剩余请求将走final 指定的节点/策略,这里即是 → 🕹 终极清单, 请根据自己的需求来选择直连或节点、策略
final, 🕹 终极清单
#本地复写规则
@@ -213,7 +217,7 @@ final, 🕹 黑/白名单
#以下为证书&主机名部分
[mitm]
;以下模块去掉;才生效
;请自行生成证书 并安装&信任
;请自行在 APP 的UI中生成证书 并安装&信任
;skip_validating_cert = false
;force_sni_domain_name = false
;hostname = *.example.com, *.sample.com