proxy-providers: provider1: url: "https://raw.githubusercontent.com/abbasdvd3/clash/main/vless/x" type: http interval: 80 health-check: {enable: true,url: "http://www.gstatic.com/generate_204", interval: 30} override: additional-prefix: "[provider1]" provider2: url: "https://raw.githubusercontent.com/go4sharing/sub/main/sub.yaml" type: http interval: 80 health-check: {enable: true,url: "http://www.gstatic.com/generate_204", interval: 30} override: additional-prefix: "[provider2]" mixed-port: 7890 lan-allowed-ips: - 0.0.0.0/0 - ::/0 lan-disallowed-ips: - 192.168.0.3/32 skip-auth-prefixes: - 127.0.0.1/8 - ::1/128 find-process-mode: always keep-alive-interval: 30 ipv6: true log-level: debug allow-lan: true bind-address: "*" external-controller: 127.0.0.1:9090 external-controller-unix: mihomo.sock external-ui: ./dashboard external-ui-name: xd external-ui-url: https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip profile: store-selected: true store-fake-ip: true geo-auto-update: true geo-update-interval: 24 unified-delay: false tcp-concurrent: true interface-name: "" global-client-fingerprint: chrome geodata-mode: true geodata-loader: standard global-ua: clash.meta geox-url: geoip: "https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/geoip.dat" geosite: "https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/geosite.dat" mmdb: "https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/geoip.metadb" asn: "https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/geolite2/GeoLite2-ASN.mmdb" tun: enable: true stack: mixed dns-hijack: - "tcp://any:53" auto-route: true auto-redirect: true auto-detect-interface: true dns: enable: true listen: 0.0.0.0:1053 ipv6: true enhanced-mode: fake-ip fake-ip-filter: - "*" - "+.lan" - "+.local" default-nameserver: - https://223.5.5.5/dns-query - https://120.53.53.53/dns-query - 113.205.16.215 - 111.230.37.44 - 123.207.22.79 - 2606:4700:4700::1111 - 2001:4860:4860::8888 nameserver: - https://dns.alidns.com/dns-query - https://doh.pub/dns-query - quic://pdns.itxe.net:853 - https://sm2.doh.pub/dns-query - tls://pdns.itxe.net:853 - 2408:8262:12bd:1f22::2333 - 2001:4860:4860::8888 fallback: - tls://8.8.4.4 - tls://1.1.1.1 proxy-server-nameserver: - https://doh.pub/dns-query fallback-filter: geoip: true geoip-code: ir geosite: # - social ipcidr: - 240.0.0.0/4 - 0.0.0.0/32 - 100.64.0.0/10 - 127.0.0.0/8 - 240.0.0.0/4 - 10.0.0.0/8 - 169.254.0.0/16 - 172.16.0.0/12 - 192.0.0.0/24 - 192.0.2.0/24 - 192.88.99.0/24 - 192.168.0.0/16 - 198.18.0.0/16 - 198.51.100.0/24 - 203.0.113.0/24 - 224.0.0.0/4 - 255.255.255.255/32 - ::1/128 - fc00::/7 - fe80::/10 - 39.102.194.95/32 - 182.43.124.6/32 - 101.35.177.86/32 - 116.89.243.8/32 - 119.28.87.227/32 domain: - +.google.com - +.facebook.com - +.youtube.com rule-providers: telegram: type: http format: text behavior: domain url: "https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/telegram.txt" interval: 86400 twitter: type: http format: text behavior: domain url: "https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/twitter.txt" interval: 86400 facebook: type: http format: text behavior: classical url: "https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/facebook.txt" interval: 86400 github: type: http format: text behavior: domain url: "https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/github.txt" interval: 86400 google: type: http format: text behavior: classical url: "https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/google.txt" interval: 86400 nsfw: type: http format: text behavior: domain url: "https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/nsfw.txt" interval: 86400 social: type: http format: text behavior: domain url: "https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/social.txt" interval: 86400 Category-ads-all: type: http format: text behavior: domain url: "https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/category-ads-all.txt" interval: 86400 ir: type: http format: text behavior: domain url: "https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/ir.txt" interval: 86400 ads: type: http format: text behavior: domain url: "https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/ads.txt" interval: 86400 malware: type: http format: text behavior: domain url: "https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/malware.txt" interval: 86400 phishing: type: http format: text behavior: domain url: "https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/phishing.txt" interval: 86400 cryptominers: type: http format: text behavior: domain url: "https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/cryptominers.txt" interval: 86400 apps: type: http format: text behavior: classical url: "https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/apps.txt" interval: 86400 ircidr: type: http format: text behavior: ipcidr url: "https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/ircidr.txt" interval: 86400 private: type: http format: text behavior: ipcidr url: "https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/private.txt" interval: 86400 irasn: type: http format: text behavior: classical url: "https://raw.githubusercontent.com/Chocolate4U/Iran-clash-rules/release/irasn.txt" interval: 86400 private1: url: "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/private.yaml" behavior: domain interval: 86400 format: yaml type: http cn_domain: url: "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/cn.yaml" behavior: domain interval: 86400 format: yaml type: http telegram_domain: url: "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/telegram.yaml" behavior: domain interval: 86400 format: yaml type: http google_domain: url: "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/google.yaml" behavior: domain interval: 86400 format: yaml type: http geolocation-!cn: url: "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/geolocation-!cn.yaml" behavior: domain interval: 86400 format: yaml type: http cn_ip: url: "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/cn.yaml" behavior: ipcidr interval: 86400 format: yaml type: http telegram_ip: url: "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/telegram.yaml" behavior: ipcidr interval: 86400 format: yaml type: http google_ip: url: "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/google.yaml" behavior: ipcidr interval: 86400 format: yaml type: http bing: url: "https://mirror.ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Bing/Bing.yaml" behavior: classical interval: 86400 format: yaml type: http copilot: url: https://mirror.ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Copilot/Copilot.yaml behavior: classical interval: 86400 format: yaml type: http claude: url: "https://mirror.ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Claude/Claude.yaml" behavior: classical interval: 86400 format: yaml type: http bard: url: "https://mirror.ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/BardAI/BardAI.yaml" behavior: classical interval: 86400 format: yaml type: http openai: url: "https://mirror.ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/OpenAI/OpenAI.yaml" behavior: classical interval: 86400 format: yaml type: http steam: url: "https://mirror.ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Steam/Steam.yaml" behavior: classical interval: 86400 format: yaml type: http proxies: - name: "Direct" type: direct udp: true - name: "DNS_Hijack" type: dns proxy-groups: - name: GLOBAL type: select exclude-type: "direct|redir-in|trojan|DNS" icon: https://mirror.ghproxy.com/https://raw.githubusercontent.com/Orz-3/mini/master/Color/Global.png # include-all-providers: true exclude-filter: Expire proxies: - PROXY - AUTO - AIGC - US AUTO - name: PROXY type: select exclude-filter: Expire exclude-type: "direct|redir-in|trojan|DNS" proxies: - AUTO - AIGC - US AUTO - name: AUTO type: url-test interval: 300 icon: https://mirror.ghproxy.com/https://raw.githubusercontent.com/Orz-3/mini/master/Color/Urltest.png include-all-providers: true exclude-type: "direct|redir-in|trojan|DNS" exclude-filter: Expire tolerance: 50 lazy: true - name: AIGC icon: https://mirror.ghproxy.com/https://raw.githubusercontent.com/Orz-3/mini/master/Color/OpenAI.png type: fallback interval: 180 include-all-providers: true exclude-type: "direct|redir-in|trojan|DNS" proxies: - name: US AUTO type: url-test tolerance: 50 lazy: true interval: 300 icon: https://mirror.ghproxy.com/https://raw.githubusercontent.com/Orz-3/mini/master/Color/US.png include-all-providers: true exclude-filter: Expire exclude-type: "direct|redir-in|trojan|DNS" filter: (?i)美国|USA|🇺🇸 - name: local type: select icon: https://mirror.ghproxy.com/https://raw.githubusercontent.com/Orz-3/mini/master/Color/Global.png proxies: - Direct - DNS_Hijack - GLOBAL rules: - "IP-CIDR,10.10.0.0/16,local" - "RULE-SET,nsfw,GLOBAL" - "DOMAIN-SUFFIX,pornhub.com,GLOBAL" - "DOMAIN-SUFFIX,pornhubpremium.com,GLOBAL" - "DOMAIN-SUFFIX,pornhub.com,GLOBAL" - "DOMAIN-SUFFIX,pornhubpremium.com,GLOBAL" - "RULE-SET,social,GLOBAL" - "RULE-SET,google,GLOBAL" - "RULE-SET,github,GLOBAL" # - "RULE-SET,Category-ads-all,REJECT" - "RULE-SET,facebook,GLOBAL" - "RULE-SET,twitter,GLOBAL" - "RULE-SET,telegram,GLOBAL" - "RULE-SET,private,local,no-resolve" - "RULE-SET,apps,local" # - "RULE-SET,ads,REJECT" # - "RULE-SET,malware,REJECT" # - "RULE-SET,phishing,REJECT" # - "RULE-SET,cryptominers,REJECT" - "RULE-SET,ir,local" - "RULE-SET,ircidr,local" - "RULE-SET,irasn,local" - "RULE-SET,private1,local" - "RULE-SET,bing,GLOBAL" - "RULE-SET,copilot,GLOBAL" - "RULE-SET,bard,GLOBAL" - "RULE-SET,openai,GLOBAL" - "RULE-SET,claude,GLOBAL" - "RULE-SET,steam,GLOBAL" - "RULE-SET,telegram_domain,GLOBAL" - "RULE-SET,telegram_ip,GLOBAL" - "RULE-SET,google_domain,PROXY" - "RULE-SET,google_ip,GLOBAL" - "RULE-SET,geolocation-!cn,GLOBAL" - "RULE-SET,cn_domain,GLOBAL" - "RULE-SET,cn_ip,GLOBAL" - "MATCH,GLOBAL"