Single-file classical Clash and Mihomo rules for routing Iranian domains and IPs.
Automatically updated every day.
Format | Download link |
---|---|
Yaml | https://github.com/ygbkm/clash-rules-iran/releases/latest/download/rules.yaml |
Text | https://github.com/ygbkm/clash-rules-iran/releases/latest/download/rules.txt |
rule-providers:
iran:
type: http
format: yaml
behavior: classical
url: https://github.com/ygbkm/clash-rules-iran/releases/latest/download/rules.yaml
path: ./ruleset/iran.yaml
interval: 86400
rules:
- RULE-SET,iran,DIRECT
rule-providers:
iran:
type: http
format: text
behavior: classical
url: https://github.com/ygbkm/clash-rules-iran/releases/latest/download/rules.txt
path: ./ruleset/iran.txt
interval: 86400
rules:
- RULE-SET,iran,DIRECT
Clash rules are available in text
and yaml
formats.
The text
format is preferred as it's smaller and faster to process.
The text
format is supported in:
- Mihomo (formerly Clash.Meta) 1.14.4+
- Clash Premium 1.15.0+