GitHub RadarBlue team tool
Enhanced Clash and Clash.Meta routing rules with Iranian domains ruleset and a focus on security and adblocking. Primary language: Shell. 79 stars.
Project links:Open GitHub projectBack to radar
<picture> <source media="(prefers-color-scheme: dark)" srcset="assets/logo-white.png"> <source media="(prefers-color-scheme: light)" srcset="assets/logo-dark.png"> <img alt="a logo for iran clash rules in both dark and light mode" src="assets/logo-dark.png"> </picture>
<p align="center"> <img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/Chocolate4U/Iran-clash-rules/release.yml?event=schedule&style=for-the-badge&logo=github&cacheSeconds=3600"> <img alt="GitHub release" src="https://img.shields.io/github/v/release/Chocolate4U/Iran-clash-rules?style=for-the-badge&cacheSeconds=3600"> <img alt="GitHub Release Date" src="https://img.shields.io/github/release-date/Chocolate4U/Iran-clash-rules?display_date=published_at&style=for-the-badge&cacheSeconds=3600"> <img alt="License" src="https://img.shields.io/github/license/Chocolate4U/Iran-clash-rules?style=for-the-badge&color=blue&cacheSeconds=3600"> </p>
An enhanced and All-in-One set of geo-location routing files optimized for Iranian users to use in Clash/Clash.Meta.
:bulb: For V2Ray geolocation rules please refer to Iran V2Ray Rules :bulb: For Sing-Box geolocation rules please refer to Iran Sing-Box Rules
[!IMPORTANT]
There are two clash rule formats,textandyaml.textis preferred as it's faster to process by Clash and is supported in Clash Premium 1.15.0+ and clash.Meta 1.14.4+ . If you are using an older version of Clash/Clash.Meta, you should useyamlformat.
apps.txt, apps.yamlContains a list of Persian Android apps.
irasn.txt, irasn.yamlContains a list of Iran ASN numbers.
ir.txt, ir.yamlContains non-ir TLD Iranian domains (e.g. .com .net .org etc.) and rules to bypass all .ir domains.
ir-lite.txt, ir-lite.yamlContains Active non-ir TLD Iranian domains (e.g. .com .net .org etc.) and rules to bypass all .ir domains.
ads.txt, ads.yamlContains a list of Persian advertisement and tracking domains.
category-ads-all.txt, category-ads-all.yamlContains a curated list of Persian and Foreign advertisement and tracking domains based on multiple sources. It is optimized to has as low as possible false positives while also retain small size and efficiency.
malware.txt, malware.yamlContains a list of active malware domains.
phishing.txt, phishing.yamlContains a list of scam and phishing domains.
cryptominers.txt, cryptominers.yamlContains a list of cryptocurrency miners that run in the background of a web browser and affect system performance.
social.txt,social.yamlContains Domain Addresses of popular social media platforms, including Facebook, Instagram, Whatsapp, Twitter, LinkedIn, MySpace, Pinterest, Tumblr, Reddit, TikTok, clubhouse.
nsfw.txt,nsfw.yamlContains a list of porn and gambling websites.
ircidr.txt, ircidr.yamlContains Iran IP addresses from Maxmind database and IP addresses of Iranian messengers such as eitaa, rubika, etc.
private.txt, private.yamlContains a list of local (LAN) IP addresses.
arvancloud.txt, arvancloud.yamlContains the IP addresses of ArvanCloud.ir CDN.
derakcloud.txt, derakcloud.yamlContains the IP addresses of Derak.cloud CDN.
iranserver.txt, iranserver.yamlContains the IP addresses of IranServer.com CDN.
parspack.txt, parspack.yamlContains the IP addresses of ParsPack.com CDN.
cloudflare.txt, cloudflare.yamlContains the IP addresses of Cloudflare CDN.
google.txt, google.yamlContains the IP addresses of Google, GoogleCloud and GoogleBot.
amazon.txt, amazon.yamlContains the IP addresses of Amazon and Amazon Web Services (AWS).
microsoft.txt, microsoft.yamlContains the IP addresses of Microsoft and Azure Platform.
bing.txt, bing.yamlContains the IP addresses of Bing and Bingbot.
github.txt, github.yamlContains the IP addresses of GitHub.
facebook.txt, facebook.yamlContains the IP addresses of the Meta ecosystem, including Facebook, Instagram and WhatsApp.
twitter.txt, twitter.yamlContains the IP addresses of Twitter (now called X!).
telegram.txt, telegram.yamlContains the IP addresses of Telegram Messenger.
oracle.txt, oracle.yamlContains the IP addresses of Oracle Cloud.
digitalocean.txt, digitalocean.yamlContains the IP addresses of DigitalOcean related services.
linode.txt, linode.yamlContains the IP addresses of Linode related services.
openai.txt, openai.yamlContains the IP addresses of OpenAI and ChatGPT.
phishing-ip.txt, phishing-ip.yamlContains Phishing IP addresses.
malware-ip.txt, malware-ip.yamlContains Active Malware IP addresses.
[!NOTE]
Only usable in Clash.Meta.
GeoIP database in Clash.Meta format.
geoip.metadbSame as GeoIP but in Clash.Meta format.
geoip-lite.metadbSame as GeoIP-Lite but in Clash.Meta format.
security-ip.metadbSame as Security-IP but in Clash.Meta format.
text https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/ir.txtyaml https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/ir.yamltext https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/ir-lite.txtyaml https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/ir-lite.yamltext https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/category-ads-all.txtyaml https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/category-ads-all.yamltext https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/malware.txtyaml https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/malware.yamltext https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/phishing.txtyaml https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/phishing.yamltext https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/cryptominers.txtyaml https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/cryptominers.yamltext https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/apps.txtyaml https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/apps.yamltext https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/irasn.txtyaml https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/irasn.yamltext https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/ircidr.txtyaml https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/ircidr.yamltext https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/private.txtyaml https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/private.yamltext https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/arvancloud.txtyaml https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/arvancloud.yamltext https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/derakcloud.txtyaml https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/derakcloud.yamltext https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/iranserver.txtyaml https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/iranserver.yamltext https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/parspack.txtyaml https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/parspack.yamltext https://cdn.jsdelivr.net/gh/chocolate4u/Iran-clash-rules@release/ir.txtyaml https://cdn.jsdelivr.net/gh/chocolate4u/Iran-clash-rules@release/ir.yamltext [https://cdn.jsdelivr.net/gh/chocolate