port: 7890 socks-port: 7891 allow-lan: false mode: rule log-level: info geodata-mode: true geo-auto-update: true geodata-loader: standard geo-update-interval: 24 geox-url: geoip: https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip.dat geosite: https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geosite.dat mmdb: https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/country.mmdb asn: https://github.com/xishang0128/geoip/releases/download/latest/GeoLite2-ASN.mmdb rule-providers: category-ai-!cn: type: http format: mrs behavior: domain url: https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/category-ai-!cn.mrs path: ./ruleset/category-ai-!cn.mrs interval: 86400 youtube: type: http format: mrs behavior: domain url: https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/youtube.mrs path: ./ruleset/youtube.mrs interval: 86400 google: type: http format: mrs behavior: ipcidr url: https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geoip/google.mrs path: ./ruleset/google.mrs interval: 86400 github: type: http format: mrs behavior: domain url: https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/github.mrs path: ./ruleset/github.mrs interval: 86400 gitlab: type: http format: mrs behavior: domain url: https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/gitlab.mrs path: ./ruleset/gitlab.mrs interval: 86400 microsoft: type: http format: mrs behavior: domain url: https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/microsoft.mrs path: ./ruleset/microsoft.mrs interval: 86400 apple: type: http format: mrs behavior: domain url: https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/apple.mrs path: ./ruleset/apple.mrs interval: 86400 facebook: type: http format: mrs behavior: domain url: https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/facebook.mrs path: ./ruleset/facebook.mrs interval: 86400 instagram: type: http format: mrs behavior: domain url: https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/instagram.mrs path: ./ruleset/instagram.mrs interval: 86400 twitter: type: http format: mrs behavior: domain url: https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/twitter.mrs path: ./ruleset/twitter.mrs interval: 86400 tiktok: type: http format: mrs behavior: domain url: https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/tiktok.mrs path: ./ruleset/tiktok.mrs interval: 86400 linkedin: type: http format: mrs behavior: domain url: https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/linkedin.mrs path: ./ruleset/linkedin.mrs interval: 86400 netflix: type: http format: mrs behavior: domain url: https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/netflix.mrs path: ./ruleset/netflix.mrs interval: 86400 hulu: type: http format: mrs behavior: domain url: https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/hulu.mrs path: ./ruleset/hulu.mrs interval: 86400 disney: type: http format: mrs behavior: domain url: https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/disney.mrs path: ./ruleset/disney.mrs interval: 86400 hbo: type: http format: mrs behavior: domain url: https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/hbo.mrs path: ./ruleset/hbo.mrs interval: 86400 amazon: type: http format: mrs behavior: domain url: https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/amazon.mrs path: ./ruleset/amazon.mrs interval: 86400 bahamut: type: http format: mrs behavior: domain url: https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/bahamut.mrs path: ./ruleset/bahamut.mrs interval: 86400 steam: type: http format: mrs behavior: domain url: https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/steam.mrs path: ./ruleset/steam.mrs interval: 86400 epicgames: type: http format: mrs behavior: domain url: https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/epicgames.mrs path: ./ruleset/epicgames.mrs interval: 86400 ea: type: http format: mrs behavior: domain url: https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/ea.mrs path: ./ruleset/ea.mrs interval: 86400 ubisoft: type: http format: mrs behavior: domain url: https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/ubisoft.mrs path: ./ruleset/ubisoft.mrs interval: 86400 blizzard: type: http format: mrs behavior: domain url: https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/blizzard.mrs path: ./ruleset/blizzard.mrs interval: 86400 geolocation-!cn: type: http format: mrs behavior: domain url: https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/geolocation-!cn.mrs path: ./ruleset/geolocation-!cn.mrs interval: 86400 telegram: type: http format: mrs behavior: ipcidr url: https://gh-proxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geoip/telegram.mrs path: ./ruleset/telegram.mrs interval: 86400 dns: enable: true ipv6: true respect-rules: true enhanced-mode: fake-ip nameserver: - https://120.53.53.53/dns-query - https://223.5.5.5/dns-query proxy-server-nameserver: - https://120.53.53.53/dns-query - https://223.5.5.5/dns-query nameserver-policy: geosite:cn,private: - https://120.53.53.53/dns-query - https://223.5.5.5/dns-query geosite:geolocation-!cn: - https://dns.cloudflare.com/dns-query - https://dns.google/dns-query proxy-providers: wangcai: type: http url: "https://shz.al/~WangCai" path: ./providers/wangcai.yaml interval: 3600 # 每小时更新一次订阅 health-check: enable: true url: "https://www.gstatic.com/generate_204" interval: 300 override: skip-cert-verify: true udp: true proxy-groups: - name: ⚖️ 负载均衡-散列 type: load-balance strategy: consistent-hashing use: - wangcai url: https://www.gstatic.com/generate_204 interval: 300 lazy: false - name: ⚖️ 负载均衡-轮询 type: load-balance strategy: round-robin use: - wangcai url: https://www.gstatic.com/generate_204 interval: 300 lazy: false - name: 🚀 节点选择 type: select use: - wangcai proxies: - ⚡ 自动选择 - 🖐️ 手动切换 - ⚖️ 负载均衡-散列 - ⚖️ 负载均衡-轮询 - DIRECT - REJECT - name: ⚡ 自动选择 type: url-test use: - wangcai url: https://www.gstatic.com/generate_204 interval: 300 tolerance: 50 lazy: false - name: 🖐️ 手动切换 type: select use: - wangcai - type: select name: 💬 AI 服务 proxies: - 🚀 节点选择 - ⚡ 自动选择 - 🖐️ 手动切换 - ⚖️ 负载均衡-散列 - ⚖️ 负载均衡-轮询 - DIRECT - REJECT - type: select name: 📹 油管视频 proxies: - 🚀 节点选择 - ⚡ 自动选择 - 🖐️ 手动切换 - ⚖️ 负载均衡-散列 - ⚖️ 负载均衡-轮询 - DIRECT - REJECT - type: select name: 🔍 谷歌服务 proxies: - 🚀 节点选择 - ⚡ 自动选择 - 🖐️ 手动切换 - ⚖️ 负载均衡-散列 - ⚖️ 负载均衡-轮询 - DIRECT - REJECT - type: select name: 📲 电报消息 proxies: - 🚀 节点选择 - ⚡ 自动选择 - 🖐️ 手动切换 - ⚖️ 负载均衡-散列 - ⚖️ 负载均衡-轮询 - DIRECT - REJECT - type: select name: 🐱 Github proxies: - 🚀 节点选择 - ⚡ 自动选择 - 🖐️ 手动切换 - ⚖️ 负载均衡-散列 - ⚖️ 负载均衡-轮询 - DIRECT - REJECT - type: select name: Ⓜ️ 微软服务 proxies: - 🚀 节点选择 - ⚡ 自动选择 - 🖐️ 手动切换 - ⚖️ 负载均衡-散列 - ⚖️ 负载均衡-轮询 - DIRECT - REJECT - type: select name: 🍏 苹果服务 proxies: - 🚀 节点选择 - ⚡ 自动选择 - 🖐️ 手动切换 - ⚖️ 负载均衡-散列 - ⚖️ 负载均衡-轮询 - DIRECT - REJECT - type: select name: 🌐 社交媒体 proxies: - 🚀 节点选择 - ⚡ 自动选择 - 🖐️ 手动切换 - ⚖️ 负载均衡-散列 - ⚖️ 负载均衡-轮询 - DIRECT - REJECT - type: select name: 🎬 流媒体 proxies: - 🚀 节点选择 - ⚡ 自动选择 - 🖐️ 手动切换 - ⚖️ 负载均衡-散列 - ⚖️ 负载均衡-轮询 - DIRECT - REJECT - type: select name: 🎮 游戏平台 proxies: - 🚀 节点选择 - ⚡ 自动选择 - 🖐️ 手动切换 - ⚖️ 负载均衡-散列 - ⚖️ 负载均衡-轮询 - DIRECT - REJECT - type: select name: 🐟 漏网之鱼 proxies: - 🚀 节点选择 - ⚡ 自动选择 - 🖐️ 手动切换 - ⚖️ 负载均衡-散列 - ⚖️ 负载均衡-轮询 - DIRECT - REJECT rules: - RULE-SET,category-ai-!cn,💬 AI 服务 - RULE-SET,youtube,📹 油管视频 - RULE-SET,google,🔍 谷歌服务 - RULE-SET,github,🐱 Github - RULE-SET,gitlab,🐱 Github - RULE-SET,microsoft,Ⓜ️ 微软服务 - RULE-SET,apple,🍏 苹果服务 - RULE-SET,facebook,🌐 社交媒体 - RULE-SET,instagram,🌐 社交媒体 - RULE-SET,twitter,🌐 社交媒体 - RULE-SET,tiktok,🌐 社交媒体 - RULE-SET,linkedin,🌐 社交媒体 - RULE-SET,netflix,🎬 流媒体 - RULE-SET,hulu,🎬 流媒体 - RULE-SET,disney,🎬 流媒体 - RULE-SET,hbo,🎬 流媒体 - RULE-SET,amazon,🎬 流媒体 - RULE-SET,bahamut,🎬 流媒体 - RULE-SET,steam,🎮 游戏平台 - RULE-SET,epicgames,🎮 游戏平台 - RULE-SET,ea,🎮 游戏平台 - RULE-SET,ubisoft,🎮 游戏平台 - RULE-SET,blizzard,🎮 游戏平台 - RULE-SET,google,🔍 谷歌服务,no-resolve - RULE-SET,telegram,📲 电报消息,no-resolve - MATCH,🐟 漏网之鱼