port: 7890
socks-port: 7891
redir-port: 7892
mixed-port: 7893
allow-lan: false
unified-delay: true
tcp-concurrent: true
mode: rule
log-level: info
ipv6: false
external-controller: 0.0.0.0:9090

dns:
  enable: true
  ipv6: false
  listen: 0.0.0.0:53
  enhanced-mode: fake-ip
  fake-ip-range: 198.18.0.1/16
  fake-ip-filter:
    - "*.lan"
    - "*.local"
    - "*.srv.nintendo.net"
    - "*.stun.playstation.net"
    - xbox.*.microsoft.com
    - "*.xboxlive.com"
    - localhost.ptlogin2.qq.com
    - localhost.sec.qq.com
    - localhost.work.weixin.qq.com

proxies:
  - name: apikey-reality
    type: vless
    server: apikey.tgjqr.com
    port: 8443
    uuid: 8339a8c2-7efb-4088-b48d-9cc01b6635f5
    network: tcp
    udp: true
    tls: true
    servername: www.cloudflare.com
    flow: xtls-rprx-vision
    reality-opts:
      public-key: WwMiTcmhGpEvv5Hf3mtqMa9OSPVTllj9AkWZalvlrDE
      short-id: 0e96a38a9d48cca0
    client-fingerprint: chrome

proxy-groups:
  - name: Proxies
    type: select
    proxies:
      - apikey-reality
      - DIRECT

rules:
  - IP-CIDR,89.208.254.106/32,DIRECT,no-resolve
  - IP-CIDR,154.38.114.46/32,DIRECT,no-resolve
  - DOMAIN-SUFFIX,apikey.tgjqr.com,DIRECT

  - IP-CIDR,38.181.52.239/32,DIRECT,no-resolve
  - IP-CIDR,64.186.225.51/32,DIRECT
  - IP-CIDR,48.45.238.168/32,DIRECT
  - IP-CIDR,104.194.94.238/32,DIRECT
  - IP-CIDR,45.207.201.178/32,DIRECT
  - IP-CIDR,43.162.100.78/32,DIRECT

  - DOMAIN-SUFFIX,todesk.com,DIRECT
  - DOMAIN-SUFFIX,todesk.cn,DIRECT
  - DOMAIN-SUFFIX,oray.com,DIRECT
  - DOMAIN-SUFFIX,oray.net,DIRECT
  - DOMAIN-SUFFIX,sunlogin.net,DIRECT
  - DOMAIN-SUFFIX,hsk.oray.com,DIRECT
  - DOMAIN-SUFFIX,p2p.oray.com,DIRECT
  - DOMAIN-SUFFIX,teamviewer.com,DIRECT
  - DOMAIN-SUFFIX,anydesk.com,DIRECT
  - DOMAIN-SUFFIX,rustdesk.com,DIRECT

  - DOMAIN-SUFFIX,bilibili.com,DIRECT
  - DOMAIN-SUFFIX,bilivideo.com,DIRECT
  - DOMAIN-SUFFIX,hdslb.com,DIRECT
  - DOMAIN-SUFFIX,qq.com,DIRECT
  - DOMAIN-SUFFIX,taobao.com,DIRECT
  - DOMAIN-SUFFIX,tmall.com,DIRECT
  - DOMAIN-SUFFIX,alipay.com,DIRECT
  - DOMAIN-SUFFIX,alicdn.com,DIRECT
  - DOMAIN-SUFFIX,aliyun.com,DIRECT
  - DOMAIN-SUFFIX,jd.com,DIRECT
  - DOMAIN-SUFFIX,baidu.com,DIRECT
  - DOMAIN-SUFFIX,bdstatic.com,DIRECT
  - DOMAIN-SUFFIX,163.com,DIRECT
  - DOMAIN-SUFFIX,126.com,DIRECT
  - DOMAIN-SUFFIX,sina.com.cn,DIRECT
  - DOMAIN-SUFFIX,weibo.com,DIRECT
  - DOMAIN-SUFFIX,douban.com,DIRECT
  - DOMAIN-SUFFIX,zhihu.com,DIRECT
  - DOMAIN-SUFFIX,csdn.net,DIRECT
  - DOMAIN-SUFFIX,cnblogs.com,DIRECT

  - DOMAIN-SUFFIX,google.com,Proxies
  - DOMAIN-SUFFIX,google.com.hk,Proxies
  - DOMAIN-SUFFIX,googleapis.com,Proxies
  - DOMAIN-SUFFIX,googleusercontent.com,Proxies
  - DOMAIN-SUFFIX,gstatic.com,Proxies
  - DOMAIN-SUFFIX,gmail.com,Proxies
  - DOMAIN-KEYWORD,google,Proxies
  - DOMAIN-SUFFIX,youtube.com,Proxies
  - DOMAIN-SUFFIX,googlevideo.com,Proxies
  - DOMAIN-SUFFIX,ytimg.com,Proxies
  - DOMAIN-SUFFIX,youtu.be,Proxies
  - DOMAIN-KEYWORD,youtube,Proxies
  - DOMAIN-SUFFIX,netflix.com,Proxies
  - DOMAIN-SUFFIX,netflix.net,Proxies
  - DOMAIN-SUFFIX,nflxext.com,Proxies
  - DOMAIN-SUFFIX,nflximg.net,Proxies
  - DOMAIN-SUFFIX,nflxso.net,Proxies
  - DOMAIN-SUFFIX,nflxvideo.net,Proxies
  - DOMAIN-SUFFIX,disney.com,Proxies
  - DOMAIN-SUFFIX,disneyplus.com,Proxies
  - DOMAIN-SUFFIX,spotify.com,Proxies
  - DOMAIN-SUFFIX,scdn.co,Proxies
  - DOMAIN-SUFFIX,telegram.org,Proxies
  - DOMAIN-SUFFIX,t.me,Proxies
  - DOMAIN-KEYWORD,telegram,Proxies
  - IP-CIDR,91.108.4.0/22,Proxies,no-resolve
  - IP-CIDR,91.108.8.0/22,Proxies,no-resolve
  - IP-CIDR,91.108.12.0/22,Proxies,no-resolve
  - IP-CIDR,91.108.16.0/22,Proxies,no-resolve
  - IP-CIDR,91.108.20.0/22,Proxies,no-resolve
  - IP-CIDR,91.108.56.0/22,Proxies,no-resolve
  - IP-CIDR,149.154.160.0/20,Proxies,no-resolve
  - DOMAIN-SUFFIX,github.com,Proxies
  - DOMAIN-SUFFIX,github.io,Proxies
  - DOMAIN-SUFFIX,githubusercontent.com,Proxies
  - DOMAIN-SUFFIX,twitter.com,Proxies
  - DOMAIN-SUFFIX,x.com,Proxies
  - DOMAIN-SUFFIX,twimg.com,Proxies
  - DOMAIN-SUFFIX,facebook.com,Proxies
  - DOMAIN-SUFFIX,instagram.com,Proxies
  - DOMAIN-SUFFIX,reddit.com,Proxies
  - DOMAIN-SUFFIX,wikipedia.org,Proxies
  - DOMAIN-SUFFIX,openai.com,Proxies
  - DOMAIN-SUFFIX,chatgpt.com,Proxies
  - DOMAIN-KEYWORD,openai,Proxies
  - DOMAIN-SUFFIX,anthropic.com,Proxies
  - DOMAIN-SUFFIX,claude.ai,Proxies
  - DOMAIN-SUFFIX,microsoft.com,Proxies
  - DOMAIN-SUFFIX,office.com,Proxies
  - DOMAIN-SUFFIX,outlook.com,Proxies
  - DOMAIN-SUFFIX,onedrive.com,Proxies
  - DOMAIN-SUFFIX,discord.com,Proxies
  - DOMAIN-SUFFIX,discordapp.com,Proxies
  - DOMAIN-SUFFIX,twitch.tv,Proxies
  - DOMAIN-SUFFIX,medium.com,Proxies
  - DOMAIN-SUFFIX,duckduckgo.com,Proxies

  - DOMAIN-SUFFIX,local,DIRECT
  - IP-CIDR,192.168.0.0/16,DIRECT,no-resolve
  - IP-CIDR,10.0.0.0/8,DIRECT,no-resolve
  - IP-CIDR,172.16.0.0/12,DIRECT,no-resolve
  - IP-CIDR,127.0.0.0/8,DIRECT,no-resolve
  - IP-CIDR,100.64.0.0/10,DIRECT,no-resolve

  - GEOIP,CN,DIRECT
  - MATCH,Proxies
