mixed-port: 7890 allow-lan: true tcp-concurrent: true enable-process: true find-process-mode: always mode: rule log-level: error ipv6: true external-controller: 127.0.0.1:9090 experimental: ignore-resolve-fail: true sniff-tls-sni: true tracing: true hosts: "localhost": 127.0.0.1 profile: store-selected: true store-fake-ip: true sniffer: enable: true sniff: http: { ports: [1-442, 444-8442, 8444-65535], override-destination: true } tls: { ports: [1-79, 81-8079, 8081-65535], override-destination: true } force-domain: - "+.v2ex.com" - www.google.com - google.com skip-domain: - Mijia Cloud - dlg.io.mi.com sniffing: - tls - http port-whitelist: - "80" - "443" tun: enable: true prefer-h3: true listen: 0.0.0.0:53 stack: gvisor dns-hijack: - "any:53" - "tcp://any:53" auto-redir: true auto-route: true auto-detect-interface: true dns: enable: true ipv6: true default-nameserver: - '1.1.1.1' - '8.8.8.8' enhanced-mode: fake-ip fake-ip-range: 198.18.0.1/16 fake-ip-filter: - 'stun.*.*' - 'stun.*.*.*' - '+.stun.*.*' - '+.stun.*.*.*' - '+.stun.*.*.*.*' - '+.stun.*.*.*.*.*' - '*.lan' - '+.msftncsi.com' - msftconnecttest.com - 'time?.*.com' - 'time.*.com' - 'time.*.gov' - 'time.*.apple.com' - time-ios.apple.com - 'time1.*.com' - 'time2.*.com' - 'time3.*.com' - 'time4.*.com' - 'time5.*.com' - 'time6.*.com' - 'time7.*.com' - 'ntp?.*.com' - 'ntp.*.com' - 'ntp1.*.com' - 'ntp2.*.com' - 'ntp3.*.com' - 'ntp4.*.com' - 'ntp5.*.com' - 'ntp6.*.com' - 'ntp7.*.com' - '+.pool.ntp.org' - '+.ipv6.microsoft.com' - speedtest.cros.wr.pvp.net - network-test.debian.org - detectportal.firefox.com - cable.auth.com - miwifi.com - routerlogin.com - routerlogin.net - tendawifi.com - tendawifi.net - tplinklogin.net - tplinkwifi.net - '*.xiami.com' - tplinkrepeater.net - router.asus.com - '*.*.*.srv.nintendo.net' - '*.*.stun.playstation.net' - '*.openwrt.pool.ntp.org' - resolver1.opendns.com - 'GC._msDCS.*.*' - 'DC._msDCS.*.*' - 'PDC._msDCS.*.*' use-hosts: true nameserver: - '8.8.4.4' - '1.0.0.1' - "https://1.0.0.1/dns-query" - "https://8.8.4.4/dns-query" nameserver-policy: 'RULE-SET:ir,ircidr,geoip:ir,+.ir,+.bonyan.co': ["217.218.155.155", "217.218.127.127", "https://dns.403.online/dns-query", "https://dns.shecan.ir/dns-query"] proxies: - {"name":"SiNAVM | VMESS | #4","type":"vmess","server":"134.195.196.211","port":"18000","cipher":"auto","uuid":"f8c8dc3d-0d37-46b0-8b34-a7232882fcfe","alterId":0,"tls":false,"skip-cert-verify":true,"network":"tcp"} - {"name":"SiNAVM | VMESS | #5","type":"vmess","server":"134.195.196.211","port":18000,"cipher":"auto","uuid":"f8c8dc3d-0d37-46b0-8b34-a7232882fcfe","alterId":"0","tls":false,"skip-cert-verify":true,"network":"tcp"} - {"name":"SiNAVM | VMESS | #7","type":"vmess","server":"134.195.196.211","port":"18000","cipher":"auto","uuid":"f8c8dc3d-0d37-46b0-8b34-a7232882fcfe","alterId":0,"tls":false,"skip-cert-verify":true,"network":"tcp"} - {"name":"SiNAVM | VMESS | #8","type":"vmess","server":"134.195.196.211","port":18000,"cipher":"auto","uuid":"f8c8dc3d-0d37-46b0-8b34-a7232882fcfe","alterId":"0","tls":false,"skip-cert-verify":true,"network":"tcp"} - {"name":"SiNAVM | VMESS | #11","type":"vmess","server":"38.11.69.48","port":30004,"cipher":"auto","uuid":"418048af-a293-4b99-9b0c-98ca3580dd24","alterId":"64","tls":true,"skip-cert-verify":true,"network":"ws","ws-opts":{"path":"/path/1698843555400","headers":{"host":"www.83761815.xyz"}}} - {"name":"SiNAVM | VMESS | #12","type":"vmess","server":"134.195.196.211","port":18000,"cipher":"auto","uuid":"f8c8dc3d-0d37-46b0-8b34-a7232882fcfe","alterId":"0","tls":false,"skip-cert-verify":true,"network":"tcp"} - {"name":"SiNAVM | VMESS | #13","type":"vmess","server":"134.195.196.211","port":"18000","cipher":"auto","uuid":"f8c8dc3d-0d37-46b0-8b34-a7232882fcfe","alterId":0,"tls":false,"skip-cert-verify":true,"network":"tcp"} - {"name":"SiNAVM | VMESS | #16","type":"vmess","server":"188.114.99.137","port":443,"cipher":"auto","uuid":"6a89a215-22bf-4bd7-9642-b95b2e09583a","alterId":0,"tls":true,"skip-cert-verify":true,"network":"ws","ws-opts":{"path":"/hls/cctv5phd.m3u8","headers":{"host":""}}} - {"name":"SiNAVM | VMESS | #18","type":"vmess","server":"38.91.107.49","port":18000,"cipher":"auto","uuid":"f8c8dc3d-0d37-46b0-8b34-a7232882fcfe","alterId":"0","tls":false,"skip-cert-verify":true,"network":"tcp"} - {"name":"SiNAVM | VMESS | #21","type":"vmess","server":"ww11.levikogjgfdd.ir","port":18000,"cipher":"auto","uuid":"f8c8dc3d-0d37-46b0-8b34-a7232882fcfe","alterId":"0","tls":false,"skip-cert-verify":true,"network":"tcp"} - {"name":"SiNAVM | VMESS | #22","type":"vmess","server":"168.110.63.247","port":8081,"cipher":"auto","uuid":"c3bde296-8e44-4b8c-a325-577d5b3cc7c8","alterId":"0","tls":false,"skip-cert-verify":true,"network":"ws","ws-opts":{"path":"/vless","headers":{"host":"168.110.63.247"}}} - {"name":"SiNAVM | VMESS | #24","type":"vmess","server":"152.67.8.205","port":80,"cipher":"auto","uuid":"9db4c708-aef8-4359-821b-38e47990be0d","alterId":0,"tls":false,"skip-cert-verify":true,"network":"ws","ws-opts":{"path":"/","headers":{"host":""}}} proxy-groups: - name: MANUAL type: select proxies: - URL-TEST - FALLBACK - 'SiNAVM | VMESS | #4' - 'SiNAVM | VMESS | #5' - 'SiNAVM | VMESS | #7' - 'SiNAVM | VMESS | #8' - 'SiNAVM | VMESS | #11' - 'SiNAVM | VMESS | #12' - 'SiNAVM | VMESS | #13' - 'SiNAVM | VMESS | #16' - 'SiNAVM | VMESS | #18' - 'SiNAVM | VMESS | #21' - 'SiNAVM | VMESS | #22' - 'SiNAVM | VMESS | #24' - name: URL-TEST type: url-test url: http://cp.cloudflare.com/ interval: 60 tolerance: 50 proxies: - 'SiNAVM | VMESS | #4' - 'SiNAVM | VMESS | #5' - 'SiNAVM | VMESS | #7' - 'SiNAVM | VMESS | #8' - 'SiNAVM | VMESS | #11' - 'SiNAVM | VMESS | #12' - 'SiNAVM | VMESS | #13' - 'SiNAVM | VMESS | #16' - 'SiNAVM | VMESS | #18' - 'SiNAVM | VMESS | #21' - 'SiNAVM | VMESS | #22' - 'SiNAVM | VMESS | #24' - name: FALLBACK type: fallback url: http://cp.cloudflare.com/ interval: 60 proxies: - 'SiNAVM | VMESS | #4' - 'SiNAVM | VMESS | #5' - 'SiNAVM | VMESS | #7' - 'SiNAVM | VMESS | #8' - 'SiNAVM | VMESS | #11' - 'SiNAVM | VMESS | #12' - 'SiNAVM | VMESS | #13' - 'SiNAVM | VMESS | #16' - 'SiNAVM | VMESS | #18' - 'SiNAVM | VMESS | #21' - 'SiNAVM | VMESS | #22' - 'SiNAVM | VMESS | #24' rule-providers: ir: {type: http, format: text, behavior: domain, path: ./ruleset/ir.txt, url: https://github.com/chocolate4u/Iran-clash-rules/releases/latest/download/ir.txt, interval: 86400} ads: {type: http, format: text, behavior: domain, path: ./ruleset/ads.txt, url: https://github.com/chocolate4u/Iran-clash-rules/releases/latest/download/ads.txt, interval: 86400} ircidr: {type: http, format: text, behavior: ipcidr, path: ./ruleset/ircidr.txt, url: https://github.com/chocolate4u/Iran-clash-rules/releases/latest/download/ircidr.txt, interval: 86400} private: {type: http, format: text, behavior: ipcidr, path: ./ruleset/private.txt, url: https://github.com/chocolate4u/Iran-clash-rules/releases/latest/download/private.txt, interval: 86400} apps: {type: http, format: text, behavior: domain, path: ./ruleset/apps.txt, url: https://github.com/chocolate4u/Iran-clash-rules/releases/latest/download/apps.txt, interval: 86400} malware: {type: http, format: text, behavior: domain, path: ./ruleset/malware.txt, url: https://github.com/chocolate4u/Iran-clash-rules/releases/latest/download/malware.txt, interval: 86400} phishing: {type: http, format: text, behavior: domain, path: ./ruleset/phishing.txt, url: https://github.com/chocolate4u/Iran-clash-rules/releases/latest/download/phishing.txt, interval: 86400} cryptominers: {type: http, format: text, behavior: domain, path: ./ruleset/cryptominers.txt, url: https://github.com/chocolate4u/Iran-clash-rules/releases/latest/download/cryptominers.txt, interval: 86400} rules: - IP-CIDR,127.0.0.1/32,DIRECT,no-resolve - IP-CIDR,198.18.0.1/16,DIRECT,no-resolve - IP-CIDR,28.0.0.1/8,DIRECT,no-resolve - IP-CIDR6,::1/128,DIRECT,no-resolve - DOMAIN-SUFFIX,local,DIRECT - DOMAIN-SUFFIX,ip6-localhost,DIRECT - DOMAIN-SUFFIX,ip6-loopback,DIRECT - DOMAIN-SUFFIX,lan,DIRECT - DOMAIN-SUFFIX,localhost,DIRECT - DOMAIN-SUFFIX,ir,DIRECT - DOMAIN,clash.razord.top,DIRECT - DOMAIN,yacd.haishan.me,DIRECT - DOMAIN,yacd.metacubex.one,DIRECT - DOMAIN,clash.metacubex.one,DIRECT - RULE-SET,ads,REJECT - RULE-SET,malware,REJECT - RULE-SET,phishing,REJECT - RULE-SET,cryptominers,REJECT - RULE-SET,private,DIRECT - RULE-SET,apps,DIRECT - RULE-SET,ir,DIRECT - RULE-SET,ircidr,DIRECT - MATCH,MANUAL