#clash ipv6: true mixed-port: 10890 allow-lan: true geodata-loader: standard find-process-mode: strict unified-delay: true sniffer: enable: true force-dns-mapping: true parse-pure-ip: true override-destination: true sniff: HTTP: ports: [80, 2052-2096, 8080-8880] TLS: ports: [443, 8443, 2052-2096] QUIC: ports: [443, 8443, 2052-2096] #force-domain: skip-domain: [Mijia Cloud] dns: enable: true ipv6: true default-nameserver: - 223.5.5.5 enhanced-mode: redir-host fake-ip-range: 28.0.0.1/8 fake-ip-filter: - "*" - "+.lan" - "+.local" use-hosts: true nameserver: ['https://223.5.5.5/dns-query'] fallback: ['https://doh.bh8gcj.top/dns-query','https://dns.artikel10.org/dns-query'] nameserver-policy: "geosite:cn,private": - https://223.5.5.5/dns-query "geosite:geolocation-!cn": - "https://doh1.bh8gcj.top/dns-query" - "https://dns.cloudflare.com/dns-query" proxies: - name: "直连" type: direct udp: true proxy-groups: - {name: 默认, type: select, proxies: [自动, 直连, 香港, 台湾, 日本, 新加坡, 美国, 其它, 手动1, 手动2, 手动3, 手动4]} - {name: 国内, type: select, proxies: [直连, 自动, 默认, 香港, 台湾, 日本, 新加坡, 美国, 其它, 全部节点]} - {name: Google, type: select, proxies: [默认, 自动, 香港, 台湾, 日本, 新加坡, 美国, 其它, 全部节点, 手动1, 手动2, 手动3, 手动4]} - {name: Microsoft, type: select, proxies: [默认, 自动, 香港, 台湾, 日本, 新加坡, 美国, 其它, 全部节点, 手动1, 手动2, 手动3, 手动4]} - {name: Apple, type: select, proxies: [默认, 自动, 香港, 台湾, 日本, 新加坡, 美国, 其它, 全部节点, 手动1, 手动2, 手动3, 手动4]} - {name: Telegram, type: select, proxies: [默认, 自动, 香港, 台湾, 日本, 新加坡, 美国, 其它, 全部节点, 手动1, 手动2, 手动3, 手动4]} - {name: 流梅体, type: select, include-all-providers: true, filter: "(?i).*NF.*"} - {name: AI, type: select, proxies: [默认, 自动, 香港, 台湾, 日本, 新加坡, 美国, 其它, 全部节点, 手动1, 手动2, 手动3, 手动4]} - {name: 海外游戏, type: select, proxies: [游戏首选,游戏备选]} - {name: 其他, type: select, proxies: [默认, 自动, 香港, 台湾, 日本, 新加坡, 美国, 其它, 全部节点, 手动1, 手动2, 手动3]} #地区分组 - {name: 香港, type: select , include-all-providers: true, filter: "(?i)(港|hk|hongkong|hong kong)(?!.*专线)"} - {name: 台湾, type: select , include-all-providers: true, filter: "(?i)台|tw|taiwan"} - {name: 日本, type: select , include-all-providers: true, filter: "(?i)日|jp|japan"} - {name: 美国, type: select , include-all-providers: true, filter: "(?i)美|us|unitedstates|united states"} - {name: 新加坡, type: select , include-all-providers: true, filter: "(?i)(新|sg|singapore)"} - {name: 其它, type: select , include-all-providers: true, filter: "(?i)^(?!.*(?:🇭🇰|🇯🇵|🇺🇸|🇸🇬|🇨🇳|港|hk|hongkong|台|tw|taiwan|日|jp|japan|新|sg|singapore|美|us|unitedstates)).*"} #特殊分组 - {name: 游戏首选, type: select, include-all-providers: true, filter: ".*专线.*"} - {name: 游戏备选, type: select, include-all-providers: true, filter: "^(?i)(?!.*(专线|冷门|直连)).*$"} - {name: 全部节点, type: select , include-all-providers: true} - {name: 手动1, type: select , include-all-providers: true, filter: "^(?!.*专线).*$"} - {name: 手动2, type: select , include-all-providers: true, filter: "^(?!.*专线).*$"} - {name: 手动3, type: select , include-all-providers: true, filter: "^(?!.*专线).*$"} - {name: 手动4, type: select, include-all-providers: true, filter: "^(?!.*专线).*$"} - {name: 自动, type: url-test, include-all-providers: true, tolerance: 10, filter: "^(?!.*专线).*$"} proxy-providers: 机场 { 蜂窝云 }: type: http url: https://api.fwcloud.xyz/link/fbGQpFxDbYfATWX1?clash=1 interval: 3600 override: additional-prefix: "蜂窝云 { " additional-suffix: " }" health-check: enable: true url: https://www.gstatic.com/generate_204 interval: 300 自作 { 日本02 [IPv4対応] }: url: https://sub1.raid10.top/a140fc02-3a9d-4d37-af22-7e11adcefd7b/config/node/japan2 type: http interval: 3600 health-check: enable: true url: https://www.gstatic.com/generate_204 interval: 300 override: additional-prefix: "日本02 {" additional-suffix: "}" 自作 { 日本02 [IPv6対応] }: url: https://sub1.raid10.top/a140fc02-3a9d-4d37-af22-7e11adcefd7b/config/node/japan2-ipv6 type: http interval: 3600 health-check: enable: true url: https://www.gstatic.com/generate_204 interval: 300 override: additional-prefix: "日本02[IPv6] {" additional-suffix: "}" 自作 { 日本01 [IPv4対応] }: url: https://sub1.raid10.top/a140fc02-3a9d-4d37-af22-7e11adcefd7b/config/node/japan1 type: http interval: 3600 health-check: enable: true url: https://www.gstatic.com/generate_204 interval: 300 override: additional-prefix: "日本01 {" additional-suffix: "}" 自作 { 日本01 [IPv6対応] }: url: https://sub1.raid10.top/a140fc02-3a9d-4d37-af22-7e11adcefd7b/config/node/japan1-ipv6 type: http interval: 3600 health-check: enable: true url: https://www.gstatic.com/generate_204 interval: 300 override: additional-prefix: "日本01[IPv6] {" additional-suffix: "}" 备用 { 日本01[备用订阅]}: url: https://sub2.bh8gcj.top/a140fc02-3a9d-4d37-af22-7e11adcefd7b/backup type: http interval: 3600 health-check: enable: true url: https://www.gstatic.com/generate_204 interval: 300 override: additional-prefix: "日本01[备用] {" additional-suffix: "}" rules: - GEOIP,lan,直连,no-resolve - RULE-SET,sb,REJECT-DROP - RULE-SET,match,默认 - DOMAIN-KEYWORD,autopatchcn,国内 - DOMAIN-KEYWORD,autopatchhk,默认 - RULE-SET,ai,AI - RULE-SET,netflix,流梅体 - GEOSITE,category-ads-all,REJECT - DOMAIN-KEYWORD,adobe,REJECT - GEOSITE,steam@cn,国内 - RULE-SET,google_domain,Google - RULE-SET,google_ip,Google - RULE-SET,microsoft,Microsoft - RULE-SET,apple,Apple - RULE-SET,hoyoverse,默认 - RULE-SET,hoyoverse-game,海外游戏 - RULE-SET,telegram,Telegram - RULE-SET,geolocation-!cn,其他 - RULE-SET,cn_domain,国内 - RULE-SET,cn_ip,国内 - MATCH,其他 rule-providers: cn_domain: url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/cn.yaml" type: http interval: 86400 behavior: domain format: yaml cn_ip: url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/cn.yaml" type: http interval: 86400 behavior: ipcidr format: yaml private: url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/private.yaml" type: http interval: 86400 behavior: domain format: yaml geolocation-!cn: url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/geolocation-!cn.yaml" type: http interval: 86400 behavior: domain format: yaml google_domain: url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/google.yaml" type: http interval: 86400 behavior: domain format: yaml google_ip: url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/google.yaml" type: http interval: 86400 behavior: ipcidr format: yaml telegram: url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/telegram.yaml" type: http interval: 86400 behavior: ipcidr format: yaml microsoft: url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/microsoft.yaml" type: http behavior: domain format: yaml apple: url: "https://github.com/MetaCubeX/meta-rules-dat/raw/meta/geo/geosite/apple.yaml" type: http interval: 86400 behavior: domain format: yaml mihoyo: #米哈国服 url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/mihoyo-cn.yaml" type: http interval: 86400 behavior: domain format: yaml hoyoverse: #米哈国际服 url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/hoyoverse.yaml" type: http interval: 86400 behavior: domain format: yaml hoyoverse-game: #米哈国际服-游戏 type: http interval: 86400 behavior: ipcidr format: yaml url: "https://raw.githubusercontent.com/Raid10Without1/clash-rules/main/hoyoverse-game.yaml" ai: #各种人工智能的匹配规则 type: http interval: 86400 behavior: domain format: yaml url: "https://raw.githubusercontent.com/Raid10Without1/clash-rules/main/AI.yaml" sb: #屏蔽一些乱七八糟的东西 type: http interval: 86400 behavior: domain format: yaml url: "https://raw.githubusercontent.com/Raid10Without1/clash-rules/main/sb.yaml" match: type: http interval: 86400 behavior: domain format: yaml url: "https://raw.githubusercontent.com/Raid10Without1/clash-rules/main/match.yaml" netflix: type: http interval: 86400 behavior: classical format: yaml url: "https://raw.githubusercontent.com/Raid10Without1/clash-rules/main/Netflix.yaml"