Skip to content

Contents of the rule-providers file

The classical type supports all types of routing rules (except for rule-set/sub-rule).

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

The content of the domain rule set must adhere to the clash wildcard.

payload:
- '.blogger.com'
- '*.*.microsoft.com'
- 'books.itunes.apple.com'
payload:
- '192.168.1.0/24'
- '10.0.0.0.1/32'