# lkw123's personal proxy config profile
allow-lan: false
mode: rule
log-level: info
ipv6: false
find-process-mode: strict
external-controller: 127.0.0.1:9090
unified-delay: true
tcp-concurrent: true
geo-auto-update: true
geo-update-interval: 720
geox-url:
  geoip: "https://cdn.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip.dat"
  geosite: "https://cdn.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geosite.dat"
  mmdb: "https://cdn.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/country.mmdb"
  asn: "https://cdn.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/GeoLite2-ASN.mmdb"
profile:
  store-selected: true
  store-fake-ip: true
dns:
  enable: true
  ipv6: false
  # listen: 0.0.0.0:1053
  use-hosts: true
  # use-system-hosts: true
  default-nameserver:
    - 119.29.29.29
    - 8.8.8.8
    - 1.1.1.1
  nameserver:
    - 223.5.5.5
    - 119.29.29.29
  fake-ip-range: 198.18.0.1/16
  fake-ip-filter:
    - "*.lan"
    - "*.localdomain"
    - "*.example"
    - "*.invalid"
    - "*.localhost"
    - "*.test"
    - "*.local"
    - "*.home.arpa"
    - time.*.com
    - time.*.gov
    - time.*.edu.cn
    - time.*.apple.com
    - time1.*.com
    - time2.*.com
    - time3.*.com
    - time4.*.com
    - time5.*.com
    - time6.*.com
    - time7.*.com
    - ntp.*.com
    - ntp1.*.com
    - ntp2.*.com
    - ntp3.*.com
    - ntp4.*.com
    - ntp5.*.com
    - ntp6.*.com
    - ntp7.*.com
    - "*.time.edu.cn"
    - "*.ntp.org.cn"
    - +.pool.ntp.org
    - time1.cloud.tencent.com
    - stun.*.*
    - stun.*.*.*
    - swscan.apple.com
    - mesu.apple.com
    - music.163.com
    - "*.music.163.com"
    - "*.126.net"
    - musicapi.taihe.com
    - music.taihe.com
    - songsearch.kugou.com
    - trackercdn.kugou.com
    - "*.kuwo.cn"
    - api-jooxtt.sanook.com
    - api.joox.com
    - y.qq.com
    - "*.y.qq.com"
    - streamoc.music.tc.qq.com
    - mobileoc.music.tc.qq.com
    - isure.stream.qqmusic.qq.com
    - dl.stream.qqmusic.qq.com
    - aqqmusic.tc.qq.com
    - amobile.music.tc.qq.com
    - localhost.ptlogin2.qq.com
    - "*.msftconnecttest.com"
    - "*.msftncsi.com"
    - "*.xiami.com"
    - "*.music.migu.cn"
    - music.migu.cn
    - +.wotgame.cn
    - +.wggames.cn
    - +.wowsgame.cn
    - +.wargaming.net
    - "*.*.*.srv.nintendo.net"
    - "*.*.stun.playstation.net"
    - xbox.*.*.microsoft.com
    - "*.*.xboxlive.com"
    - "*.ipv6.microsoft.com"
    - teredo.*.*.*
    - teredo.*.*
    - speedtest.cros.wr.pvp.net
    - +.jjvip8.com
    - www.douyu.com
    - activityapi.huya.com
    - activityapi.huya.com.w.cdngslb.com
    - www.bilibili.com
    - api.bilibili.com
    - a.w.bilicdn1.com

proxy-providers:
  Nexitally:
    type: http
    url: ''
    path: ./proxy_providers/nexitally.yaml
    interval: 86400
    health-check:
      enable: true
      url: http://www.gstatic.com/generate_204
      interval: 3600

proxy-groups:
  - name: PROXY
    type: select
    proxies:
      - DIRECT
    use:
      - Nexitally
    icon: https://fastly.jsdelivr.net/gh/clash-verge-rev/clash-verge-rev.github.io@main/docs/assets/icons/adjust.svg
  - name: Auto
    type: url-test
    url: http://www.google.com/generate_204
    interval: 3600
    tolerance: 50
    use:
      - Nexitally
    icon: https://fastly.jsdelivr.net/gh/clash-verge-rev/clash-verge-rev.github.io@main/docs/assets/icons/speed.svg
  - name: Apple
    type: select
    proxies:
      - DIRECT
      - REJECT
      - PROXY
    use:
      - Nexitally
    icon: https://fastly.jsdelivr.net/gh/clash-verge-rev/clash-verge-rev.github.io@main/docs/assets/icons/apple.svg
  - name: Spotify
    type: select
    proxies:
      - DIRECT
      - PROXY
    use:
      - Nexitally
    icon: https://fastly.jsdelivr.net/gh/shindgewongxj/WHATSINStash@master/icon/spotify.png
  - name: YouTube
    type: select
    proxies:
      - DIRECT
      - PROXY
    use:
      - Nexitally
    icon: https://fastly.jsdelivr.net/gh/clash-verge-rev/clash-verge-rev.github.io@main/docs/assets/icons/youtube.svg
  - name: Netflix
    type: select
    proxies:
      - DIRECT
      - PROXY
    use:
      - Nexitally
    icon: https://fastly.jsdelivr.net/gh/clash-verge-rev/clash-verge-rev.github.io@main/docs/assets/icons/netflix.svg
  - name: Google
    type: select
    proxies:
      - DIRECT
      - PROXY
    use:
      - Nexitally
    icon: https://fastly.jsdelivr.net/gh/clash-verge-rev/clash-verge-rev.github.io@main/docs/assets/icons/google.svg
  - name: AI
    type: select
    proxies:
      - DIRECT
      - PROXY
      - Akko
    use:
      - Nexitally
    icon: https://fastly.jsdelivr.net/gh/clash-verge-rev/clash-verge-rev.github.io@main/docs/assets/icons/chatgpt.svg
  - name: Microsoft
    type: select
    proxies:
      - DIRECT
      - PROXY
      - Akko
    use:
      - Nexitally
    icon: https://fastly.jsdelivr.net/gh/clash-verge-rev/clash-verge-rev.github.io@main/docs/assets/icons/bing.svg
  - name: Telegram
    type: select
    proxies:
      - DIRECT
      - PROXY
      - Akko
    use:
      - Nexitally
    icon: https://fastly.jsdelivr.net/gh/clash-verge-rev/clash-verge-rev.github.io@main/docs/assets/icons/telegram.svg
  - name: Final
    type: select
    proxies:
      - DIRECT
      - PROXY
      - Akko
    use:
      - Nexitally
    icon: https://fastly.jsdelivr.net/gh/clash-verge-rev/clash-verge-rev.github.io@main/docs/assets/icons/fish.svg

rule-providers:
  reject:
    type: http
    behavior: classical
    url: "https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Clash/AdvertisingLite/AdvertisingLite_Classical.yaml"
    path: ./ruleset/reject.yaml
    interval: 86400

  apple:
    type: http
    behavior: classical
    url: "https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Clash/Apple/Apple.yaml"
    path: ./ruleset/apple.yaml
    interval: 86400

  youtube:
    type: http
    behavior: classical
    url: "https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Clash/YouTube/YouTube.yaml"
    path: ./ruleset/youtube.yaml
    interval: 86400

  google:
    type: http
    behavior: classical
    url: "https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Clash/Google/Google.yaml"
    path: ./ruleset/google.yaml
    interval: 86400

  proxy:
    type: http
    behavior: classical
    url: "https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Clash/Proxy/Proxy.yaml"
    path: ./ruleset/proxy.yaml
    interval: 86400

  direct:
    type: http
    behavior: domain
    url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/direct.txt"
    path: ./ruleset/direct.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

  gfw:
    type: http
    behavior: classical
    url: "https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Clash/Proxy/Proxy_Classical.yaml"
    path: ./ruleset/gfw.yaml
    interval: 86400

  tld-not-cn:
    type: http
    behavior: domain
    url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/tld-not-cn.txt"
    path: ./ruleset/tld-not-cn.yaml
    interval: 86400

  openai:
    type: http
    behavior: classical
    url: "https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Clash/OpenAI/OpenAI.yaml"
    path: ./ruleset/openai.yaml
    interval: 86400

  claude:
    type: http
    behavior: classical
    url: "https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Clash/Claude/Claude.yaml"
    path: ./ruleset/claude.yaml
    interval: 86400

  gemini:
    type: http
    behavior: classical
    url: "https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Clash/Gemini/Gemini.yaml"
    path: ./ruleset/gemini.yaml
    interval: 86400

  microsoft:
    type: http
    behavior: classical
    url: "https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Clash/Microsoft/Microsoft.yaml"
    path: ./ruleset/microsoft.yaml
    interval: 86400

  github:
    type: http
    behavior: classical
    url: "https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Clash/GitHub/GitHub.yaml"
    path: ./ruleset/github.yaml
    interval: 86400

  telegram:
    type: http
    behavior: classical
    url: "https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Clash/Telegram/Telegram.yaml"
    path: ./ruleset/telegram.yaml
    interval: 86400

  spotify:
    type: http
    behavior: classical
    url: "https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Clash/Spotify/Spotify.yaml"
    path: ./ruleset/spotify.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

  lancidr:
    type: http
    behavior: ipcidr
    url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/lancidr.txt"
    path: ./ruleset/lancidr.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

  netflix:
    type: http
    behavior: classical
    url: "https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Clash/Netflix/Netflix.yaml"
    path: ./ruleset/netflix.yaml
    interval: 86400

rules:
  - RULE-SET,applications,DIRECT

  # 自定义规则
  - DOMAIN-SUFFIX,newshosting.com,DIRECT
  - DOMAIN-SUFFIX,lkwplus.com,DIRECT
  - DOMAIN-SUFFIX,akkocloud.com,DIRECT
  - DOMAIN-SUFFIX,linux.do,PROXY
  - DOMAIN-SUFFIX,hdsky.me,DIRECT
  - DOMAIN-SUFFIX,byr.pt,PROXY
  - DOMAIN-SUFFIX,m-team.cc,DIRECT
  - DOMAIN-SUFFIX,keepfrds.com,PROXY
  - DOMAIN-SUFFIX,tjupt.org,DIRECT
  - DOMAIN-SUFFIX,totheglory.im,DIRECT
  - DOMAIN-SUFFIX,eastgame.org,DIRECT
  - DOMAIN-SUFFIX,pterclub.com,PROXY
  - DOMAIN-SUFFIX,hddolby.com,DIRECT
  - DOMAIN-SUFFIX,iptorrents.com,DIRECT
  - DOMAIN-SUFFIX,ourbits.club,PROXY
  - DOMAIN-SUFFIX,uhdbits.org,DIRECT
  - DOMAIN-SUFFIX,torrentleech.org,PROXY
  - DOMAIN-SUFFIX,springsunday.net,PROXY
  - DOMAIN-SUFFIX,filelist.io,DIRECT
  - DOMAIN-SUFFIX,myanonamouse.net,DIRECT
  - DOMAIN-SUFFIX,hd-torrents.org,DIRECT
  - DOMAIN-SUFFIX,hdts-announce.ru,DIRECT
  - DOMAIN-SUFFIX,blutopia.cc,DIRECT
  - DOMAIN-SUFFIX,hetzner.com,DIRECT
  - DOMAIN-SUFFIX,your-server.de,DIRECT
  - DOMAIN-SUFFIX,hdtime.org,DIRECT
  - DOMAIN-SUFFIX,et8.org,DIRECT
  - DOMAIN-SUFFIX,rutracker.org,DIRECT
  - DOMAIN-SUFFIX,m-team.io,DIRECT
  - DOMAIN-SUFFIX,passthepopcorn.me,PROXY
  - DOMAIN-SUFFIX,ptpimg.me,PROXY
  - DOMAIN-SUFFIX,nanyangpt.com,DIRECT
  - DOMAIN-SUFFIX,cinemageddon.net,DIRECT
  - DOMAIN-SUFFIX,audiences.me,DIRECT
  - DOMAIN-SUFFIX,hdbits.org,DIRECT
  - DOMAIN-SUFFIX,tv-vault.me,DIRECT
  - DOMAIN-SUFFIX,milkie.cc,DIRECT
  - DOMAIN-SUFFIX,morethantv.me,DIRECT
  - DOMAIN-SUFFIX,gazellegames.net,DIRECT
  - DOMAIN-SUFFIX,redacted.sh,DIRECT
  - DOMAIN-SUFFIX,beyond-hd.me,DIRECT
  - DOMAIN-SUFFIX,sjtu.edu.cn,DIRECT
  - DOMAIN-SUFFIX,eweka.nl,DIRECT
  - DOMAIN-SUFFIX,hdcmct.org,DIRECT
  - DOMAIN-SUFFIX,secret-cinema.pw,DIRECT
  - DOMAIN-SUFFIX,nzbs.in,DIRECT
  - DOMAIN-SUFFIX,ianon.app,DIRECT
  - DOMAIN-SUFFIX,nzbfinder.ws,DIRECT
  - DOMAIN-SUFFIX,ninjacentral.co.za,DIRECT
  - DOMAIN-SUFFIX,op-net.com,DIRECT
  - DOMAIN-SUFFIX,nzbnoob.com,DIRECT
  - DOMAIN-SUFFIX,scenenzbs.com,DIRECT
  - DOMAIN-SUFFIX,abnzb.com,DIRECT
  - DOMAIN-SUFFIX,tabula-rasa.pw,DIRECT
  - DOMAIN-SUFFIX,althub.co.za,DIRECT
  - DOMAIN-SUFFIX,miatrix.com,DIRECT
  - DOMAIN-SUFFIX,nzb.cat,DIRECT
  - DOMAIN-SUFFIX,nzbgeek.info,DIRECT
  - DOMAIN-SUFFIX,geek-hub.com.au,DIRECT
  - DOMAIN-SUFFIX,hawke.uno,DIRECT
  - DOMAIN-SUFFIX,pixelhd.me,DIRECT
  - DOMAIN-SUFFIX,omgwtfnzbs.org,DIRECT
  - DOMAIN-SUFFIX,karagarga.in,DIRECT
  - DOMAIN-SUFFIX,momentumdash.com,DIRECT
  - DOMAIN-SUFFIX,link.com,AI
  - DOMAIN-SUFFIX,claudeusercontent.com,AI
  - DOMAIN,cdn.usefathom.com,AI
  - DOMAIN-SUFFIX,anthropic.com,AI
  - DOMAIN-SUFFIX,ai.cloudflare.com,AI
  - DOMAIN-SUFFIX,claude.ai,AI
  - DOMAIN-SUFFIX,clau.de,AI
  - DOMAIN-SUFFIX,ai-gateway.vercel.sh,AI
  - DOMAIN-SUFFIX,openrouter.ai,AI
  - DOMAIN-SUFFIX,cursor.com,AI
  - DOMAIN-SUFFIX,cursor.sh,AI
  - DOMAIN-SUFFIX,cursor-cdn.com,AI
  - DOMAIN-SUFFIX,cursorapi.com,AI
  - DOMAIN-SUFFIX,perplexity.ai,AI
  - DOMAIN-SUFFIX,pplx.ai,AI
  - DOMAIN-SUFFIX,x.ai,AI
  - DOMAIN-SUFFIX,x.com,AI
  - DOMAIN-SUFFIX,grok.com,AI
  - DOMAIN-SUFFIX,cerebras.ai,AI
  - DOMAIN-SUFFIX,cerebras-sandbox.net,AI
  - DOMAIN-SUFFIX,zed.dev,AI
  - DOMAIN-KEYWORD,diabrowser,AI
  - DOMAIN-SUFFIX,windsurf.com,AI
  - DOMAIN-SUFFIX,akash.network,AI
  - DOMAIN-SUFFIX,trae.ai,AI
  - DOMAIN-SUFFIX,chorus.sh,AI
  - DOMAIN-SUFFIX,elevenlabs.io,AI
  - DOMAIN-SUFFIX,codeium.com,AI
  - DOMAIN-SUFFIX,supabase.com,AI
  - DOMAIN-SUFFIX,lambda.chat,AI
  - DOMAIN-KEYWORD,notebooklm,AI

  # emby
  - DOMAIN-SUFFIX,lite.saturday.video,DIRECT

  # steam
  - DOMAIN,steamcdn-a.akamaihd.net,DIRECT
  - DOMAIN-SUFFIX,steamserver.net,DIRECT

  - DOMAIN,clash.razord.top,DIRECT
  - DOMAIN,yacd.haishan.me,DIRECT
  - DOMAIN-SUFFIX,okex.com,AI
  - DOMAIN-SUFFIX,oklink.com,AI
  - DOMAIN-SUFFIX,okx.com,AI
  - RULE-SET,private,DIRECT
  - RULE-SET,reject,REJECT
  - RULE-SET,apple,Apple
  - RULE-SET,openai,AI
  - RULE-SET,claude,AI
  - RULE-SET,gemini,AI
  - DOMAIN-SUFFIX,groq.com,AI
  - RULE-SET,spotify,Spotify
  - RULE-SET,youtube,YouTube
  - RULE-SET,google,Google
  - RULE-SET,microsoft,Microsoft
  - RULE-SET,netflix,Netflix
  - RULE-SET,github,PROXY
  - RULE-SET,proxy,PROXY
  - RULE-SET,direct,DIRECT
  - RULE-SET,lancidr,DIRECT
  - RULE-SET,cncidr,DIRECT
  - RULE-SET,telegram,Telegram
  - RULE-SET,gfw,PROXY
  - GEOIP,LAN,DIRECT
  - GEOIP,CN,DIRECT
  - MATCH,Final
