mixed-port: 7890
allow-lan: true
bind-address: 0.0.0.0
ipv6: false
mode: rule
log-level: info
external-controller: 127.0.0.1:9090
secret: change_this_to_a_long_random_secret
listeners:
- name: wan-https-proxy
  type: http
  listen: 0.0.0.0
  port: 18443
  users:
  - username: NQU
    password: E218science
  certificate: /root/.config/mihomo/certs/fullchain.pem
  private-key: /root/.config/mihomo/certs/privkey.pem
dns:
  enable: true
  listen: 0.0.0.0:1053
  ipv6: false
  enhanced-mode: fake-ip
  fake-ip-range: 198.18.0.1/16
  default-nameserver:
  - 223.5.5.5
  - 119.29.29.29
  nameserver:
  - https://doh.pub/dns-query
  - https://dns.alidns.com/dns-query
proxy-groups:
- name: PROXY
  type: select
  proxies:
  - DIRECT
rules:
- MATCH,PROXY
