# yunfan888.top - 分流版：国内直连，国外走代理
mixed-port: 7890
allow-lan: false
mode: rule
log-level: warning
ipv6: false
unified-delay: true
tcp-concurrent: true
global-client-fingerprint: chrome

dns:
  enable: true
  ipv6: false
  enhanced-mode: fake-ip
  fake-ip-range: 198.18.0.1/16
  fake-ip-filter:
    - '*.lan'
    - '*.local'
    - 'localhost.ptlogin2.qq.com'
    - 'yunfan888.top'
    - '*.yunfan888.top'
    - 'deepseek.com'
    - '*.deepseek.com'
  default-nameserver:
    - 223.5.5.5
    - 119.29.29.29
  nameserver:
    - 223.5.5.5
    - 119.29.29.29

proxies:
  - name: yunfan888-1
    type: vless
    server: 172.67.181.46
    port: 443
    uuid: 8a241033-1309-4c01-b1a4-74e98085ad3b
    udp: false
    tls: true
    servername: yunfan888.top
    client-fingerprint: chrome
    network: ws
    ws-opts:
      path: /
      headers:
        Host: yunfan888.top
  - name: yunfan888-2
    type: vless
    server: 104.26.0.1
    port: 443
    uuid: 8a241033-1309-4c01-b1a4-74e98085ad3b
    udp: false
    tls: true
    servername: yunfan888.top
    client-fingerprint: chrome
    network: ws
    ws-opts:
      path: /
      headers:
        Host: yunfan888.top
  - name: yunfan888-3
    type: vless
    server: 104.17.0.1
    port: 443
    uuid: 8a241033-1309-4c01-b1a4-74e98085ad3b
    udp: false
    tls: true
    servername: yunfan888.top
    client-fingerprint: chrome
    network: ws
    ws-opts:
      path: /
      headers:
        Host: yunfan888.top
  - name: yunfan888-4
    type: vless
    server: 162.159.140.98
    port: 443
    uuid: 8a241033-1309-4c01-b1a4-74e98085ad3b
    udp: false
    tls: true
    servername: yunfan888.top
    client-fingerprint: chrome
    network: ws
    ws-opts:
      path: /
      headers:
        Host: yunfan888.top
  - name: yunfan888-5
    type: vless
    server: 104.20.0.1
    port: 443
    uuid: 8a241033-1309-4c01-b1a4-74e98085ad3b
    udp: false
    tls: true
    servername: yunfan888.top
    client-fingerprint: chrome
    network: ws
    ws-opts:
      path: /
      headers:
        Host: yunfan888.top
  - name: yunfan888-6
    type: vless
    server: 172.64.80.1
    port: 443
    uuid: 8a241033-1309-4c01-b1a4-74e98085ad3b
    udp: false
    tls: true
    servername: yunfan888.top
    client-fingerprint: chrome
    network: ws
    ws-opts:
      path: /
      headers:
        Host: yunfan888.top
  - name: yunfan888-dom
    type: vless
    server: yunfan888.top
    port: 443
    uuid: 8a241033-1309-4c01-b1a4-74e98085ad3b
    udp: false
    tls: true
    servername: yunfan888.top
    client-fingerprint: chrome
    network: ws
    ws-opts:
      path: /
      headers:
        Host: yunfan888.top

proxy-groups:
  - name: PROXY
    type: fallback
    url: 'http://www.gstatic.com/generate_204'
    interval: 60
    lazy: false
    proxies:
      - yunfan888-1
      - yunfan888-2
      - yunfan888-3
      - yunfan888-4
      - yunfan888-5
      - yunfan888-6
      - yunfan888-dom

rules:
  - IP-CIDR,127.0.0.0/8,DIRECT,no-resolve
  - IP-CIDR,192.168.0.0/16,DIRECT,no-resolve
  - IP-CIDR,10.0.0.0/8,DIRECT,no-resolve
  - DOMAIN-SUFFIX,deepseek.com,DIRECT
  - DOMAIN-KEYWORD,deepseek,DIRECT
  - DOMAIN-SUFFIX,qq.com,DIRECT
  - DOMAIN-SUFFIX,weixin.qq.com,DIRECT
  - DOMAIN-SUFFIX,bilibili.com,DIRECT
  - DOMAIN-SUFFIX,aliyun.com,DIRECT
  - DOMAIN-SUFFIX,taobao.com,DIRECT
  - DOMAIN-SUFFIX,jd.com,DIRECT
  - DOMAIN-SUFFIX,baidu.com,DIRECT
  - GEOIP,CN,DIRECT
  - MATCH,PROXY
