mixed-port: 7890 socks-port: 7891 port: 7892 allow-lan: false mode: rule log-level: error ipv6: false enable-process: true find-process-mode: strict tcp-concurrent: false disable-keep-alive: true unified-delay: true profile: store-selected: true store-fake-ip: true dns: enable: true ipv6: true listen: :1053 enhanced-mode: fake-ip fake-ip-range: 198.18.0.1/16 fake-ip-filter: - +.lan - +.local - +.localhost - +.localdomain - +.ip6-localhost - +.ip6-loopback - "*.example" - "*.invalid" - "*.test" - "*.home.arpa" - time.nist.gov - time.windows.com - time.android.com - pool.ntp.org - time.*.com - ntp.*.com default-nameserver: - https://8.8.8.8/dns-query direct-nameserver: - system proxy-server-nameserver: - 8.8.8.8 - system nameserver: - https://dns.quad9.net/dns-query - https://security.cloudflare-dns.com/dns-query - https://dns.google/dns-query direct-nameserver-follow-policy: false prefer-h3: false respect-rules: false use-hosts: true use-system-hosts: false fallback: [] fallback-filter: geoip: false ipcidr: - 240.0.0.0/4 - 0.0.0.0/32 - 10.10.34.0/24 tun: enable: false stack: mixed dns-hijack: - any:53 - tcp://any:53 auto-route: true auto-detect-interface: true strict-route: true device: Mihomo proxy-providers: q: type: http url: https://raw.githubusercontent.com/liketolivefree/kobabi/main/prov_clash.yaml interval: 21600 path: ./proxy-providers/q.yaml health-check: enable: true interval: 7200 url: https://www.gstatic.com/generate_204 timeout: 10000 override: udp: true skip-cert-verify: false l: type: http url: https://raw.githubusercontent.com/snakem982/proxypool/main/source/clash-meta-2.yaml interval: 21600 path: ./proxy-providers/l.yaml health-check: enable: true interval: 7200 url: https://www.gstatic.com/generate_204 timeout: 10000 exclude-type: ss|http|trojan|vmess|https|anytls|tuic|socks4|socks5|hysteria2 override: udp: true skip-cert-verify: false w: type: http url: https://raw.githubusercontent.com/0xRadikal/Free-v2ray-Configs/main/secure/clash.yaml interval: 21600 path: ./proxy-providers/w.yaml health-check: enable: true interval: 7200 url: https://www.gstatic.com/generate_204 timeout: 10000 exclude-type: ss|http|trojan|vmess|https|anytls|tuic|socks4|socks5|hysteria2 override: udp: true skip-cert-verify: false proxy-groups: - name: QQOLI type: select proxies: - MMOBI use: - q - l - w - name: MMOBI type: url-test url: https://www.gstatic.com/generate_204 interval: 7200 tolerance: 100 use: - q - l - w rule-providers: aff_l: type: http behavior: domain format: mrs url: https://raw.githubusercontent.com/liketolivefree/kobabi/main/aff_l.mrs path: ./rule-providers/aff_l.mrs interval: 86400 yun: type: http behavior: ipcidr format: mrs url: https://raw.githubusercontent.com/liketolivefree/kobabi/main/yun.mrs path: ./rule-providers/yun.mrs interval: 86400 oki: type: http behavior: domain format: mrs url: https://raw.githubusercontent.com/liketolivefree/kobabi/main/oki.mrs path: ./rule-providers/oki.mrs interval: 86400 doki: type: http behavior: ipcidr format: mrs url: https://raw.githubusercontent.com/liketolivefree/kobabi/main/doki.mrs path: ./rule-providers/doki.mrs interval: 86400 xal: type: http behavior: domain format: mrs url: https://raw.githubusercontent.com/liketolivefree/kobabi/main/xal.mrs path: ./rule-providers/xal.mrs interval: 86400 loo: type: http behavior: ipcidr format: mrs url: https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/ircidr.mrs path: ./rule-providers/loo.mrs interval: 86400 rules: - IP-CIDR,127.0.0.1/32,DIRECT,no-resolve - IP-CIDR,198.18.0.1/16,DIRECT,no-resolve - IP-CIDR6,::1/128,DIRECT,no-resolve - DOMAIN-SUFFIX,lan,DIRECT - DOMAIN-SUFFIX,local,DIRECT - DOMAIN-SUFFIX,localdomain,DIRECT - DOMAIN-SUFFIX,localhost,DIRECT - DOMAIN-SUFFIX,ip6-localhost,DIRECT - DOMAIN-SUFFIX,ip6-loopback,DIRECT - RULE-SET,aff_l,REJECT - RULE-SET,yun,REJECT,no-resolve - DOMAIN-SUFFIX,ir,DIRECT - RULE-SET,xal,DIRECT - RULE-SET,oki,QQOLI - RULE-SET,loo,DIRECT,no-resolve - RULE-SET,doki,QQOLI,no-resolve - MATCH,QQOLI geo-auto-update: false geo-update-interval: 90 geodata-mode: false geox-url: geoip: https://github.com/Chocolate4u/Iran-v2ray-rules/releases/latest/download/geoip.dat geosite: https://github.com/Chocolate4u/Iran-v2ray-rules/releases/latest/download/geosite.dat mmdb: https://github.com/Chocolate4u/Iran-clash-rules/releases/latest/download/geoip.metadb asn: https://github.com/Chocolate4U/Iran-v2ray-rules/raw/geolite2/GeoLite2-ASN.mmdb hosts: "one.one.one.one": ["1.1.1.1", "1.0.0.1", "2606:4700:4700::1111", "2606:4700:4700::1001"] "1dot1dot1dot1.cloudflare-dns.com": ["1.1.1.1", "1.0.0.1", "2606:4700:4700::1111", "2606:4700:4700::1001"] "security.cloudflare-dns.com": ["1.1.1.2", "1.0.0.2", "2606:4700:4700::1112", "2606:4700:4700::1002"] "family.cloudflare-dns.com": ["1.1.1.3", "1.0.0.3", "2606:4700:4700::1113", "2606:4700:4700::1003"] "cloudflare-dns.com": ["104.16.248.249", "104.16.249.249", "2606:4700::6810:f8f9", "2606:4700::6810:f9f9"] "engage.cloudflareclient.com": ["162.159.192.1", "2606:4700:d0::a29f:c001"] "dns.quad9.net": ["9.9.9.9", "149.112.112.112", "2620:fe::9", "2620:fe::fe"] "dns9.quad9.net": ["9.9.9.9", "149.112.112.9", "2620:fe::9", "2620:fe::fe:9"] "dns10.quad9.net": ["9.9.9.10", "149.112.112.10", "2620:fe::10", "2620:fe::fe:10"] "dns11.quad9.net": ["9.9.9.11", "149.112.112.11", "2620:fe::11", "2620:fe::fe:11"] "dns12.quad9.net": ["9.9.9.12", "149.112.112.12", "2620:fe::12", "2620:fe::fe:12"] "dns.google": ["8.8.8.8", "8.8.4.4", "2001:4860:4860::8888", "2001:4860:4860::8844"] "dns.adguard-dns.com": ["94.140.14.14", "94.140.15.15", "2a10:50c0::ad1:ff", "2a10:50c0::ad2:ff"] "family.adguard-dns.com": ["94.140.14.15", "94.140.15.16", "2a10:50c0::bad1:ff", "2a10:50c0::bad2:ff"] "unfiltered.adguard-dns.com": ["94.140.14.140", "94.140.14.141", "2a10:50c0::1:ff", "2a10:50c0::2:ff"] "dns.opendns.com": ["208.67.220.220", "208.67.222.222", "2620:119:35::35", "2620:119:53::53"] "dns.umbrella.com": ["208.67.220.220", "208.67.222.222", "2620:119:35::35", "2620:119:53::53"] "dns.sse.cisco.com": ["208.67.220.220", "208.67.222.222", "2620:119:35::35", "2620:119:53::53"] "sandbox.opendns.com": ["208.67.220.2", "208.67.222.2", "2620:0:ccc::2", "2620:0:ccd::2"] "sandbox.sse.cisco.com": ["208.67.220.2", "208.67.222.2", "2620:0:ccc::2", "2620:0:ccd::2"] "familyshield.opendns.com": ["208.67.220.123", "208.67.222.123", "2620:119:35::123", "2620:119:53::123"] "familyshield.sse.cisco.com": ["208.67.220.123", "208.67.222.123", "2620:119:35::123", "2620:119:53::123"] "doh.opendns.com": ["146.112.41.2", "2620:119:fc::2"] "doh.sse.cisco.com": ["146.112.41.2", "2620:119:fc::2"] "doh.sandbox.opendns.com": ["146.112.41.3", "2620:119:fc::3"] "doh.familyshield.opendns.com": ["146.112.41.3", "2620:119:fc::3"] "doh.umbrella.com": ["146.112.41.5", "2620:119:fc::5"] "rethinkdns.com": ["104.18.0.48", "104.18.1.48", "2606:4700::6812:30", "2606:4700::6812:130"] "basic.rethinkdns.com": ["104.18.0.48", "104.18.1.48", "2606:4700::6812:30", "2606:4700::6812:130"] "sky.rethinkdns.com": ["104.18.0.48", "104.18.1.48", "2606:4700::6812:30", "2606:4700::6812:130"] "max.rethinkdns.com": ["137.66.7.89", "2a09:8280:1::1:7432"] "dns.mullvad.net": ["194.242.2.2"] "adblock.dns.mullvad.net": ["194.242.2.3"] "base.dns.mullvad.net": ["194.242.2.4"] "dns.alidns.com": ["223.5.5.5", "223.6.6.6", "2400:3200::1", "2400:3200:baba::1"] "public1.114dns.com": ["114.114.114.114"] "public2.114dns.com": ["114.114.115.115"] "anti-malware-1.114dns.com": ["114.114.114.119"] "anti-malware-2.114dns.com": ["114.114.115.119"] "dns.yandex.net": ["77.88.8.1", "77.88.8.8", "2a02:6b8:0:1::feed:ff", "2a02:6b8::feed:ff"] "dns.shecan.ir": ["178.22.122.100", "178.22.122.101", "185.51.200.1", "185.51.200.2"] "free.shecan.ir": ["178.22.122.100", "178.22.122.101", "185.51.200.1", "185.51.200.2"] "recursive1.dci.ir": ["217.218.127.127"] "recursive2.dci.ir": ["217.218.155.155"] "dns.electrotm.org": ["78.157.42.100", "78.157.42.101"] "github.io": ["185.199.108.153", "185.199.109.153", "185.199.110.153", "185.199.111.153"] "github.com": ["140.82.112.3", "140.82.112.4", "140.82.113.3", "140.82.113.4", "140.82.114.3", "140.82.114.4", "140.82.121.3", "140.82.121.4"] "api.github.com": ["140.82.112.5", "140.82.113.5", "140.82.114.5", "140.82.112.6", "140.82.113.6", "140.82.114.6"] "gist.github.com": ["140.82.112.3", "140.82.113.3", "140.82.114.3", "140.82.112.4", "140.82.113.4", "140.82.114.4"] "github.githubassets.com": ["185.199.108.215", "185.199.109.215", "185.199.110.215", "185.199.111.215", "2606:50c0:8000::215", "2606:50c0:8001::215", "2606:50c0:8002::215", "2606:50c0:8003::215"] "avatars.githubusercontent.com": ["185.199.108.133", "185.199.109.133", "185.199.110.133", "185.199.111.133", "2606:50c0:8001::154", "2606:50c0:8000::154", "2606:50c0:8002::154", "2606:50c0:8003::154"] "release-assets.githubusercontent.com": ["185.199.108.133", "185.199.109.133", "185.199.110.133", "185.199.111.133"] "user-images.githubusercontent.com": ["185.199.108.133", "185.199.109.133", "185.199.110.133", "185.199.111.133"] "raw.githubusercontent.com": ["185.199.108.133", "185.199.109.133", "185.199.110.133", "185.199.111.133", "2606:50c0:8000::154", "2606:50c0:8001::154", "2606:50c0:8002::154", "2606:50c0:8003::154"]