forked from erdongchanyo/Rules
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5cf8c6b
commit 15663c4
Showing
1 changed file
with
205 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,205 @@ | ||
## “#”为注释符号,删除#号该行才会生效 | ||
# 感谢各位大佬的教程让我学会了圈X的皮毛使用,就不在此逐一致谢了! | ||
# ------------------ | ||
# YouTube:https://bit.ly/3bshXk6 | ||
# Telegram:https://t.me/erdongchan | ||
# 图标库:https://github.com/erdongchanyo/icon | ||
# ------------------ | ||
[general] | ||
# server_check_url | ||
# 对指定的网址进行相应测试,以确认节点的可用性 | ||
server_check_url=http://www.qualcomm.cn/generate_204 | ||
network_check_url=http://cp.cloudflare.com/generate_204 | ||
# 资源解析器 | ||
resource_parser_url= https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/resource-parser.js | ||
# geo_location_checker | ||
# 用于节点页面的信息展示,可完整自定义 | ||
geo_location_checker=http://ip-api.com/json/?lang=zh-CN, https://github.com/KOP-XIAO/QuantumultX/raw/master/Scripts/IP_API.js | ||
# dns_exclusion_list | ||
# list中的域名将不使用fake-ip方式, 多个域名用“, ”连接。其它域名则全部采用 fake-ip及远程解析的模式 | ||
dns_exclusion_list = *.localnetwork.uop, *.qq.com, qq.com | ||
# 下列表中内容将不经过 QuantumultX 的处理 | ||
excluded_routes=192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, 17.0.0.0/8 | ||
icmp_auto_reply=true | ||
[dns] | ||
# DoH服务器(DNS over HTTPS)以加密的HTTPS协议进行DNS解析请求,避免原始DNS协议中用户的DNS解析请求被窃听或者修改的问题(例如中间人攻击)来达到保护用户隐私的目的 | ||
# 设置DoH服务器后,所有其他常规DNS服务器设置将被忽略;当设置了多个DoH服务器时,只会使用第一个;当使用的 DoH服务器不是基于HTTP/2时,DoH将被暂时禁用。 | ||
|
||
# DNS.SB | ||
;doh-server=https://doh.dns.sb/dns-query | ||
# IIJ DNS | ||
;doh-server=https://public.dns.iij.jp/dns-query | ||
# 红鱼DNS | ||
;doh-server=https://rubyfish.cn/dns-query | ||
# 阿里DNS | ||
doh-server=https://dns.alidns.com/dns-query | ||
|
||
# 常规DNS服务器 | ||
server=119.29.29.29 | ||
server=119.28.28.28 | ||
server=182.254.116.116 | ||
server=1.2.4.8 | ||
server=223.5.5.5 | ||
server=114.114.114.114 | ||
server=202.141.176.93 | ||
server=202.141.178.13 | ||
server=117.50.10.10 | ||
# 制定域名解析 dns | ||
server=/*.taobao.com/223.5.5.5 | ||
server=/*.tmall.com/223.5.5.5 | ||
server=/*.alipay.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=/*.netease.com/119.29.29.29 | ||
server=/*testflight.apple.com/23.76.66.98 | ||
|
||
[policy] | ||
## 策略组 | ||
## 将分流规则传递过来的网络请求进行分发 | ||
# 自动选择最优节点 | ||
url-latency-benchmark=Auto-HK, server-tag-regex=HK|香港|港|🇭🇰️, check-interval=600, tolerance=0, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/Auto.png | ||
# 服务器按地区分组策略 | ||
# 美国 | ||
static=US, server-tag-regex=美|美国|🇺🇸|US|us, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Country/US.png | ||
# 港 | ||
static=HK, server-tag-regex=HK|香港|港|🇭🇰️, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Country/HK02.png | ||
# 日 | ||
static= JP, server-tag-regex= 日|日本|东京|🇯🇵|JP, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Country/JP.png | ||
# 台湾 | ||
static=TW, server-tag-regex=台|台湾|TW, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Country/TW02.png | ||
# 新 | ||
static=SG, server-tag-regex=狮城|新|新加坡|🇸🇬|SG, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Country/SG.png | ||
# 国外连接策略 | ||
static=Outside, US, SG, HK, TW, JP, Final, direct, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/Outside.png | ||
# 国外媒体策略 | ||
static=GMedia, US, SG, HK, TW, JP, Final, direct, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/GMedia.png | ||
# 国外媒体细分策略 | ||
static=Netflix, US, SG, HK, TW, JP, Final, direct, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/Netflix.png | ||
static=Disney+, US, SG, HK, Final, direct, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/Disney+.png | ||
static=YouTube, US, SG, HK, TW, JP, Final, direct, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/Youtube.png | ||
static=Spotify, US, SG, HK, TW, JP, Final, direct, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/Spotify.png | ||
static=TikTok, US, SG, HK, TW, JP, Final, direct, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/Tiktok.png | ||
# 国内媒体细分策略 | ||
static=Bilibili, HK, TW, direct, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/Bilibili.png | ||
static=iQiYi, TW, direct, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/Aiqiyi.png | ||
# 软件&服务策略 | ||
static=Telegram, US, SG, HK, TW, JP, Final, direct, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/Telegram.png | ||
static=Twitter, US, SG, HK, TW, JP, Final, direct, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/Twitter.png | ||
static=PayPal, direct, US, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/Paypal.png | ||
static=TestFlight, US, SG, HK, TW, JP, Final, direct, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/TestFlight.png | ||
static=Apple, US, SG, HK, TW, JP, Final, direct, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/Apple.png | ||
static=Google, US, SG, HK, TW, JP, Final, direct, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/Google.png | ||
static=Microsoft, US, HK, Final, direct, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/Microsoft.png | ||
# 国内连接策略 | ||
static=Mainland, Final, direct, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/Mainland.png | ||
static=Advertising, reject, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/AdBlock.png | ||
# 最终策略:如果以上的策略均未被匹配到,则听从此策略组的规定 | ||
static=Final, Auto-HK, US, proxy, direct, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/Final01.png | ||
[filter_remote] | ||
## 远程分流规则订阅 | ||
## 将网络请求进行分流,网络请求的走向(是否能成功访问)由匹配到的策略组决定 | ||
# 部分规则有先后顺序要求,调整顺序可能失效 | ||
# Emby服务器规则(适用于由PRPR机场提供的服务 | ||
# Speedtest规则 | ||
# Netflix规则 | ||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Netflix/Netflix.list, tag=Netflix 规则, force-policy=Netflix, update-interval=86400, opt-parser=false, enabled=true | ||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Disney/Disney.list, tag=Disney, force-policy=Disney+, update-interval=172800, opt-parser=true, enabled=true | ||
# Spotify规则 | ||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Spotify/Spotify.list, tag=Spotify 规则, force-policy=Spotify, update-interval=86400, opt-parser=false, enabled=true | ||
# Youtube规则 | ||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX//YouTube/YouTube.list, tag=YouTube 规则, force-policy=YouTube, update-interval=86400, opt-parser=false, enabled=true | ||
# Tiktok规则 | ||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/TikTok/TikTok.list, tag=TikTok 规则, force-policy=TikTok, update-interval=86400, opt-parser=false, enabled=true | ||
# 出国媒体规则 | ||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/GlobalMedia/GlobalMedia.list, tag=GMedia 规则, force-policy=GMedia, update-interval=86400, opt-parser=false, enabled=true | ||
# Clubhouse规则 | ||
# Telegram规则 | ||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Telegram/Telegram.list, tag=Telegram 规则, force-policy=Telegram, update-interval=86400, opt-parser=false, enabled=true | ||
# Paypal规则 | ||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/PayPal/PayPal.list, tag=PayPal 规则, force-policy=PayPal, update-interval=86400, opt-parser=false, enabled=true | ||
# Microsoft规则 | ||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Microsoft/Microsoft.list, tag=Microsoft 规则, force-policy=Microsoft, update-interval=86400, opt-parser=false, enabled=true | ||
# Twitter规则 | ||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Twitter/Twitter.list, tag=Twitter规则, force-policy=Twitter, update-interval=86400, opt-parser=false, enabled=true | ||
# Google规则 | ||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Google/Google.list, tag=Google规则, force-policy=Google, update-interval=86400, opt-parser=false, enabled=true | ||
# 出国总规则 | ||
https://raw.githubusercontent.com/GeQ1an/Rules/master/QuantumultX/Filter/Outside.list, tag=Outside 规则, force-policy=Outside, update-interval=86400, opt-parser=false, enabled=true | ||
# 国内媒体规则 | ||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/BiliBili/BiliBili.list, tag=Bilibili, force-policy=Bilibili, update-interval=172800, opt-parser=false, enabled=true | ||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/iQIYI/iQIYI.list, tag=iQiYi, force-policy=iQiYi, update-interval=172800, opt-parser=false, enabled=true | ||
# testflight规则 | ||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/TestFlight/TestFlight.list, tag=TestFlight, force-policy=TestFlight, update-interval=86400, opt-parser=false, enabled=true | ||
# Apple规则 | ||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Apple/Apple.list, tag=Apple 规则, force-policy=Apple, update-interval=86400, opt-parser=false, enabled=true | ||
# 国内总规则 | ||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/China/China.list, tag=Mainland 规则, force-policy=Mainland, update-interval=86400, opt-parser=false, enabled=true | ||
# 去广告规则 | ||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Advertising/Advertising.list, tag=Advertising, force-policy=Advertising, update-interval=172800, opt-parser=false, enabled=true | ||
[filter_local] | ||
host, app-measurement.com, direct | ||
# 本地分流规则:相同规则下本地规则优先生效 | ||
# 绕过企业证书过期 | ||
host, ocsp.apple.com, reject | ||
# 其它 | ||
host-suffix, local, direct | ||
# 新版抖音本地分流 | ||
host-suffix, snssdk.com, direct | ||
host-suffix, amemv.com, direct | ||
ip-cidr, 10.0.0.0/8, direct | ||
ip-cidr, 17.0.0.0/8, direct | ||
ip-cidr, 100.64.0.0/10, 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 | ||
geoip, cn, Mainland | ||
final, Final | ||
[server_local] | ||
# 本地服务器节点 | ||
|
||
[server_remote] | ||
https://raw.githubusercontent.com/erdongchanyo/Rules/main/Quantumult%20X/LazyConf/edcFreeServer.list, tag=edcFreeServer, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Airport/EDC.png, update-interval=172800, opt-parser=false, enabled=true | ||
# 服务器引用(订阅),支持远程订阅地址和本地文件 | ||
[rewrite_remote] | ||
# 远程重写订阅 | ||
# 包含主机名 hostname 以及复写 rewrite 规则 | ||
# update-interval 为更新时间参数,单位:秒, 默认更新时间为:24*60*60=86400 秒,也就是24小时 | ||
# opt-parser=true/false 用于控制是否对订阅开启资源解析器,不写或者 false 表示不启用解析器 | ||
https://raw.githubusercontent.com/erdongchanyo/Rules/main/Quantumult%20X/AllinOneRewrite/edc.conf, tag=EDC-AllinOneRewrite, update-interval=86400, opt-parser=true, enabled=true | ||
https://raw.githubusercontent.com/erdongchanyo/Rules/main/Quantumult%20X/CookieGetRewrite/cookie_get.conf, tag=EDC-CookieGetRewrite, update-interval=86400, opt-parser=false, enabled=true | ||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/QuantumultX/AdvertisingLite/AdvertisingLite.conf, tag=AdvertisingLite(blackmatrix7, update-interval=86400, opt-parser=false, enabled=true | ||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/QuantumultX/AdvertisingScript/AdvertisingScript.conf, tag=AdvertisingScript(blackmatrix7, update-interval=172800, opt-parser=true, enabled=true | ||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/external/QuantumultX/TikTokUnlock/TikTokJP.conf, tag=TikTok Unlock(blackmatrix7, update-interval=86400, opt-parser=false, enabled=true | ||
https://raw.githubusercontent.com/chavyleung/scripts/master/box/rewrite/boxjs.rewrite.quanx.conf, tag=BoxJS, update-interval=86400, opt-parser=false, enabled=true | ||
[rewrite_local] | ||
# 本地重写 | ||
|
||
[task_local] | ||
event-interaction https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/geo_location.js, tag=GeoIP查询, img-url=location.fill.viewfinder.system | ||
event-interaction https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/nf-ui-check.js, tag=Netflix解锁检测, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/Netflix.png, enabled=true | ||
event-interaction https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/ytb-ui-check.js, tag=YouTube Premuim检测, img-url=https://raw.githubusercontent.com/erdongchanyo/icon/main/Policy-Filter/Youtube.png, enabled=true | ||
5 0 * * * https://raw.githubusercontent.com/NobyDa/Script/master/JD-DailyBonus/JD_DailyBonus.js, tag=东多合一签到, img-url=https://raw.githubusercontent.com/ChuheGit/1/main/QuantumultX/Gallery/API-Icon/JD_DailyBonus.png, enabled=true | ||
2 9 * * * https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_bean_change.js, tag=京豆变动通知, img-url=https://raw.githubusercontent.com/ChuheGit/1/main/QuantumultX/Gallery/API-Icon/jd_bean_change.png, enabled=true | ||
20 9 * * * https://raw.githubusercontent.com/NobyDa/Script/master/iQIYI-DailyBonus/iQIYI.js, tag=爱奇艺签到, img-url=https://raw.githubusercontent.com/ChuheGit/1/main/QuantumultX/Gallery/API-Icon/iQIYI.png, enabled=true | ||
15 0 * * * https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/luka/luka_signin.js, tag=Luka每日签到, enabled=true | ||
[mitm] | ||
# 开启 mitm,需要自行在Quantumult X中生成证书、安装、信任 | ||
skip_validating_cert = false | ||
force_sni_domain_name = false | ||
hostname = -*.amemv.com, -*.snssdk.com | ||
© 2021 GitHub, Inc. | ||
Terms | ||
Privacy | ||
Security | ||
Status | ||
Docs | ||
Contact GitHub | ||
Pricing | ||
API | ||
Training | ||
Blog | ||
About |