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:
  geolocation-cn:
    type: http
    format: mrs
    behavior: domain
    url: >-
      https://gh.sageer.me/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/geolocation-cn.mrs
    path: ./ruleset/geolocation-cn.mrs
    interval: 86400
  geolocation-!cn:
    type: http
    format: mrs
    behavior: domain
    url: >-
      https://gh.sageer.me/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/geolocation-!cn.mrs
    path: ./ruleset/geolocation-!cn.mrs
    interval: 86400
  private:
    type: http
    format: mrs
    behavior: ipcidr
    url: >-
      https://gh.sageer.me/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geoip/private.mrs
    path: ./ruleset/private.mrs
    interval: 86400
  cn:
    type: http
    format: mrs
    behavior: ipcidr
    url: >-
      https://gh.sageer.me/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geoip/cn.mrs
    path: ./ruleset/cn.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
proxies:
  - name: VLESS-REALITY-Phone
    type: vless
    server: 38.182.101.126
    port: 42616
    uuid: 0f24d0fe-fc93-44e4-9684-d87f6d113ed0
    tls: true
    client-fingerprint: chrome
    servername: www.amazon.com
    network: tcp
    reality-opts:
      public-key: B4AJKSUMYa8qDY1EKWwc3TjQ5yiq_3lG_EZrWnp1B0A
    tfo: false
    skip-cert-verify: false
    flow: xtls-rprx-vision
  - name: VLESS-REALITY-MBP
    type: vless
    server: 38.182.101.126
    port: 42617
    uuid: 9212539c-7be1-4ac7-876d-5fb45cf44a0a
    tls: true
    client-fingerprint: chrome
    servername: www.ebay.com
    network: tcp
    reality-opts:
      public-key: eK_w61dGB-1E4qTj_lo5VHewkZ_p5UJ04Tmj-r3EImA
    tfo: false
    skip-cert-verify: false
    flow: xtls-rprx-vision
  - name: VLESS-REALITY-MM
    type: vless
    server: 38.182.101.126
    port: 42618
    uuid: 0629b0c6-cb82-482f-bf6f-4deb404cb7b7
    tls: true
    client-fingerprint: chrome
    servername: aws.amazon.com
    network: tcp
    reality-opts:
      public-key: 1b5XXTtAKh1Lqdz09lkhw4vE6DiqdSlVrgwMupy3MQM
    tfo: false
    skip-cert-verify: false
    flow: xtls-rprx-vision
  - name: Hysteria2-Phone
    type: hysteria2
    server: 38.182.101.126
    port: 10001
    password: f88353ae-f3ff-4534-a58d-70233e321e46
    auth: f88353ae-f3ff-4534-a58d-70233e321e46
    skip-cert-verify: true
  - name: Hysteria2-MBP
    type: hysteria2
    server: 38.182.101.126
    port: 10002
    password: bb42a9f4-e9ad-459b-863e-a3bbe34287a4
    auth: bb42a9f4-e9ad-459b-863e-a3bbe34287a4
    skip-cert-verify: true
  - name: Hysteria2-MM
    type: hysteria2
    server: 38.182.101.126
    port: 10003
    password: 456357e6-5cbb-43c6-b69d-3a348fd8e633
    auth: 456357e6-5cbb-43c6-b69d-3a348fd8e633
    skip-cert-verify: true
proxy-groups:
  - type: select
    name: 🚀 节点选择
    proxies:
      - DIRECT
      - REJECT
      - ⚡ 自动选择
      - VLESS-REALITY-Phone
      - VLESS-REALITY-MBP
      - VLESS-REALITY-MM
      - Hysteria2-Phone
      - Hysteria2-MBP
      - Hysteria2-MM
  - name: ⚡ 自动选择
    type: url-test
    proxies:
      - VLESS-REALITY-Phone
      - VLESS-REALITY-MBP
      - VLESS-REALITY-MM
      - Hysteria2-Phone
      - Hysteria2-MBP
      - Hysteria2-MM
    url: https://www.gstatic.com/generate_204
    interval: 300
    lazy: false
  - type: select
    name: 🏠 私有网络
    proxies:
      - 🚀 节点选择
      - DIRECT
      - REJECT
      - ⚡ 自动选择
      - VLESS-REALITY-Phone
      - VLESS-REALITY-MBP
      - VLESS-REALITY-MM
      - Hysteria2-Phone
      - Hysteria2-MBP
      - Hysteria2-MM
  - type: select
    name: 🔒 国内服务
    proxies:
      - 🚀 节点选择
      - DIRECT
      - REJECT
      - ⚡ 自动选择
      - VLESS-REALITY-Phone
      - VLESS-REALITY-MBP
      - VLESS-REALITY-MM
      - Hysteria2-Phone
      - Hysteria2-MBP
      - Hysteria2-MM
  - type: select
    name: 🌐 非中国
    proxies:
      - 🚀 节点选择
      - DIRECT
      - REJECT
      - ⚡ 自动选择
      - VLESS-REALITY-Phone
      - VLESS-REALITY-MBP
      - VLESS-REALITY-MM
      - Hysteria2-Phone
      - Hysteria2-MBP
      - Hysteria2-MM
  - type: select
    name: 🐟 漏网之鱼
    proxies:
      - 🚀 节点选择
      - DIRECT
      - REJECT
      - ⚡ 自动选择
      - VLESS-REALITY-Phone
      - VLESS-REALITY-MBP
      - VLESS-REALITY-MM
      - Hysteria2-Phone
      - Hysteria2-MBP
      - Hysteria2-MM
rules:
  - RULE-SET,private,🏠 私有网络,no-resolve
  - RULE-SET,geolocation-cn,🔒 国内服务
  - RULE-SET,cn,🔒 国内服务,no-resolve
  - RULE-SET,geolocation-!cn,🌐 非中国
  - MATCH,🐟 漏网之鱼
