log-level: warning
ipv6: true
unified-delay: true
tcp-concurrent: true
geox-url:
  geoip: https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip-lite.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-lite.mmdb
dns:
  enable: true
  ipv6: true
  default-nameserver:
    - tls://223.5.5.5
    - tcp://119.28.28.28
    - tcp://180.184.1.1
  enhanced-mode: fake-ip
  fake-ip-range: 198.18.0.1/16
  fake-ip-filter-mode: whitelist
  fake-ip-filter:
    - geosite:geolocation-!cn
  nameserver-policy:
    geosite:geolocation-cn,cn,private:
      - https://223.5.5.5/dns-query
      - https://dns.pub/dns-query
  nameserver:
    - https://azure.cloudflare-dns.com/dns-query
    - https://ns2.cloudflare-dns.com/dns-query
    - https://dns254.quad9.net/dns-query
  proxy-server-nameserver:
    - tls://223.5.5.5
    - tcp://119.28.28.28
    - tcp://180.184.1.1
proxies:
  - name: 华沙
    type: vless
    server: src.bbroot.com
    port: 443
    udp: true
    uuid: a1b2c3d4-e5f6-7890-1234-56789abcdef0
    tls: true
    network: ws
    ws-opts:
      v2ray-http-upgrade: true
    smux:
      enabled: true
      protocol: smux
      max-connections: 5
      min-streams: 2
  - name: 台北
    type: vless
    server: webs.bbroot.com
    port: 443
    udp: true
    uuid: a1b2c3d4-e5f6-7890-1234-56789abcdef0
    tls: true
    network: ws
    ws-opts:
      v2ray-http-upgrade: true
    smux:
      enabled: true
      protocol: smux
      max-connections: 5
      min-streams: 2
  - name: 洛杉矶
    type: vless
    server: gui.bbroot.com
    port: 443
    udp: true
    uuid: a1b2c3d4-e5f6-7890-1234-56789abcdef0
    tls: true
    network: ws
    ws-opts:
      v2ray-http-upgrade: true
    smux:
      enabled: true
      protocol: smux
      max-connections: 5
      min-streams: 2
  - name: 洛杉矶直连
    type: hysteria2
    server: 107.172.231.70
    ports: 50500-50504
    password: aggressive
    bbr-profile: aggressive
    obfs: salamander
    obfs-password: a1b2c3d4-e5f6-7890-1234-56789abcdef0
    skip-cert-verify: true
proxy-groups:
  - type: select
    name: 🚀 节点选择
    proxies:
      - ⚡ 自动选择
      - 华沙
      - 台北
      - 洛杉矶
      - 洛杉矶直连
      - DIRECT
      - REJECT
  - name: ⚡ 自动选择
    type: url-test
    proxies:
      - 华沙
      - 台北
      - 洛杉矶
      - 洛杉矶直连
    url: https://www.gstatic.com/generate_204
    interval: 300
    lazy: false
  - type: select
    name: 🛑 广告拦截
    proxies:
      - REJECT
      - 🚀 节点选择
      - 华沙
      - 台北
      - 洛杉矶
      - 洛杉矶直连
      - DIRECT
  - 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:
  - AND,((NETWORK,UDP),(DST-PORT,443),(NOT,((OR,((GEOSITE,geolocation-cn),(GEOSITE,cn),(GEOIP,CN,no-resolve)))))),REJECT
  - GEOSITE,category-ads-all,🛑 广告拦截
  - GEOSITE,category-ai-!cn,💬 AI 服务
  - GEOSITE,google,🔍 谷歌服务
  - GEOSITE,geolocation-cn,🔒 国内服务
  - GEOSITE,cn,🔒 国内服务
  - GEOSITE,github,🐱 Github
  - GEOSITE,gitlab,🐱 Github
  - GEOSITE,microsoft,Ⓜ️ 微软服务
  - GEOSITE,apple,🍏 苹果服务
  - GEOSITE,facebook,🌐 社交媒体
  - GEOSITE,instagram,🌐 社交媒体
  - GEOSITE,twitter,🌐 社交媒体
  - GEOSITE,tiktok,🌐 社交媒体
  - GEOSITE,linkedin,🌐 社交媒体
  - GEOSITE,steam,🎮 游戏平台
  - GEOSITE,epicgames,🎮 游戏平台
  - GEOSITE,ea,🎮 游戏平台
  - GEOSITE,ubisoft,🎮 游戏平台
  - GEOSITE,blizzard,🎮 游戏平台
  - GEOSITE,geolocation-!cn,🌐 非中国
  - GEOIP,google,🔍 谷歌服务,no-resolve
  - GEOIP,private,🏠 私有网络,no-resolve
  - GEOIP,cn,🔒 国内服务,no-resolve
  - GEOIP,telegram,🌐 社交媒体,no-resolve
  - MATCH,🐟 漏网之鱼
