Skip to content

Single-file classical Clash and Mihomo rules for routing Iranian domains and IPs.

License

Notifications You must be signed in to change notification settings

koonix/clash-rules-iran

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clash rules for Iran

Latest Release Downloads

Single-file classical Clash and Mihomo rules for routing Iranian domains and IPs.

Automatically updated every day.

Download

Format Download link
Yaml https://github.com/koonix/clash-rules-iran/releases/latest/download/rules.yaml
Text https://github.com/koonix/clash-rules-iran/releases/latest/download/rules.txt

Usage

Yaml format

rule-providers:
  iran:
    type: http
    format: yaml
    behavior: classical
    url: https://github.com/koonix/clash-rules-iran/releases/latest/download/rules.yaml
    path: ./ruleset/iran.yaml
    interval: 86400

rules:
  - RULE-SET,iran,DIRECT

Text format

rule-providers:
  iran:
    type: http
    format: text
    behavior: classical
    url: https://github.com/koonix/clash-rules-iran/releases/latest/download/rules.txt
    path: ./ruleset/iran.txt
    interval: 86400

rules:
  - RULE-SET,iran,DIRECT

Note about formats

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+