Update clash rules - 2025-09-12
This commit is contained in:
56
ruleset/README.md
Normal file
56
ruleset/README.md
Normal file
@@ -0,0 +1,56 @@
|
||||
# Clash 规则文件
|
||||
|
||||
最后更新时间: $(date +'%Y-%m-%d %H:%M:%S UTC')
|
||||
|
||||
## 规则文件列表
|
||||
|
||||
| 规则名称 | 文本格式 | YAML格式 | 描述 |
|
||||
|---------|---------|----------|------|
|
||||
| 广告拦截 | [reject.txt](./reject.txt) | [reject.yaml](./reject.yaml) | 广告和跟踪域名 |
|
||||
| iCloud | [icloud.txt](./icloud.txt) | [icloud.yaml](./icloud.yaml) | iCloud 域名 |
|
||||
| 苹果服务 | [apple.txt](./apple.txt) | [apple.yaml](./apple.yaml) | Apple 服务域名 |
|
||||
| 谷歌服务 | [google.txt](./google.txt) | [google.yaml](./google.yaml) | Google 服务域名 |
|
||||
| 代理列表 | [proxy.txt](./proxy.txt) | [proxy.yaml](./proxy.yaml) | 需要代理的域名 |
|
||||
| 直连列表 | [direct.txt](./direct.txt) | [direct.yaml](./direct.yaml) | 直连域名 |
|
||||
| 私有网络 | [private.txt](./private.txt) | [private.yaml](./private.yaml) | 私有网络域名 |
|
||||
| GFW列表 | [gfw.txt](./gfw.txt) | [gfw.yaml](./gfw.yaml) | GFW 域名列表 |
|
||||
| 非中国顶级域名 | [tld-not-cn.txt](./tld-not-cn.txt) | [tld-not-cn.yaml](./tld-not-cn.yaml) | 非中国顶级域名 |
|
||||
| Telegram CIDR | [telegramcidr.txt](./telegramcidr.txt) | [telegramcidr.yaml](./telegramcidr.yaml) | Telegram IP 段 |
|
||||
| 中国 CIDR | [cncidr.txt](./cncidr.txt) | [cncidr.yaml](./cncidr.yaml) | 中国 IP 段 |
|
||||
| 局域网 CIDR | [lancidr.txt](./lancidr.txt) | [lancidr.yaml](./lancidr.yaml) | 局域网 IP 段 |
|
||||
| 应用规则 | [applications.txt](./applications.txt) | [applications.yaml](./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 配置中使用(本地规则)
|
||||
|
||||
1. 下载规则文件到本地 Clash 配置目录
|
||||
2. 在配置文件中引用:
|
||||
|
||||
\`\`\`yaml
|
||||
rule-providers:
|
||||
reject:
|
||||
type: file
|
||||
behavior: domain
|
||||
path: ./ruleset/reject.yaml
|
||||
\`\`\`
|
||||
|
||||
## 数据来源
|
||||
|
||||
规则文件来源于 [Loyalsoldier/clash-rules](https://github.com/Loyalsoldier/clash-rules)
|
||||
|
||||
## 更新频率
|
||||
|
||||
每天自动更新一次(UTC 23:00 / 北京时间 07:00)
|
||||
Reference in New Issue
Block a user