Release 下载Loyalsoldier/clash-rules · GitHub Release 历史版本 · 三路反代镜像
最新正式版202605202348本区块同步 Loyalsoldier/clash-rules 的官方 GitHub Release,并为最近版本生成 三路反代镜像加速下载通道。 默认展开最新正式版;如果项目只有预发布版,会在版本旁单独标注。下载按钮会先进入本站确认页,可继续下载或复制真实链接。
怎么挑:Windows 优先 .exe / .msi;macOS 优先 .dmg;Linux 选 .deb / .rpm / .AppImage;Android 选 .apk;带 .sig / .asc / .sha256 的是校验文件,不是安装包。
下载慢:从右侧三路反代列里挑一个能通的点开;复制按钮复制真实目标链接,方便放进下载器。
为控制页面体积,本页只展示最近 5 个版本、每版最多 48 个文件;完整历史请查看 Loyalsoldier/clash-rules Releases。
2026052023482026-05-2014 个文件正式版
| 文件 / 平台 | 大小 | 官方直链 | 反代 · ghproxy.net | 反代 · ghfast.top | 反代 · mirror.ghproxy.com |
|---|---|---|---|---|---|
apple.txt其他 | 5.2 KB | 下载 | 加速 | 加速 | 加速 |
applications.txt其他 | 2.6 KB | 下载 | 加速 | 加速 | 加速 |
cncidr.txt其他 | 123.4 KB | 下载 | 加速 | 加速 | 加速 |
direct.txt其他 | 2.2 MB | 下载 | 加速 | 加速 | 加速 |
gfw.txt其他 | 88.8 KB | 下载 | 加速 | 加速 | 加速 |
google.txt其他 | 3.3 KB | 下载 | 加速 | 加速 | 加速 |
greatfire.txt其他 | 250 B | 下载 | 加速 | 加速 | 加速 |
icloud.txt其他 | 1.1 KB | 下载 | 加速 | 加速 | 加速 |
lancidr.txt其他 | 341 B | 下载 | 加速 | 加速 | 加速 |
private.txt其他 | 3.4 KB | 下载 | 加速 | 加速 | 加速 |
proxy.txt其他 | 586.1 KB | 下载 | 加速 | 加速 | 加速 |
reject.txt其他 | 4.7 MB | 下载 | 加速 | 加速 | 加速 |
telegramcidr.txt其他 | 274 B | 下载 | 加速 | 加速 | 加速 |
tld-not-cn.txt其他 | 11.6 KB | 下载 | 加速 | 加速 | 加速 |
Release 说明:https://github.com/Loyalsoldier/clash-rules/releases/tag/202605202348
2026051923402026-05-1914 个文件正式版
| 文件 / 平台 | 大小 | 官方直链 | 反代 · ghproxy.net | 反代 · ghfast.top | 反代 · mirror.ghproxy.com |
|---|---|---|---|---|---|
apple.txt其他 | 5.2 KB | 下载 | 加速 | 加速 | 加速 |
applications.txt其他 | 2.6 KB | 下载 | 加速 | 加速 | 加速 |
cncidr.txt其他 | 123.4 KB | 下载 | 加速 | 加速 | 加速 |
direct.txt其他 | 2.2 MB | 下载 | 加速 | 加速 | 加速 |
gfw.txt其他 | 88.7 KB | 下载 | 加速 | 加速 | 加速 |
google.txt其他 | 3.3 KB | 下载 | 加速 | 加速 | 加速 |
greatfire.txt其他 | 250 B | 下载 | 加速 | 加速 | 加速 |
icloud.txt其他 | 1.1 KB | 下载 | 加速 | 加速 | 加速 |
lancidr.txt其他 | 341 B | 下载 | 加速 | 加速 | 加速 |
private.txt其他 | 3.4 KB | 下载 | 加速 | 加速 | 加速 |
proxy.txt其他 | 585.9 KB | 下载 | 加速 | 加速 | 加速 |
reject.txt其他 | 4.7 MB | 下载 | 加速 | 加速 | 加速 |
telegramcidr.txt其他 | 274 B | 下载 | 加速 | 加速 | 加速 |
tld-not-cn.txt其他 | 11.6 KB | 下载 | 加速 | 加速 | 加速 |
Release 说明:https://github.com/Loyalsoldier/clash-rules/releases/tag/202605192340
2026051823362026-05-1814 个文件正式版
| 文件 / 平台 | 大小 | 官方直链 | 反代 · ghproxy.net | 反代 · ghfast.top | 反代 · mirror.ghproxy.com |
|---|---|---|---|---|---|
apple.txt其他 | 5.2 KB | 下载 | 加速 | 加速 | 加速 |
applications.txt其他 | 2.6 KB | 下载 | 加速 | 加速 | 加速 |
cncidr.txt其他 | 187.7 KB | 下载 | 加速 | 加速 | 加速 |
direct.txt其他 | 2.2 MB | 下载 | 加速 | 加速 | 加速 |
gfw.txt其他 | 88.7 KB | 下载 | 加速 | 加速 | 加速 |
google.txt其他 | 3.3 KB | 下载 | 加速 | 加速 | 加速 |
greatfire.txt其他 | 250 B | 下载 | 加速 | 加速 | 加速 |
icloud.txt其他 | 1.1 KB | 下载 | 加速 | 加速 | 加速 |
lancidr.txt其他 | 341 B | 下载 | 加速 | 加速 | 加速 |
private.txt其他 | 3.4 KB | 下载 | 加速 | 加速 | 加速 |
proxy.txt其他 | 585.6 KB | 下载 | 加速 | 加速 | 加速 |
reject.txt其他 | 4.7 MB | 下载 | 加速 | 加速 | 加速 |
telegramcidr.txt其他 | 274 B | 下载 | 加速 | 加速 | 加速 |
tld-not-cn.txt其他 | 11.6 KB | 下载 | 加速 | 加速 | 加速 |
Release 说明:https://github.com/Loyalsoldier/clash-rules/releases/tag/202605182336
2026051723302026-05-1714 个文件正式版
| 文件 / 平台 | 大小 | 官方直链 | 反代 · ghproxy.net | 反代 · ghfast.top | 反代 · mirror.ghproxy.com |
|---|---|---|---|---|---|
apple.txt其他 | 5.2 KB | 下载 | 加速 | 加速 | 加速 |
applications.txt其他 | 2.6 KB | 下载 | 加速 | 加速 | 加速 |
cncidr.txt其他 | 187.7 KB | 下载 | 加速 | 加速 | 加速 |
direct.txt其他 | 2.2 MB | 下载 | 加速 | 加速 | 加速 |
gfw.txt其他 | 88.7 KB | 下载 | 加速 | 加速 | 加速 |
google.txt其他 | 3.3 KB | 下载 | 加速 | 加速 | 加速 |
greatfire.txt其他 | 250 B | 下载 | 加速 | 加速 | 加速 |
icloud.txt其他 | 1.1 KB | 下载 | 加速 | 加速 | 加速 |
lancidr.txt其他 | 341 B | 下载 | 加速 | 加速 | 加速 |
private.txt其他 | 3.4 KB | 下载 | 加速 | 加速 | 加速 |
proxy.txt其他 | 585.2 KB | 下载 | 加速 | 加速 | 加速 |
reject.txt其他 | 4.7 MB | 下载 | 加速 | 加速 | 加速 |
telegramcidr.txt其他 | 274 B | 下载 | 加速 | 加速 | 加速 |
tld-not-cn.txt其他 | 11.6 KB | 下载 | 加速 | 加速 | 加速 |
Release 说明:https://github.com/Loyalsoldier/clash-rules/releases/tag/202605172330
2026051623272026-05-1614 个文件正式版
| 文件 / 平台 | 大小 | 官方直链 | 反代 · ghproxy.net | 反代 · ghfast.top | 反代 · mirror.ghproxy.com |
|---|---|---|---|---|---|
apple.txt其他 | 5.2 KB | 下载 | 加速 | 加速 | 加速 |
applications.txt其他 | 2.6 KB | 下载 | 加速 | 加速 | 加速 |
cncidr.txt其他 | 187.7 KB | 下载 | 加速 | 加速 | 加速 |
direct.txt其他 | 2.2 MB | 下载 | 加速 | 加速 | 加速 |
gfw.txt其他 | 88.6 KB | 下载 | 加速 | 加速 | 加速 |
google.txt其他 | 3.3 KB | 下载 | 加速 | 加速 | 加速 |
greatfire.txt其他 | 250 B | 下载 | 加速 | 加速 | 加速 |
icloud.txt其他 | 1.1 KB | 下载 | 加速 | 加速 | 加速 |
lancidr.txt其他 | 341 B | 下载 | 加速 | 加速 | 加速 |
private.txt其他 | 3.4 KB | 下载 | 加速 | 加速 | 加速 |
proxy.txt其他 | 585.1 KB | 下载 | 加速 | 加速 | 加速 |
reject.txt其他 | 4.7 MB | 下载 | 加速 | 加速 | 加速 |
telegramcidr.txt其他 | 274 B | 下载 | 加速 | 加速 | 加速 |
tld-not-cn.txt其他 | 11.6 KB | 下载 | 加速 | 加速 | 加速 |
Release 说明:https://github.com/Loyalsoldier/clash-rules/releases/tag/202605162327
本页加速下载用到的 3 个 GitHub 反代镜像
| 反代 | 前缀 | 说明 |
|---|---|---|
ghproxy.net | https://ghproxy.net/ | 老牌备份 |
ghfast.top | https://ghfast.top/ | 新生快线 |
mirror.ghproxy.com | https://mirror.ghproxy.com/ | 子域名 |
反代是第三方公益服务,单个通道可能临时挂掉,多挑几个再判断网络是否有问题。所有反代均为 HTTPS,文件内容与 GitHub 原始 Release 字节一致,可放心做 SHA256 校验。
GitHub 仓库简介:🦄️ 🎃 👻 Clash Premium 规则集(RULE-SET),兼容 ClashX Pro、Clash for Windows 等基于 Clash Premium 内核的客户端。 · 许可 GPL-3.0 · ⭐ 26,556
Loyalsoldier/clash-rules 是中文社区最常用的 Clash 分流规则集(26K+ stars),每天自动构建。规则集分几大类:proxy.txt(海外域名)、direct.txt(国内直连)、reject.txt(广告拦截),以及按平台分的 Apple、Google、iCloud 等。引入方式是在 Clash YAML 里配 rule-providers 再用 rules 引用。兼容 Clash Verge Rev、Mihomo Party、CMFA、OpenClash 等所有 Clash 系客户端。
项目定位
原始数据
↓
V2Fly domain-list-community (社区维护的域名分类)
↓
Loyalsoldier 仓库每日 GitHub Actions 构建
↓
clash-rules (输出 Clash 文本规则)
v2ray-rules-dat (输出 V2Ray geoip/geosite.dat)
surge-rules (输出 Surge 规则)
特点:
- 数据源权威:V2Fly 社区维护,可信
- 自动更新:每 12 小时构建一次
- 多客户端:Loyalsoldier 维护多个输出格式
- 完全免费 + 开源:GPL-3.0
主要规则集文件
| 文件 | 内容 | 数量级 |
|---|---|---|
proxy.txt | 海外平台(Twitter, Google, YouTube, GitHub 等) | 5000+ 域名 |
direct.txt | 国内服务(B站, 淘宝, 微信, 高德等) | 10000+ 域名 |
reject.txt | 广告 / 跟踪域名 | 5000+ |
private.txt | 私有 IP / 局域网 | 几十条 |
telegramcidr.txt | Telegram 服务器 IP 段 | 几十条 |
apple.txt | Apple 服务(含 iCloud、App Store) | 200+ |
google.txt | Google 系服务 | 100+ |
icloud.txt | iCloud 专用 | 50+ |
cncidr.txt | 中国大陆 IP 段 | 大量 |
gfw.txt | 已知被封域名 | 大量 |
引入到 Clash 配置
完整 rule-providers 配置
rule-providers:
reject:
type: http
behavior: domain
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/reject.txt"
path: ./ruleset/reject.yaml
interval: 86400
icloud:
type: http
behavior: domain
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/icloud.txt"
interval: 86400
apple:
type: http
behavior: domain
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/apple.txt"
interval: 86400
google:
type: http
behavior: domain
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/google.txt"
interval: 86400
proxy:
type: http
behavior: domain
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/proxy.txt"
interval: 86400
direct:
type: http
behavior: domain
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/direct.txt"
interval: 86400
private:
type: http
behavior: domain
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/private.txt"
interval: 86400
telegramcidr:
type: http
behavior: ipcidr
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/telegramcidr.txt"
interval: 86400
cncidr:
type: http
behavior: ipcidr
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/cncidr.txt"
interval: 86400
rules:
- RULE-SET,reject,REJECT
- RULE-SET,private,DIRECT
- RULE-SET,icloud,Apple
- RULE-SET,apple,Apple
- RULE-SET,google,Google
- RULE-SET,proxy,Proxy
- RULE-SET,direct,DIRECT
- RULE-SET,telegramcidr,Telegram,no-resolve
- RULE-SET,cncidr,DIRECT,no-resolve
- GEOIP,CN,DIRECT
- MATCH,Proxy
CDN 来源
主流 CDN(任选):
- jsDelivr:
https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/ - fastly jsdelivr:
https://fastly.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/ - GitHub Raw:
https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/ - GitHub Proxy (国内加速):
https://ghproxy.net/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/
国内推荐用 ghproxy.net 反代,速度更稳定。
自定义覆盖
某些域名你想强制走代理 / 直连,可以在 rules 顺序的开头加单条规则:
rules:
- DOMAIN,bilibili.tv,Proxy # 让海外 B 站走代理
- DOMAIN,steamcommunity.com,Proxy # Steam 社区
- DOMAIN-KEYWORD,blizzard,Direct # 战网直连(玩国服)
- RULE-SET,reject,REJECT
- ...(之后是规则集)
按从上到下顺序匹配,单条规则优先于规则集。
与机场订阅配合
机场订阅通常自带规则集。但许多机场的规则集质量参差,Loyalsoldier 是替代方案:
- 在机场订阅基础上把
rule-providers部分替换为 Loyalsoldier - 保留机场的
proxies/proxy-groups不动 - 这样:节点用机场的 + 规则用 Loyalsoldier 的
详细操作:Clash Verge Rev 文章里的”override”章节。
配套订阅
Loyalsoldier 是规则集,不是节点订阅。要用:
- 装 Clash 客户端(Clash Verge Rev / Mihomo Party 等)
- 拿到机场的 配套订阅线路
- 配合 Loyalsoldier 规则集 = 完整方案