mixed-port: 7890
allow-lan: true
bind-address: '*'
mode: rule
log-level: info
ipv6: false
external-controller: 127.0.0.1:9090
secret: ''
geodata-mode: true
geox-url:
  geoip: https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat
  geosite: https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat
  mmdb: https://github.com/Loyalsoldier/geoip/releases/latest/download/Country.mmdb
profile:
  store-selected: true
  store-fake-ip: true
dns:
  enable: true
  prefer-h3: true
  listen: 0.0.0.0:1053
  ipv6: false
  enhanced-mode: fake-ip
  fake-ip-range: 198.18.0.1/16
  fake-ip-filter:
  - '*.lan'
  - '*.local'
  - localhost.ptlogin2.qq.com
  - +.stun.*.*
  - +.stun.*.*.*
  - +.stun.*.*.*.*
  - lens.l.google.com
  - '*.n.n.srv.nintendo.net'
  - +.msftncsi.com
  - '*.msftconnecttest.com'
  - www.msftconnecttest.com
  default-nameserver:
  - 223.5.5.5
  - 119.29.29.29
  nameserver:
  - https://doh.pub/dns-query
  - https://dns.alidns.com/dns-query
  - 223.5.5.5
  fallback:
  - https://cloudflare-dns.com/dns-query
  - https://dns.google/dns-query
  - 8.8.8.8
  fallback-filter:
    geoip: true
    geoip-code: CN
    ipcidr:
    - 240.0.0.0/4
    domain:
    - +.google.com
    - +.facebook.com
    - +.twitter.com
    - +.youtube.com
    - +.xn--ngstr-lra8j.com
    - +.google.cn
    - +.googleapis.cn
proxies:
- name: LA-NTT-VLESS
  type: vless
  server: 192.220.21.124
  port: 443
  uuid: 67d3b238-28b4-499e-9e6d-007abfc60d5e
  network: tcp
  tls: true
  udp: true
  flow: xtls-rprx-vision
  client-fingerprint: chrome
  servername: www.microsoft.com
  reality-opts:
    public-key: FR-9o_-y37vqQOHF_jNvwPQeE1APA2w6NjcS212dZUw
    short-id: 27306045664bb3ca
- name: LA-NTT-HK (NNR IEPL)
  type: vless
  server: nnr.alaala.xyz
  port: 25070
  uuid: 67d3b238-28b4-499e-9e6d-007abfc60d5e
  network: tcp
  tls: true
  udp: true
  flow: xtls-rprx-vision
  client-fingerprint: chrome
  servername: www.microsoft.com
  reality-opts:
    public-key: FR-9o_-y37vqQOHF_jNvwPQeE1APA2w6NjcS212dZUw
    short-id: 27306045664bb3ca
proxy-groups:
- name: 🚀 节点选择
  type: select
  proxies:
  - ♻️ 自动选择
  - LA-NTT-VLESS
  - DIRECT
  - LA-NTT-HK (NNR IEPL)
- name: ♻️ 自动选择
  type: url-test
  proxies:
  - LA-NTT-VLESS
  - LA-NTT-HK (NNR IEPL)
  url: https://www.gstatic.com/generate_204
  interval: 300
  tolerance: 50
- name: 🎯 全球直连
  type: select
  proxies:
  - DIRECT
  - LA-NTT-VLESS
  - ♻️ 自动选择
- name: 🐟 漏网之鱼
  type: select
  proxies:
  - 🚀 节点选择
  - DIRECT
  - ♻️ 自动选择
  - LA-NTT-VLESS
  - LA-NTT-HK (NNR IEPL)
- name: 🛑 广告拦截
  type: select
  proxies:
  - REJECT
  - DIRECT
- name: 🔰 国外媒体
  type: select
  proxies:
  - 🚀 节点选择
  - ♻️ 自动选择
  - LA-NTT-VLESS
  - LA-NTT-HK (NNR IEPL)
- name: 📲 电报消息
  type: select
  proxies:
  - 🚀 节点选择
  - ♻️ 自动选择
  - LA-NTT-VLESS
  - LA-NTT-HK (NNR IEPL)
- name: Ⓜ️ 微软服务
  type: select
  proxies:
  - 🎯 全球直连
  - 🚀 节点选择
- name: 🍎 苹果服务
  type: select
  proxies:
  - 🎯 全球直连
  - 🚀 节点选择
rules:
- RULE-SET,ads,🛑 广告拦截
- RULE-SET,privacy,🛑 广告拦截
- RULE-SET,reject,🛑 广告拦截
- RULE-SET,private,🎯 全球直连
- RULE-SET,lan,🎯 全球直连
- RULE-SET,cncidr,🎯 全球直连
- RULE-SET,applications,🎯 全球直连
- GEOIP,CN,🎯 全球直连
- RULE-SET,cn,🎯 全球直连
- RULE-SET,netflix,🔰 国外媒体
- RULE-SET,disney,🔰 国外媒体
- RULE-SET,hbo,🔰 国外媒体
- RULE-SET,youtube,🔰 国外媒体
- RULE-SET,spotify,🔰 国外媒体
- RULE-SET,telegramip,📲 电报消息
- RULE-SET,telegram,📲 电报消息
- RULE-SET,microsoft,Ⓜ️ 微软服务
- RULE-SET,apple,🍎 苹果服务
- RULE-SET,steam,🔰 国外媒体
- RULE-SET,epic,🔰 国外媒体
- RULE-SET,openai,🚀 节点选择
- RULE-SET,gemini,🚀 节点选择
- MATCH,🐟 漏网之鱼
rule-providers:
  reject:
    type: http
    behavior: domain
    url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/reject.txt
    path: ./ruleset/reject.yaml
    interval: 86400
  ads:
    type: http
    behavior: domain
    url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/reject.txt
    path: ./ruleset/ads.yaml
    interval: 86400
  privacy:
    type: http
    behavior: domain
    url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/reject.txt
    path: ./ruleset/privacy.yaml
    interval: 86400
  private:
    type: http
    behavior: domain
    url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/private.txt
    path: ./ruleset/private.yaml
    interval: 86400
  lan:
    type: http
    behavior: domain
    url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/lancidr.txt
    path: ./ruleset/lan.yaml
    interval: 86400
  cncidr:
    type: http
    behavior: ipcidr
    url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/cncidr.txt
    path: ./ruleset/cncidr.yaml
    interval: 86400
  applications:
    type: http
    behavior: classical
    url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/applications.txt
    path: ./ruleset/applications.yaml
    interval: 86400
  cn:
    type: http
    behavior: domain
    url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/cn.txt
    path: ./ruleset/cn.yaml
    interval: 86400
  netflix:
    type: http
    behavior: domain
    url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/netflix.txt
    path: ./ruleset/netflix.yaml
    interval: 86400
  disney:
    type: http
    behavior: domain
    url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/disney.txt
    path: ./ruleset/disney.yaml
    interval: 86400
  hbo:
    type: http
    behavior: domain
    url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/hbo.txt
    path: ./ruleset/hbo.yaml
    interval: 86400
  youtube:
    type: http
    behavior: domain
    url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/youtube.txt
    path: ./ruleset/youtube.yaml
    interval: 86400
  spotify:
    type: http
    behavior: domain
    url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/spotify.txt
    path: ./ruleset/spotify.yaml
    interval: 86400
  telegram:
    type: http
    behavior: domain
    url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/telegram.txt
    path: ./ruleset/telegram.yaml
    interval: 86400
  telegramip:
    type: http
    behavior: ipcidr
    url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/telegramcidr.txt
    path: ./ruleset/telegramip.yaml
    interval: 86400
  microsoft:
    type: http
    behavior: domain
    url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/microsoft.txt
    path: ./ruleset/microsoft.yaml
    interval: 86400
  apple:
    type: http
    behavior: domain
    url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/apple.txt
    path: ./ruleset/apple.yaml
    interval: 86400
  steam:
    type: http
    behavior: domain
    url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/steam.txt
    path: ./ruleset/steam.yaml
    interval: 86400
  epic:
    type: http
    behavior: domain
    url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/epic.txt
    path: ./ruleset/epic.yaml
    interval: 86400
  openai:
    type: http
    behavior: domain
    url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/openai.txt
    path: ./ruleset/openai.yaml
    interval: 86400
  gemini:
    type: http
    behavior: domain
    url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/gemini.txt
    path: ./ruleset/gemini.yaml
    interval: 86400
