Clash 规则文件
最后更新时间: $(date +'%Y-%m-%d %H:%M:%S UTC')
规则文件列表
| 规则名称 | 文本格式 | YAML格式 | 描述 |
|---|---|---|---|
| 广告拦截 | reject.txt | reject.yaml | 广告和跟踪域名 |
| iCloud | icloud.txt | icloud.yaml | iCloud 域名 |
| 苹果服务 | apple.txt | apple.yaml | Apple 服务域名 |
| 谷歌服务 | google.txt | google.yaml | Google 服务域名 |
| 代理列表 | proxy.txt | proxy.yaml | 需要代理的域名 |
| 直连列表 | direct.txt | direct.yaml | 直连域名 |
| 私有网络 | private.txt | private.yaml | 私有网络域名 |
| GFW列表 | gfw.txt | gfw.yaml | GFW 域名列表 |
| 非中国顶级域名 | tld-not-cn.txt | tld-not-cn.yaml | 非中国顶级域名 |
| Telegram CIDR | telegramcidr.txt | telegramcidr.yaml | Telegram IP 段 |
| 中国 CIDR | cncidr.txt | cncidr.yaml | 中国 IP 段 |
| 局域网 CIDR | lancidr.txt | lancidr.yaml | 局域网 IP 段 |
| 应用规则 | applications.txt | applications.yaml | 应用程序规则 |
使用方法
在 Clash 配置中使用(远程规则)
```yaml rule-providers: reject: type: http behavior: domain url: "https://raw.githubusercontent.com/[你的用户名]/[你的仓库名]/main/ruleset/reject.yaml" path: ./ruleset/reject.yaml interval: 86400 ```
在 Clash 配置中使用(本地规则)
- 下载规则文件到本地 Clash 配置目录
- 在配置文件中引用:
```yaml rule-providers: reject: type: file behavior: domain path: ./ruleset/reject.yaml ```
数据来源
规则文件来源于 Loyalsoldier/clash-rules
更新频率
每天自动更新一次(UTC 23:00 / 北京时间 07:00)