# yunfan888.top - VLESS over WebSocket + TLS
mixed-port: 7890
allow-lan: false
bind-address: '*'
mode: rule
log-level: info
ipv6: false

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'
  nameserver:
    - 223.5.5.5
    - 119.29.29.29
  fallback:
    - https://1.1.1.1/dns-query
    - https://dns.google/dns-query

proxies:
  - name: yunfan888
    type: vless
    server: yunfan888.top
    port: 443
    uuid: 8a241033-1309-4c01-b1a4-74e98085ad3b
    udp: true
    tls: true
    servername: yunfan888.top
    client-fingerprint: chrome
    network: ws
    ws-opts:
      path: /
      headers:
        Host: yunfan888.top

proxy-groups:
  - name: PROXY
    type: select
    proxies:
      - yunfan888
      - DIRECT

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
  - MATCH,PROXY
