mixed-port: 7890
socks-port: 7891
port: 7892
allow-lan: true
mode: rule
log-level: info
tun:
  enable: true
  stack: gvisor
  dns-hijack:
    - 0.0.0.0:53
  auto-route: true
  auto-detect-interface: true
external-controller: 0.0.0.0:9090
external-ui: ui
external-ui-url: "https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip"
dns:
  enable: true
  listen: 127.0.0.1:1053
  enhanced-mode: fake-ip
  fake-ip-range: 198.18.0.1/16
  nameserver:
  - 223.5.5.5
  - 119.29.29.29
  fallback:
  - 8.8.8.8
  - 1.1.1.1
proxy-providers:
  mysub:
    type: http
    url: "https://sub.murphyweb.cfd/game/hot/?token=eede96592df7d64f3e147b81832d98c2"
    interval: 3600
    path: ./providers/mysub.yaml
    health-check:
      enable: true
      url: https://www.gstatic.com/generate_204
      interval: 300
proxy-groups:
- name: Proxy
  type: select
  use:
  - mysub
  proxies:
  - AUTO
  - DIRECT
- name: AUTO
  type: url-test
  use:
  - mysub
  url: https://www.gstatic.com/generate_204
  interval: 300
- name: Streaming
  type: select
  use:
  - mysub
  proxies:
  - AUTO
  - DIRECT
rules:
- DOMAIN-SUFFIX,google.com,Proxy
- DOMAIN-SUFFIX,github.com,Proxy
- DOMAIN-SUFFIX,github.io,Proxy
- DOMAIN-SUFFIX,githubusercontent.com,Proxy
- DOMAIN-SUFFIX,youtube.com,Streaming
- DOMAIN-SUFFIX,ytimg.com,Streaming
- DOMAIN-SUFFIX,netflix.com,Streaming
- DOMAIN-SUFFIX,nflxvideo.net,Streaming
- DOMAIN-SUFFIX,twitter.com,Proxy
- DOMAIN-SUFFIX,x.com,Proxy
- DOMAIN-SUFFIX,telegram.org,Proxy
- DOMAIN-SUFFIX,t.me,Proxy
- DOMAIN-SUFFIX,googleapis.com,Proxy
- DOMAIN-SUFFIX,googleusercontent.com,Proxy
- DOMAIN-SUFFIX,gstatic.com,Proxy
- DOMAIN-SUFFIX,openai.com,Proxy
- DOMAIN-SUFFIX,anthropic.com,Proxy
- DOMAIN-SUFFIX,claude.ai,Proxy
- GEOIP,CN,DIRECT
- MATCH,Proxy
