mixed-port: 7890 allow-lan: true tcp-concurrent: true enable-process: true find-process-mode: always global-client-fingerprint: chrome mode: rule log-level: error ## silent/error/warning/info/debug ipv6: true external-controller: 127.0.0.1:9090 profile: store-selected: true ## It's better to default to "auto" every time it restarts. store-fake-ip: true #tun: #enable: true #stack: system ## system/lwip/gvisor #dns-hijack: #- 0.0.0.0:53 #auto-detect-interface: true #auto-route: true #mtu: 9000 #strict_route: true dns: enable: true #listen: 127.0.0.1:53 ## Or 0.0.0.0:53 for LAN. ipv6: true prefer-h3: true default-nameserver: - '127.0.0.1' - '1.1.1.1' enhanced-mode: fake-ip use-hosts: true nameserver: - '127.0.0.1' - '1.1.1.1' fallback: - "https://1.1.1.1/dns-query" - "https://8.8.8.8/dns-query" - "https://9.9.9.9/dns-query" - "https://rubyfish.cn/dns-query" fallback-filter: geoip: false ipcidr: - '0.0.0.0/8' - '10.0.0.0/8' - '100.64.0.0/10' - '127.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/15' - '198.51.100.0/24' - '203.0.113.0/24' - '224.0.0.0/3' - '240.0.0.0/4' - '::1/128' - '64:ff9b:1::/48' - 'fc00::/7' - 'fe80::/10' proxies: - {"name":"Replit-01","type":"vmess","server":"ip.myfreendns4.tk","port":443,"uuid":"0ce55de9-1235-4020-8921-407c8f54f208","alterId":0,"tls":true,"cipher":"auto","skip-cert-verify":true,"servername":"rep.myv2rservice.tk","network":"ws","ws-opts":{"path":"/vm","headers":{"host":"rep.myv2rservice.tk"}}} - {"name":"Replit-02","type":"vmess","server":"api.myfreendns4.tk","port":443,"uuid":"0ce55de9-1235-4020-8921-407c8f54f208","alterId":0,"tls":true,"cipher":"auto","skip-cert-verify":true,"servername":"rep.myv2rservice.tk","network":"ws","ws-opts":{"path":"/vm","headers":{"host":"rep.myv2rservice.tk"}}} - {"name":"FreeNode-Lille","type":"vmess","server":"ip.myfreendns4.tk","port":443,"uuid":"AE69062A-8DA4-4C19-AD61-431120ED6375","alterId":0,"tls":true,"cipher":"auto","skip-cert-verify":true,"servername":"Lille.kotick.site","network":"ws","ws-opts":{"path":"/speedtest","headers":{"host":"Lille.kotick.site"}}} - {"name":"FreeNode-Amsterdam","type":"vmess","server":"ip.myfreendns4.tk","port":443,"uuid":"AE69062A-8DA4-4C19-AD61-431120ED6375","alterId":0,"tls":true,"cipher":"auto","skip-cert-verify":true,"servername":"Amsterdam.kotick.site","network":"ws","ws-opts":{"path":"/speedtest","headers":{"host":"Amsterdam.kotick.site"}}} - {"name":"FreeNode-Dusseldorf","type":"vmess","server":"ip.myfreendns4.tk","port":443,"uuid":"AE69062A-8DA4-4C19-AD61-431120ED6375","alterId":0,"tls":true,"cipher":"auto","skip-cert-verify":true,"servername":"Dusseldorf.kotick.site","network":"ws","ws-opts":{"path":"/speedtest","headers":{"host":"Dusseldorf.kotick.site"}}} - {"name":"FreeNode-Kansas","type":"vmess","server":"ip.myfreendns4.tk","port":443,"uuid":"AE69062A-8DA4-4C19-AD61-431120ED6375","alterId":0,"tls":true,"cipher":"auto","skip-cert-verify":true,"servername":"Kansas.kotick.site","network":"ws","ws-opts":{"path":"/speedtest","headers":{"host":"Kansas.kotick.site"}}} - {"name":"codesandbox","type":"vmess","server":"ip.myfreendns4.tk","port":443,"uuid":"119951a9-f73a-436e-8fe6-3a520752dac8","alterId":0,"tls":true,"cipher":"auto","skip-cert-verify":true,"servername":"gq1ops-8080.csb.app","network":"ws","ws-opts":{"path":"/vm","headers":{"host":"gq1ops-8080.csb.app"}}} - {"name":"back4app","type":"vmess","server":"ip.myfreendns4.tk","port":443,"uuid":"12cc9fcd-6b70-4f1b-b914-e523d87801a5","alterId":0,"tls":true,"cipher":"auto","skip-cert-verify":true,"servername":"sixth-conclusions-constitution-nvidia.trycloudflare.com","network":"ws","ws-opts":{"path":"/vmess?ed=2048","headers":{"host":"sixth-conclusions-constitution-nvidia.trycloudflare.com"}}} - {"name":"ss-back4app","type":"ss","server":"ip.myfreendns4.tk","port":443,"password":"12cc9fcd-6b70-4f1b-b914-e523d87801a5","alterId":0,"tls":true,"cipher":"chacha20-ietf-poly1305","skip-cert-verify":true,"servername":"sixth-conclusions-constitution-nvidia.trycloudflare.com","network":"ws","ws-opts":{"path":"/vmess?ed=2048","headers":{"host":"sixth-conclusions-constitution-nvidia.trycloudflare.com"}}} - {"name":"Doprax-1","type":"vmess","server":"ip.myfreendns4.tk","port":443,"uuid":"309c5a3d-6428-4bf5-88a8-e44d10c1c830","alterId":0,"tls":true,"cipher":"auto","skip-cert-verify":true,"servername":"dop.myfreendns4.tk","network":"ws","ws-opts":{"path":"/309c5a3d-6428-4bf5-88a8-e44d10c1c830-vm","headers":{"host":"dop.myfreendns4.tk"}}} - {"name":"Doprax-2","type":"vmess","server":"ip.myfreendns4.tk","port":443,"uuid":"83fa7c1d-8163-4207-a307-c774e4457bd5","alterId":0,"tls":true,"cipher":"auto","skip-cert-verify":true,"servername":"dop2.myfreendns4.tk","network":"ws","ws-opts":{"path":"/83fa7c1d-8163-4207-a307-c774e4457bd5-vm","headers":{"host":"dop2.myfreendns4.tk"}}} - {"name":"Doprax-3","type":"vmess","server":"ip.myfreendns4.tk","port":443,"uuid":"83fa7c1d-8163-4207-a307-c774e4457bd5","alterId":0,"tls":true,"cipher":"auto","skip-cert-verify":true,"servername":"dop3.myfreendns4.tk","network":"ws","ws-opts":{"path":"/83fa7c1d-8163-4207-a307-c774e4457bd5-vm","headers":{"host":"dop3.myfreendns4.tk"}}} proxy-groups: - name: global type: select proxies: - auto - manual - mysub - name: manual type: select use: - aggregator - name: auto type: url-test #filter: "🏁" #filter: "🇮🇷" #filter: "🇺🇸|🇮🇷|🇬🇧|🇰🇷|🇩🇪|🇮🇹|🇫🇷|🇯🇵|🏁|🇨🇦|🇦🇺|🇷🇺|🇹🇷|🇳🇱|🇨🇿" use: - aggregator - name: mysub type: url-test tolerance: 300 url: 'http://detectportal.firefox.com/success.txt' interval: 30 lazy: false proxies: - Replit-01 - Replit-02 - FreeNode-Lille - FreeNode-Amsterdam - FreeNode-Dusseldorf - FreeNode-Kansas - codesandbox - back4app - ss-back4app - Doprax-1 - Doprax-2 - Doprax-3 proxy-providers: aggregator: type: http url: "https://raw.githubusercontent.com/mahdibland/SSAggregator/master/sub/sub_merge_yaml.yml" interval: 86400 filter: "🇺🇸|🇮🇷|🇬🇧|🇰🇷|🇩🇪|🇮🇹|🇫🇷|🇯🇵|🇨🇦|🇷🇺|🇹🇷|🇳🇱|🇨🇿" path: ./providers/aggregator.yaml health-check: enable: true interval: 30 lazy: false url: "http://detectportal.firefox.com/success.txt" #url: "http://detectportal.firefox.com/success.txt" rule-providers: iran_other: type: http format: text behavior: domain url: "https://github.com/bootmortis/iran-hosted-domains/releases/latest/download/clash_rules_other.txt" path: ./ruleset/iran_other.txt interval: 432000 iran_ads: type: http format: text behavior: domain url: "https://github.com/bootmortis/iran-hosted-domains/releases/latest/download/clash_rules_ads.txt" path: ./ruleset/iran_ads.txt interval: 432000 rules: - RULE-SET,iran_ads,REJECT - DOMAIN-SUFFIX,ir,DIRECT - RULE-SET,iran_other,DIRECT - GEOIP,private,DIRECT,no-resolve ## Loopback and LAN IPs - GEOIP,IR,DIRECT ## Check "provider-meta-cn.yml" for China's config. - MATCH,global