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-vless-1","type":"vless","server":"it.quattro-tech.ru","port":443,"udp":true,"uuid":"ab3aece1-4719-4093-826e-d320f64f6a25","tls":true,"network":"tcp","client-fingerprint":null,"servername":"it.quattro","flow":"xtls-rprx-vision","reality-opts":{"public-key":"10rVZPoOUP1TlQviIAsQ","short-id":"43dcff53849b81e6"}} - {"name":"@SiNAVM-vless-2","type":"vless","server":"italy.pocomacho.ru","port":443,"udp":true,"uuid":"678bbdc1-7307-4cf2-bec1-bcdbd8efdbe5","tls":true,"network":"tcp","client-fingerprint":"chrome","servername":"www.yahoo.com","flow":"xtls-rprx-vision","reality-opts":{"public-key":"2gECIib","short-id":"d909d7cf5fcca5a1"}} - {"name":"@SiNAVM-vless-3","type":"vless","server":"eng30.digitunnel.org","port":443,"udp":true,"uuid":"70162051-6706-4972-ae6f-202742f8e32c","tls":true,"network":"tcp","client-fingerprint":"chrome","servername":"www.abingdon.org.uk","flow":"xtls-rprx-vision","reality-opts":{"public-key":"BhTJ3phnq"}} - {"name":"@SiNAVM-vless-4","type":"vless","server":"62.60.233.181","port":8443,"udp":true,"uuid":"4f09c421-f289-4e4e-8d70-a96582376011","tls":true,"network":"tcp","client-fingerprint":"chrome","servername":"stackoverflow.com","flow":"xtls-rprx-vision","reality-opts":{"public-key":"n","short-id":"21aeac0f2a"}} - {"name":"@SiNAVM-vless-24","type":"vless","server":"216.133.149.139","port":23581,"udp":true,"uuid":"b5471668-94dc-4ea5-ae97-3bb9dabcd2a9","tls":true,"network":"raw","client-fingerprint":"chrome","servername":"www.cloudflare.com","flow":"xtls-rprx-vision","reality-opts":{"public-key":"EOYTqph"}} - {"name":"@SiNAVM-vless-26","type":"vless","server":"45.88.182.24","port":25380,"udp":true,"uuid":"237120d4-6f8e-47de-b50c-2c8218a720df","tls":true,"network":"raw","client-fingerprint":"chrome","servername":"yahoo.com","reality-opts":{"public-key":"G7LvWyxJWO4f","short-id":"d6cd"}} - {"name":"rcLFldaPKHUC7NYm@217.170.194.222:13580/?type=tcp&host=638987378208894304.sentra&path=/cahttingws#@SiNAVM-vless-42","type":"vless","server":"77.91.68.70","port":55983,"udp":true,"uuid":"f667a096-5231-4cfb-8759-92bb32473139","tls":true,"network":"tcp","client-fingerprint":"chrome","servername":"yahoo.com","flow":"xtls-rprx-vision","reality-opts":{"public-key":"m4ipEx1PUfb6F5Uv5Mwe5g34TzdNkG","short-id":"816473be23c2"}} - {"name":"@SiNAVM-vless-64","type":"vless","server":"t5ke2y93o.lsperfiuomlr4gn.lat","port":2052,"udp":true,"uuid":"2f60be6f-be0c-48b4-9772-b56f42b51ba1","tls":true,"network":"grpc","client-fingerprint":"chrome","servername":"web.eitaa.com","reality-opts":{"public-key":"TpEz8VPxZxx1E","short-id":"88d5eb50f7bd1cbd"}} - {"name":"@SiNAVM-vless-67","type":"vless","server":"64.188.70.0","port":443,"udp":true,"uuid":"cd79807f-bcef-46b8-93b6-229676a0c1a0","tls":true,"network":"tcp","client-fingerprint":"chrome","servername":"google.com","flow":"xtls-rprx-vision","reality-opts":{"public-key":"y","short-id":"89dbda1a1c9369"}} - {"name":"@SiNAVM-vless-82","type":"vless","server":"142.93.133.94","port":443,"udp":true,"uuid":"437d47c9-18b5-471f-b91d-8716f90ecef5","tls":true,"network":"grpc","client-fingerprint":"firefox","servername":"applepay.cdn","grpc-opts":{"grpc-service-name":"@GozargahVPN-@GozargahVPN-@GozargahVPN-@GozargahVPN-@GozargahVPN-@GozargahVPN-@GozargahVPN-@GozargahVPN-@GozargahVPN-@GozargahVPN-@GozargahVPN-@GozargahVPN-@GozargahVPN-@GozargahVPN-@GozargahVPN-@GozargahVPN-@GozargahVPN-@GozargahVPN-@GozargahVPN-@GozargahVPN-@GozargahVPN-@GozargahVPN-@GozargahVPN-@GozargahVPN-@GozargahVPN-@GozargahVPN-@GozargahVPN-@GozargahVPN"},"reality-opts":{"public-key":"QCnbjMlzSdZkUdwD2lFQ6N2EZJ8hi7wgND67f"}} - {"name":"@SiNAVM-vless-114","type":"vless","server":"91.98.155.177","port":14420,"udp":true,"uuid":"1066d253-ee38-47d8-a599-a431c7f658ee","tls":true,"network":"tcp","client-fingerprint":"firefox","servername":"refersion.com","reality-opts":{"public-key":"f2mZcxuMFBWHhxyy2MPA3E","short-id":"fecc0d646553f4b4"}} - {"name":"@SiNAVM-vless-120","type":"vless","server":"delilah.ns.cloudflare.com","port":443,"udp":true,"uuid":"53f0bca8-f170-4ef7-8031-c7d441189dbf","tls":true,"network":"tcp","client-fingerprint":"chrome","servername":"whatsapp.com","flow":"xtls-rprx-vision","reality-opts":{"public-key":"z4foBhautFXf7ZDsuvQiSVkyKj3UWWD1","short-id":"ffffffffff"}} - {"name":"@SiNAVM-vless-200","type":"vless","server":"tidehunter.fonixapp.org","port":54376,"udp":true,"uuid":"1bd7dd56-94c5-4e30-8d99-e1e40e1b84fa","tls":true,"network":"tcp","client-fingerprint":"chrome","servername":"smallpdf.com","flow":"xtls-rprx-vision","reality-opts":{"public-key":"fNizRKQ3b7EsnXk0","short-id":"1f86"}} - {"name":"@SiNAVM-vless-212","type":"vless","server":"helsinki.fonixapp.org","port":21105,"udp":true,"uuid":"11922402-df9e-4ead-ab6b-56c9b7362837","tls":true,"network":"tcp","client-fingerprint":"chrome","servername":"lowes.com","flow":"xtls-rprx-vision","reality-opts":{"public-key":"hvS624nh8B","short-id":"9e7234a45944"}} - {"name":"@SiNAVM-vless-213","type":"vless","server":"ilta-wzxrxkdhbjpnprhkkpplsjwawhssvollvxzdhqshiqckwdgrdm.orbnet.xyz","port":443,"udp":true,"uuid":"0e8a6896-ad90-4a3b-89a3-77d64aa409e2","tls":true,"network":"tcp","client-fingerprint":"chrome","servername":"i2pd.website","flow":"xtls-rprx-vision","reality-opts":{"public-key":"YVDo7U4O","short-id":"55e6af1a35e64a98"}} - {"name":"@SiNAVM-vless-217","type":"vless","server":"ru-nl01-vlr01.tcp-reset-club.net","port":443,"udp":true,"uuid":"06ff1742-a37d-4e2b-aa60-9571d9f7efdb","tls":true,"network":"tcp","client-fingerprint":"chrome","servername":"hls","flow":"xtls-rprx-vision","reality-opts":{"public-key":"mLmBhbVFfNuo2eUgBh6r9","short-id":"31"}} - {"name":"@SiNAVM-vless-218","type":"vless","server":"traxex.fonixapp.org","port":30295,"udp":true,"uuid":"06a0f312-d5a1-4a47-baef-91f367eefc8b","tls":true,"network":"tcp","client-fingerprint":"chrome","servername":"groww.in","flow":"xtls-rprx-vision","reality-opts":{"public-key":"ytFEE1Ae7cboXEsIhJt5ry8qv2hGZ41jAWyGhHjZXVo","short-id":"9d6aa524"}} - {"name":"@SiNAVM-vless-219","type":"vless","server":"traxex.fonixapp.org","port":30295,"udp":true,"uuid":"06a0f312-d5a1-4a47-baef-91f367eefc8b","tls":true,"network":"tcp","client-fingerprint":"chrome","servername":"groww.in","flow":"xtls-rprx-vision","reality-opts":{"public-key":"ytFEE1Ae7cboXEsIhJt5ry8qv2hGZ41jAWyGhHjZXVo","short-id":"9d6aa524"}} - {"name":"@SiNAVM-vless-220","type":"vless","server":"62.60.248.14","port":28485,"udp":true,"uuid":"031884db-e31b-4909-b83c-1dfbb84e7931","tls":true,"network":"grpc","client-fingerprint":"chrome","servername":"tgju.org","grpc-opts":{"grpc-service-name":"/@MdVpnSec----@MdVpnSec----@MdVpnSec----@MdVpnSec----@MdVpnSec----@MdVpnSec----@MdVpnSec----@MdVpnSec----@MdVpnSec----@MdVpnSec----@MdVpnSec----@MdVpnSec"},"reality-opts":{"public-key":"kP5lEpXBe5wbaSLOR6A9azX6kwMkfEk06bMkEpZxdSE","short-id":"dc"}} proxy-groups: - name: MANUAL type: select proxies: - URL-TEST - FALLBACK - '@SiNAVM-vless-1' - '@SiNAVM-vless-2' - '@SiNAVM-vless-3' - '@SiNAVM-vless-4' - '@SiNAVM-vless-24' - '@SiNAVM-vless-26' - 'rcLFldaPKHUC7NYm@217.170.194.222:13580/?type=tcp&host=638987378208894304.sentra&path=/cahttingws#@SiNAVM-vless-42' - '@SiNAVM-vless-64' - '@SiNAVM-vless-67' - '@SiNAVM-vless-82' - '@SiNAVM-vless-114' - '@SiNAVM-vless-120' - '@SiNAVM-vless-200' - '@SiNAVM-vless-212' - '@SiNAVM-vless-213' - '@SiNAVM-vless-217' - '@SiNAVM-vless-218' - '@SiNAVM-vless-219' - '@SiNAVM-vless-220' - name: URL-TEST type: url-test url: http://cp.cloudflare.com/ interval: 60 tolerance: 50 proxies: - '@SiNAVM-vless-1' - '@SiNAVM-vless-2' - '@SiNAVM-vless-3' - '@SiNAVM-vless-4' - '@SiNAVM-vless-24' - '@SiNAVM-vless-26' - 'rcLFldaPKHUC7NYm@217.170.194.222:13580/?type=tcp&host=638987378208894304.sentra&path=/cahttingws#@SiNAVM-vless-42' - '@SiNAVM-vless-64' - '@SiNAVM-vless-67' - '@SiNAVM-vless-82' - '@SiNAVM-vless-114' - '@SiNAVM-vless-120' - '@SiNAVM-vless-200' - '@SiNAVM-vless-212' - '@SiNAVM-vless-213' - '@SiNAVM-vless-217' - '@SiNAVM-vless-218' - '@SiNAVM-vless-219' - '@SiNAVM-vless-220' - name: FALLBACK type: fallback url: http://cp.cloudflare.com/ interval: 60 proxies: - '@SiNAVM-vless-1' - '@SiNAVM-vless-2' - '@SiNAVM-vless-3' - '@SiNAVM-vless-4' - '@SiNAVM-vless-24' - '@SiNAVM-vless-26' - 'rcLFldaPKHUC7NYm@217.170.194.222:13580/?type=tcp&host=638987378208894304.sentra&path=/cahttingws#@SiNAVM-vless-42' - '@SiNAVM-vless-64' - '@SiNAVM-vless-67' - '@SiNAVM-vless-82' - '@SiNAVM-vless-114' - '@SiNAVM-vless-120' - '@SiNAVM-vless-200' - '@SiNAVM-vless-212' - '@SiNAVM-vless-213' - '@SiNAVM-vless-217' - '@SiNAVM-vless-218' - '@SiNAVM-vless-219' - '@SiNAVM-vless-220' 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