2023-03-21 15:19:30 +08:00
|
|
|
|
**下载地址**:
|
|
|
|
|
|
|
|
|
|
- **country.mmdb**
|
|
|
|
|
- [Github release](https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/country.mmdb)
|
|
|
|
|
- [JSdelivr](https://cdn.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/country.mmdb)
|
|
|
|
|
- [JSdelivr-CF](https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/country.mmdb)
|
|
|
|
|
- **geoip.dat**
|
|
|
|
|
|
|
|
|
|
- [Github release](https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip.dat)
|
|
|
|
|
- [JSdelivr](https://cdn.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip.dat)
|
|
|
|
|
- [JSdelivr-CF](https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip.dat)
|
|
|
|
|
|
|
|
|
|
- **geoip.db**
|
2019-12-11 06:37:36 +08:00
|
|
|
|
|
2023-03-21 15:19:30 +08:00
|
|
|
|
- [Github release](https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip.db)
|
|
|
|
|
- [JSdelivr](https://cdn.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip.db)
|
|
|
|
|
- [JSdelivr-CF](https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip.db)
|
2019-12-11 06:37:36 +08:00
|
|
|
|
|
2023-03-21 15:19:30 +08:00
|
|
|
|
- **geosite.dat**
|
2019-12-11 06:37:36 +08:00
|
|
|
|
|
2023-03-21 15:19:30 +08:00
|
|
|
|
- [Github release](https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geosite.dat)
|
|
|
|
|
- [JSdelivr](https://cdn.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geosite.dat)
|
|
|
|
|
- [JSdelivr-CF](https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geosite.dat)
|
2019-12-11 06:37:36 +08:00
|
|
|
|
|
2023-03-21 15:19:30 +08:00
|
|
|
|
- **geosite.db**
|
|
|
|
|
- [Github release](https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geosite.db)
|
|
|
|
|
- [JSdelivr](https://cdn.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geosite.db)
|
|
|
|
|
- [JSdelivr-CF](https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geosite.db)
|
2023-04-02 21:38:49 +08:00
|
|
|
|
- **rule-set**
|
|
|
|
|
- **cn_domain.yaml**
|
|
|
|
|
- [Github release](https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/cn_domain.yaml)
|
|
|
|
|
- [JSdelivr](https://cdn.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/cn_domain.yaml)
|
|
|
|
|
- [JSdelivr-CF](https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/cn_domain.yaml)
|
|
|
|
|
- **proxy.yaml**
|
|
|
|
|
- [Github release](https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/proxy.yaml)
|
|
|
|
|
- [JSdelivr](https://cdn.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/proxy.yaml)
|
|
|
|
|
- [JSdelivr-CF](https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/proxy.yaml)
|
2023-03-21 15:19:30 +08:00
|
|
|
|
### country.mmdb,geoip.dat,geoip.db
|
|
|
|
|
|
|
|
|
|
同 [Loyalsoldier/v2ray-rules-dat](https://github.com/Loyalsoldier/v2ray-rules-dat)
|
2021-06-02 18:16:57 +08:00
|
|
|
|
- 新增类别(方便有特殊需求的用户使用):
|
|
|
|
|
- `geoip:cloudflare`
|
2021-06-21 14:51:56 +08:00
|
|
|
|
- `geoip:cloudfront`
|
2021-08-08 14:09:15 +08:00
|
|
|
|
- `geoip:facebook`
|
2021-06-21 14:51:56 +08:00
|
|
|
|
- `geoip:fastly`
|
2021-09-18 10:04:48 +08:00
|
|
|
|
- `geoip:google`
|
2021-07-05 02:20:03 +08:00
|
|
|
|
- `geoip:netflix`
|
2021-06-02 18:16:57 +08:00
|
|
|
|
- `geoip:telegram`
|
2021-09-18 10:04:48 +08:00
|
|
|
|
- `geoip:twitter`
|
2019-12-11 06:37:36 +08:00
|
|
|
|
|
2023-03-21 15:19:30 +08:00
|
|
|
|
### geosite.dat,geosite.db
|
|
|
|
|
|
|
|
|
|
用法同 [Loyalsoldier/v2ray-rules-dat](https://github.com/Loyalsoldier/v2ray-rules-dat)
|
2023-04-06 16:36:11 +08:00
|
|
|
|
- `geosite:cn` 源替换为 [ios_rule_script/ChinaMax_Domain](https://github.com/blackmatrix7/ios_rule_script/tree/master/rule/Clash/ChinaMax)
|
|
|
|
|
- `geosite:onedrive` 合并 [ios_rule_script/OneDrive](https://github.com/blackmatrix7/ios_rule_script/tree/master/rule/Clash/OneDrive)
|
|
|
|
|
- `geosite:steam@cn` 合并 [ios_rule_script/SteamCN](https://github.com/blackmatrix7/ios_rule_script/tree/master/rule/Clash/SteamCN) 的内数据
|
2023-03-21 15:19:30 +08:00
|
|
|
|
- 新增类别
|
|
|
|
|
- `geosite:biliintl` 来源 [biliintl](https://raw.githubusercontent.com/xishang0128/rules/main/biliintl.list)
|
2023-03-28 02:30:01 +08:00
|
|
|
|
- `geosite:tracker` 来源 [TrackersList](https://trackerslist.com/#/zh)以及[blackmatrix7
|
|
|
|
|
/
|
|
|
|
|
ios_rule_script](https://github.com/blackmatrix7/ios_rule_script/tree/master/rule/Clash/PrivateTracker)
|
2023-03-25 21:34:23 +08:00
|
|
|
|
|
2023-04-02 21:38:49 +08:00
|
|
|
|
### 示例
|
2023-03-21 15:19:30 +08:00
|
|
|
|
```yaml
|
2023-04-02 21:38:49 +08:00
|
|
|
|
rule-providers:
|
|
|
|
|
cn:
|
|
|
|
|
behavior: domain
|
|
|
|
|
interval: 86400
|
|
|
|
|
path: ./provider/rule-set/cn_domain.yaml
|
|
|
|
|
type: http
|
|
|
|
|
url: "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/cn_domain.yaml"
|
|
|
|
|
|
|
|
|
|
rules:
|
2023-04-06 16:36:11 +08:00
|
|
|
|
- RULE-SET,cn,DIRECT
|
2023-03-21 15:19:30 +08:00
|
|
|
|
- GEOSITE,category-ads-all,REJECT
|
|
|
|
|
- GEOSITE,private,DIRECT
|
|
|
|
|
- GEOSITE,youtube,PROXY
|
|
|
|
|
- GEOSITE,google,PROXY
|
|
|
|
|
- GEOSITE,twitter,PROXY
|
|
|
|
|
- GEOSITE,pixiv,PROXY
|
|
|
|
|
- GEOSITE,category-scholar-!cn,PROXY
|
|
|
|
|
- GEOSITE,biliintl,PROXY
|
|
|
|
|
- GEOSITE,onedrive,DIRECT
|
|
|
|
|
- GEOSITE,microsoft@cn,DIRECT
|
|
|
|
|
- GEOSITE,apple-cn,DIRECT
|
2023-03-25 21:38:42 +08:00
|
|
|
|
- GEOSITE,steam@cn,DIRECT
|
2023-03-21 15:19:30 +08:00
|
|
|
|
- GEOSITE,category-games@cn,DIRECT
|
|
|
|
|
- GEOSITE,geolocation-!cn,PROXY
|
|
|
|
|
- GEOSITE,cn,DIRECT
|
|
|
|
|
|
|
|
|
|
#GEOIP规则
|
|
|
|
|
- GEOIP,private,DIRECT,no-resolve
|
|
|
|
|
- GEOIP,telegram,PROXY
|
|
|
|
|
- GEOIP,JP,PROXY
|
|
|
|
|
- GEOIP,CN,DIRECT
|
|
|
|
|
- DST-PORT,80/8080/443/8443,PROXY
|
|
|
|
|
- MATCH,DIRECT
|
2019-12-11 06:37:36 +08:00
|
|
|
|
```
|
2023-04-02 21:38:49 +08:00
|
|
|
|
|
2019-12-31 02:33:59 +08:00
|
|
|
|
## 致谢
|
|
|
|
|
|
2020-07-08 16:50:34 +08:00
|
|
|
|
- [@Loyalsoldier/geoip](https://github.com/Loyalsoldier/geoip)
|
2020-07-19 12:27:35 +08:00
|
|
|
|
- [@v2fly/domain-list-community](https://github.com/v2fly/domain-list-community)
|
2020-10-27 09:33:15 +08:00
|
|
|
|
- [@Loyalsoldier/domain-list-custom](https://github.com/Loyalsoldier/domain-list-custom)
|
2019-12-31 02:33:59 +08:00
|
|
|
|
- [@felixonmars/dnsmasq-china-list](https://github.com/felixonmars/dnsmasq-china-list)
|
2020-02-25 20:26:32 +08:00
|
|
|
|
- [@gfwlist/gfwlist](https://github.com/gfwlist/gfwlist)
|
2019-12-31 02:33:59 +08:00
|
|
|
|
- [@cokebar/gfwlist2dnsmasq](https://github.com/cokebar/gfwlist2dnsmasq)
|
2020-05-09 21:56:24 +08:00
|
|
|
|
- [@Loyalsoldier/cn-blocked-domain](https://github.com/Loyalsoldier/cn-blocked-domain)
|
2020-08-03 23:11:00 +08:00
|
|
|
|
- [@AdblockPlus/EasylistChina+Easylist.txt](https://easylist-downloads.adblockplus.org/easylistchina+easylist.txt)
|
2020-08-09 11:16:09 +08:00
|
|
|
|
- [@AdGuard/DNS-filter](https://kb.adguard.com/en/general/adguard-ad-filters#dns-filter)
|
2020-08-07 05:59:47 +08:00
|
|
|
|
- [@PeterLowe/adservers](https://pgl.yoyo.org/adservers)
|
2020-08-11 21:04:14 +08:00
|
|
|
|
- [@DanPollock/hosts](https://someonewhocares.org/hosts)
|
2021-01-18 16:56:18 +08:00
|
|
|
|
- [@crazy-max/WindowsSpyBlocker](https://github.com/crazy-max/WindowsSpyBlocker)
|
2023-03-25 21:34:23 +08:00
|
|
|
|
- [@blackmatrix7/ios_rule_script](https://github.com/blackmatrix7/ios_rule_script)
|