ios_rule_script/rule/Clash/ChinaIPs/README.md

161 lines
7.4 KiB
Markdown
Raw Normal View History

2022-06-04 17:46:59 +08:00
# 🧸 ChinaIPs
2021-04-09 19:34:05 +08:00
## 前言
2024-02-03 01:53:59 +08:00
![](https://shields.io/badge/-移除重复规则-ff69b4) ![](https://shields.io/badge/-DOMAIN与DOMAIN--SUFFIX合并-green) ![](https://shields.io/badge/-DOMAIN--SUFFIX间合并-critical) ![](https://shields.io/badge/-DOMAIN--SUFFIX与DOMAIN--KEYWORD合并-blue) ![](https://shields.io/badge/-Clash定制化规则-7cd1e3)
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
ChinaIPs规则由《RULE GENERATOR 规则生成器》自动生成。
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
分流规则是互联网公共服务的域名和IP地址汇总所有数据均收集自互联网公开信息不代表我们支持或使用这些服务。
请通过【中华人民共和国 People's Republic of China】合法的互联网出入口信道访问规则中的地址并确保在使用过程中符合相关法律法规。
2021-04-09 19:34:05 +08:00
## 规则统计
2024-06-30 02:14:18 +08:00
最后更新时间2024-06-30 02:10:59
2021-04-09 19:34:05 +08:00
各类型规则统计:
2022-06-04 17:46:59 +08:00
| 类型 | 数量(条) |
| ---- | ---- |
2024-06-30 02:14:18 +08:00
| IP-CIDR | 16917 |
2024-06-29 02:14:43 +08:00
| IP-CIDR6 | 4974 |
2024-06-30 02:14:18 +08:00
| TOTAL | 21891 |
2022-06-04 17:46:59 +08:00
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
## Clash
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
#### 使用说明
- ChinaIPs_Classical.yaml请使用 behavior: "classical"。
- ChinaIPs_Classical_No_IPv6.yaml请使用 behavior: "classical"。
- ChinaIPs_IP.yaml请使用 behavior: "ipcidr"。
- ChinaIPs_IP_No_IPv6.yaml请使用 behavior: "ipcidr"。
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
#### 文件区别
- ChinaIPs_Classical.yaml与ChinaIPs_Classical_No_IPv6.yaml的区别在于后者不带IPv6规则适用纯IPv4网络。
- ChinaIPs_IP.yaml与ChinaIPs_IP_No_IPv6.yaml的区别在于后者不带IPv6规则适用纯IPv4网络。
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
#### 配置建议
- ChinaIPs_IP.yaml 单独使用。
- ChinaIPs_IP_No_IPv6.yaml 纯IPv4网络单独使用。
- ChinaIPs_Classical.yaml 单独使用。
- ChinaIPs_Classical_No_IPv6.yaml 纯IPv4网络单独使用。
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
#### 规则链接
**MASTER分支 (每日更新)**
2021-04-09 19:34:05 +08:00
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/ChinaIPs/ChinaIPs_IP.yaml
2022-06-04 17:46:59 +08:00
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/ChinaIPs/ChinaIPs_IP_No_IPv6.yaml
2021-04-09 19:34:05 +08:00
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/ChinaIPs/ChinaIPs_Classical.yaml
2022-06-04 17:46:59 +08:00
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/ChinaIPs/ChinaIPs_Classical_No_IPv6.yaml
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/ChinaIPs/ChinaIPs_IP.txt
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/ChinaIPs/ChinaIPs_IP_No_IPv6.txt
**MASTER分支 CDN (每日更新)**
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Clash/ChinaIPs/ChinaIPs_IP.yaml
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Clash/ChinaIPs/ChinaIPs_IP_No_IPv6.yaml
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Clash/ChinaIPs/ChinaIPs_Classical.yaml
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Clash/ChinaIPs/ChinaIPs_Classical_No_IPv6.yaml
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Clash/ChinaIPs/ChinaIPs_IP.txt
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Clash/ChinaIPs/ChinaIPs_IP_No_IPv6.txt
**MASTER分支 GHProxy (每日更新)**
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/ChinaIPs/ChinaIPs_IP.yaml
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/ChinaIPs/ChinaIPs_IP_No_IPv6.yaml
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/ChinaIPs/ChinaIPs_Classical.yaml
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/ChinaIPs/ChinaIPs_Classical_No_IPv6.yaml
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/ChinaIPs/ChinaIPs_IP.txt
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/ChinaIPs/ChinaIPs_IP_No_IPv6.txt
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
**RELEASE分支 (不定时更新)**
2021-04-09 19:34:05 +08:00
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rule/Clash/ChinaIPs/ChinaIPs_IP.yaml
2022-06-04 17:46:59 +08:00
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rule/Clash/ChinaIPs/ChinaIPs_IP_No_IPv6.yaml
2021-04-09 19:34:05 +08:00
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rule/Clash/ChinaIPs/ChinaIPs_Classical.yaml
2022-06-04 17:46:59 +08:00
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rule/Clash/ChinaIPs/ChinaIPs_Classical_No_IPv6.yaml
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rule/Clash/ChinaIPs/ChinaIPs_IP.txt
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rule/Clash/ChinaIPs/ChinaIPs_IP_No_IPv6.txt
**RELEASE分支CDN (不定时更新)**
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@release/rule/Clash/ChinaIPs/ChinaIPs_IP.yaml
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@release/rule/Clash/ChinaIPs/ChinaIPs_IP_No_IPv6.yaml
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@release/rule/Clash/ChinaIPs/ChinaIPs_Classical.yaml
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@release/rule/Clash/ChinaIPs/ChinaIPs_Classical_No_IPv6.yaml
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@release/rule/Clash/ChinaIPs/ChinaIPs_IP.txt
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@release/rule/Clash/ChinaIPs/ChinaIPs_IP_No_IPv6.txt
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
**RELEASE分支 GHProxy (不定时更新)**
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rule/Clash/ChinaIPs/ChinaIPs_IP.yaml
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rule/Clash/ChinaIPs/ChinaIPs_IP_No_IPv6.yaml
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rule/Clash/ChinaIPs/ChinaIPs_Classical.yaml
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rule/Clash/ChinaIPs/ChinaIPs_Classical_No_IPv6.yaml
2021-07-16 02:07:24 +08:00
2022-06-04 17:46:59 +08:00
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rule/Clash/ChinaIPs/ChinaIPs_IP.txt
2021-07-16 02:07:24 +08:00
2022-06-04 17:46:59 +08:00
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rule/Clash/ChinaIPs/ChinaIPs_IP_No_IPv6.txt
2021-07-16 02:07:24 +08:00
2021-04-09 19:34:05 +08:00
## 子规则/排除规则
2022-09-14 23:10:38 +08:00
当前分流规则,已包含以下子规则,除非特殊需求否则不建议重复引用:
| 子规则 |
| ---- |
| ChinaASN |
2021-04-09 19:34:05 +08:00
## 数据来源
2022-06-04 17:46:59 +08:00
《ChinaIPs》的数据来自以下链接如与本项目的《ChinaIPs》规则混合使用可能会造成规则大量重复。
2021-04-09 19:34:05 +08:00
- https://raw.githubusercontent.com/Loyalsoldier/surge-rules/release/ruleset/cncidr.txt
2022-06-04 17:46:59 +08:00
- https://raw.githubusercontent.com/Hackl0us/GeoIP2-CN/release/CN-ip-cidr.txt
2021-04-09 19:34:05 +08:00
- https://raw.githubusercontent.com/sve1r/Rules-For-Quantumult-X/develop/Rules/Region/ChinaIP.list
2022-06-04 17:46:59 +08:00
- https://raw.githubusercontent.com/misakaio/chnroutes2/master/chnroutes.txt
- https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/cncidr.txt
2023-02-23 09:32:44 +08:00
- https://raw.githubusercontent.com/dler-io/Rules/main/Clash/Provider/Domestic%20IPs.yaml
- https://raw.githubusercontent.com/missuo/ASN-China/main/IP.China.list
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
感谢以上规则作者的辛勤付出(排名不分先后)。
2021-04-09 19:34:05 +08:00
## 最后
### 感谢
2022-06-04 17:46:59 +08:00
[@fiiir](https://github.com/fiiir) [@Tartarus2014](https://github.com/Tartarus2014) [@zjcfynn](https://github.com/zjcfynn) [@chenyiping1995](https://github.com/chenyiping1995) [@vhdj](https://github.com/vhdj)
2021-04-09 19:34:05 +08:00
提供规则数据源及改进建议。
### 其他
请不要对外宣传本项目。