The scripts generate combined and deduplicated mihomo rulesets from huge number of lists from repositories such as:
- MetaCubeX/meta-rules-dat
- v2fly domain-list-community
- itdoginfo allow-domains
- dartraiden no-russia-hosts
- antifilter-community
- 1andrevich Re-filter-lists
- iplist.opencck.org
- legiz-ru mihomo-rule-sets (apps, games, torrent-clients, discord-vc, rknasnblock)
- GhostRooter0953 discord-voice-ips
- sjhgvr oisd
- Flowseal zapret-discord-youtube
sniffer:
enable: true
force-dns-mapping: true
parse-pure-ip: true
sniff:
HTTP:
ports: [80, 8080-8880]
override-destination: true
TLS:
ports: [443, 8443]
QUIC:
ports: [443, 8443]
rule-providers:
uni-adblock:
type: http
behavior: domain
format: mrs
url: https://github.com/vrzdrb/unified-mihomo-rulesets/raw/refs/heads/main/uni-adblock.mrs
path: ./unified/uni-adblock.mrs
interval: 86400
uni-block:
type: http
behavior: domain
format: mrs
url: https://github.com/vrzdrb/unified-mihomo-rulesets/raw/refs/heads/main/uni-block.mrs
path: ./unified/uni-block.mrs
interval: 86400
uni-app-block:
type: http
behavior: classical
format: yaml
url: https://raw.githubusercontent.com/vrzdrb/unified-mihomo-rulesets/refs/heads/main/uni-app-block.yaml
path: ./unified/uni-app-block.yaml
interval: 86400
uni-custom-proxy:
type: http
behavior: classical
format: yaml
url: https://raw.githubusercontent.com/vrzdrb/unified-mihomo-rulesets/refs/heads/main/uni-custom-proxy.yaml
path: ./unified/uni-custom-proxy.yaml
interval: 86400
uni-custom-direct:
type: http
behavior: classical
format: yaml
url: https://raw.githubusercontent.com/vrzdrb/unified-mihomo-rulesets/refs/heads/main/uni-custom-direct.yaml
path: ./unified/uni-custom-direct.yaml
interval: 86400
uni-domains-direct:
type: http
behavior: domain
format: mrs
url: https://github.com/vrzdrb/unified-mihomo-rulesets/raw/refs/heads/main/uni-domains-direct.mrs
path: ./unified/uni-domains-direct.mrs
interval: 86400
uni-domains:
type: http
behavior: domain
format: mrs
url: https://github.com/vrzdrb/unified-mihomo-rulesets/raw/refs/heads/main/uni-domains.mrs
path: ./unified/uni-domains.mrs
interval: 86400
uni-ip4-cidr-direct:
type: http
behavior: ipcidr
format: mrs
url: https://github.com/vrzdrb/unified-mihomo-rulesets/raw/refs/heads/main/uni-ip4-cidr-direct.mrs
path: ./unified/uni-ip4-cidr-direct.mrs
interval: 86400
uni-ip4-cidr:
type: http
behavior: ipcidr
format: mrs
url: https://github.com/vrzdrb/unified-mihomo-rulesets/raw/refs/heads/main/uni-ip4-cidr.mrs
path: ./unified/uni-ip4-cidr.mrs
interval: 86400
rules:
- RULE-SET,uni-adblock,REJECT
- RULE-SET,uni-block,REJECT
- RULE-SET,uni-app-block,REJECT
- RULE-SET,uni-custom-proxy,PROXY
- RULE-SET,uni-custom-direct,DIRECT
- RULE-SET,uni-domains-direct,DIRECT
- RULE-SET,uni-domains,PROXY
- RULE-SET,uni-ip4-cidr-direct,DIRECT
- RULE-SET,uni-ip4-cidr,PROXY
- MATCH,DIRECT