Release 下载Loyalsoldier/clash-rules · GitHub Release 历史版本 · 三路反代镜像

最新正式版202605202348

本区块同步 Loyalsoldier/clash-rules 的官方 GitHub Release,并为最近版本生成 三路反代镜像加速下载通道。 默认展开最新正式版;如果项目只有预发布版,会在版本旁单独标注。下载按钮会先进入本站确认页,可继续下载或复制真实链接。

最新正式版发布 2026-05-20共 100 个版本共 1400 个文件本页展示最近 5 个版本⭐ 26,556License GPL-3.0github.com/Loyalsoldier/clash-rules

怎么挑: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
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
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
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
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

本页加速下载用到的 3 个 GitHub 反代镜像

反代前缀说明
ghproxy.nethttps://ghproxy.net/老牌备份
ghfast.tophttps://ghfast.top/新生快线
mirror.ghproxy.comhttps://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.txtTelegram 服务器 IP 段几十条
apple.txtApple 服务(含 iCloud、App Store)200+
google.txtGoogle 系服务100+
icloud.txtiCloud 专用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(任选):

  • jsDelivrhttps://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/
  • fastly jsdelivrhttps://fastly.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/
  • GitHub Rawhttps://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 是规则集,不是节点订阅。要用:

相关阅读