跳转至

rule-providers 文件内容

classical

classical 支持路由规则的全部类型 (rule-set/sub-rule 除外)

1
2
3
4
5
6
7
8
9
payload:
- DOMAIN-SUFFIX,google.com
- DOMAIN-KEYWORD,google
- DOMAIN,ad.com
- SRC-IP-CIDR,192.168.1.201/32
- IP-CIDR,127.0.0.0/8
- GEOIP,CN
- DST-PORT,80
- SRC-PORT,7777
DOMAIN-SUFFIX,google.com
DOMAIN-KEYWORD,google
DOMAIN,ad.com
SRC-IP-CIDR,192.168.1.201/32
IP-CIDR,127.0.0.0/8
GEOIP,CN
DST-PORT,80
SRC-PORT,7777

domain

domain类规则集合内容通配应遵守clash 通配符

1
2
3
4
payload:
- '.blogger.com'
- '*.*.microsoft.com'
- 'books.itunes.apple.com'
.blogger.com
*.*.microsoft.com
books.itunes.apple.com

ipcidr

1
2
3
payload:
- '192.168.1.0/24'
- '10.0.0.0.1/32'
192.168.1.0/24
10.0.0.0.1/32