mixed-port: 7890

allow-lan: true

mode: rule

log-level: info

ipv6: false

profile:
  store-selected: true
  store-fake-ip: true

dns:
  enable: true
  enhanced-mode: fake-ip
  nameserver:
    - 223.5.5.5
    - 1.1.1.1

proxies:
- name: 香港-1
  type: vless
  server: aws-link1.lxyun.xyz
  port: 443
  uuid: d9cb6419-d18a-4375-b296-a38fffaf8fb1
  udp: true
  tls: true
  skip-cert-verify: true
  flow: xtls-rprx-vision
  client-fingerprint: safari
  fingerprint: d5c39647e414c144b719bc49cb41c4b8f46f09f4cf26c863cae15c01d4a7b96a
  network: tcp
  servername: iosapps.itunes.apple.com
- name: 香港-2
  type: vless
  server: aws-link2.lxyun.xyz
  port: 443
  uuid: d9cb6419-d18a-4375-b296-a38fffaf8fb1
  udp: true
  tls: true
  skip-cert-verify: true
  flow: xtls-rprx-vision
  client-fingerprint: safari
  fingerprint: af0f11574724e7ddd96f64eb77a450f71ce2de61ee5afd6f2e27ed7604a6a9b1
  network: tcp
  servername: www.lamer.com.hk
- name: 香港-3
  type: vless
  server: aws-link3.lxyun.xyz
  port: 443
  uuid: d9cb6419-d18a-4375-b296-a38fffaf8fb1
  udp: true
  tls: true
  skip-cert-verify: false
  flow: xtls-rprx-vision
  client-fingerprint: ios
  reality-opts:
    public-key: ux5T2jsYXnAMuf4eILTucbcX1xd1OwocOEkYetmUyAs
    short-id: 3206e665
  network: tcp
  servername: www.lamer.com.hk
- name: 新加坡-1
  type: vless
  server: aws-link7.lxyun.xyz
  port: 443
  uuid: d9cb6419-d18a-4375-b296-a38fffaf8fb1
  udp: true
  tls: true
  skip-cert-verify: false
  flow: xtls-rprx-vision
  client-fingerprint: ios
  reality-opts:
    public-key: w7AGIp_u4slcX3JotLyiuaT05lawuzU3f1eL88RI53c
    short-id: 1d77a374
  network: tcp
  servername: fastcdn.hoyoverse.com
- name: 新加坡-2
  type: vless
  server: aws-link8.lxyun.xyz
  port: 443
  uuid: d9cb6419-d18a-4375-b296-a38fffaf8fb1
  udp: true
  tls: true
  skip-cert-verify: false
  flow: xtls-rprx-vision
  client-fingerprint: ios
  reality-opts:
    public-key: vDrdqD70aoQOIU5P5UU-h2h9wCu_tEOD4pGu8NOGvzA
    short-id: 55c73a28
  network: tcp
  servername: iosapps.itunes.apple.com
- name: 日本-1
  type: vless
  server: aws-link13.lxyun.xyz
  port: 443
  uuid: d9cb6419-d18a-4375-b296-a38fffaf8fb1
  udp: true
  tls: true
  skip-cert-verify: false
  flow: xtls-rprx-vision
  client-fingerprint: safari
  reality-opts:
    public-key: AYnt6YQxdEGfpWjo25H9ZvgPp_WxRbGWSkaptwTZJ3M
    short-id: 131baaed
  network: tcp
  servername: download-porter.hoyoverse.com
- name: 日本-2
  type: vless
  server: aws-link14.lxyun.xyz
  port: 443
  uuid: d9cb6419-d18a-4375-b296-a38fffaf8fb1
  udp: true
  tls: true
  skip-cert-verify: false
  flow: xtls-rprx-vision
  client-fingerprint: ios
  reality-opts:
    public-key: -nx1roqVG90gja9-412UcxR7tqdtdKqxuSHsSh03wm4
    short-id: 93d482c0
  network: tcp
  servername: download-porter.hoyoverse.com
- name: 美国-1
  type: vless
  server: cfyes.777078.xyz
  port: 443
  uuid: d9cb6419-d18a-4375-b296-a38fffaf8fb1
  udp: true
  tls: true
  skip-cert-verify: false
  client-fingerprint: chrome
  network: ws
  ws-opts:
    path: /liangxin/us
    headers:
      Host: lx-us1.777078.xyz
  servername: lx-us1.777078.xyz
- name: 美国-2
  type: vless
  server: cfyes.777078.xyz
  port: 443
  uuid: d9cb6419-d18a-4375-b296-a38fffaf8fb1
  udp: true
  tls: true
  skip-cert-verify: false
  client-fingerprint: chrome
  network: ws
  ws-opts:
    path: /liangxin/us
    headers:
      Host: lx-us2.777078.xyz
  servername: lx-us2.777078.xyz
- name: 美国-3
  server: ushost.xn--9kqp42aims.top
  port: 20000
  ports: 20000-55000
  mport: 20000-55000
  udp: true
  skip-cert-verify: true
  sni: gw.alicdn.com
  type: hysteria2
  password: 7fe32c95-5838-42ca-bc0a-1608595a02ca
  obfs: salamander
  obfs-password: OTA2ZjRiOGQ2MWYxNmQyZA==
- name: 日本-4
  type: vless
  server: jpsb02.xn--9kqp42aims.top
  port: 443
  uuid: 7fe32c95-5838-42ca-bc0a-1608595a02ca
  udp: true
  flow: xtls-rprx-vision
  tls: true
  skip-cert-verify: false
  client-fingerprint: ios
  reality-opts:
    public-key: 0Rdl40Dxlqd0oyC2KI0A60oxab7XFn3sjg-f4wD1LFs
    short-id: b14250ed
  network: tcp
  servername: buylite.music.apple.com
- name: 新加坡-4
  server: 34.87.111.154
  port: 443
  sni: www.apple.com.cn
  skip-cert-verify: true
  type: hysteria2
  password: 7067f13a-f395-4890-8dfa-99dd9c429bd3
  udp: true
- name: 日本-5
  server: 34.104.141.205
  port: 443
  sni: www.apple.com.cn
  skip-cert-verify: true
  type: hysteria2
  password: 7067f13a-f395-4890-8dfa-99dd9c429bd3
  udp: true
- name: 美国-4
  server: 34.94.85.166
  port: 443
  sni: www.apple.com.cn
  skip-cert-verify: true
  type: hysteria2
  password: 7067f13a-f395-4890-8dfa-99dd9c429bd3
  udp: true
- name: 香港-4
  type: vless
  server: cf-yes.nekocloud.host
  port: 443
  uuid: 7067f13a-f395-4890-8dfa-99dd9c429bd3
  alterId: 0
  cipher: auto
  udp: true
  encryption: none
  tls: true
  skip-cert-verify: false
  client-fingerprint: chrome
  network: ws
  ws-opts:
    path: /nekocloud/hk-01
    headers:
      Host: hk-01.neko-yes.com
  servername: hk-01.neko-yes.com
- name: 香港-5
  type: vless
  server: cf-yes.nekocloud.host
  port: 443
  uuid: 7067f13a-f395-4890-8dfa-99dd9c429bd3
  alterId: 0
  cipher: auto
  udp: true
  encryption: none
  tls: true
  skip-cert-verify: false
  client-fingerprint: chrome
  network: ws
  ws-opts:
    path: /nekocloud/hk-02
    headers:
      Host: hk-02.neko-yes.com
  servername: hk-02.neko-yes.com
- name: 台湾-1
  type: vless
  server: cf-yes.nekocloud.host
  port: 443
  uuid: 7067f13a-f395-4890-8dfa-99dd9c429bd3
  alterId: 0
  cipher: auto
  udp: true
  encryption: none
  tls: true
  skip-cert-verify: false
  client-fingerprint: chrome
  network: ws
  ws-opts:
    path: /nekocloud/tw-01
    headers:
      Host: tw-01.neko-yes.com
  servername: tw-01.neko-yes.com
- name: 新加坡-5
  type: vless
  server: cf-yes.nekocloud.host
  port: 443
  uuid: 7067f13a-f395-4890-8dfa-99dd9c429bd3
  alterId: 0
  cipher: auto
  udp: true
  encryption: none
  tls: true
  skip-cert-verify: false
  client-fingerprint: chrome
  network: ws
  ws-opts:
    path: /nekocloud/sg-01
    headers:
      Host: sg-01.neko-yes.com
  servername: sg-01.neko-yes.com
- name: 新加坡-6
  type: vless
  server: cf-yes.nekocloud.host
  port: 443
  uuid: 7067f13a-f395-4890-8dfa-99dd9c429bd3
  alterId: 0
  cipher: auto
  udp: true
  encryption: none
  tls: true
  skip-cert-verify: false
  client-fingerprint: chrome
  network: ws
  ws-opts:
    path: /nekocloud/sg-02
    headers:
      Host: sg-02.neko-yes.com
  servername: sg-02.neko-yes.com
- name: 日本-6
  type: vless
  server: cf-yes.nekocloud.host
  port: 443
  uuid: 7067f13a-f395-4890-8dfa-99dd9c429bd3
  alterId: 0
  cipher: auto
  udp: true
  encryption: none
  tls: true
  skip-cert-verify: false
  client-fingerprint: chrome
  network: ws
  ws-opts:
    path: /nekocloud/jp-01
    headers:
      Host: jp-01.neko-yes.com
  servername: jp-01.neko-yes.com
- name: 日本-7
  type: vless
  server: cf-yes.nekocloud.host
  port: 443
  uuid: 7067f13a-f395-4890-8dfa-99dd9c429bd3
  alterId: 0
  cipher: auto
  udp: true
  encryption: none
  tls: true
  skip-cert-verify: false
  client-fingerprint: chrome
  network: ws
  ws-opts:
    path: /nekocloud/jp-02
    headers:
      Host: jp-02.neko-yes.com
  servername: jp-02.neko-yes.com
- name: 韩国-1
  type: vless
  server: cf-yes.nekocloud.host
  port: 443
  uuid: 7067f13a-f395-4890-8dfa-99dd9c429bd3
  alterId: 0
  cipher: auto
  udp: true
  encryption: none
  tls: true
  skip-cert-verify: false
  client-fingerprint: chrome
  network: ws
  ws-opts:
    path: /nekocloud/kr-01
    headers:
      Host: kr-01.neko-yes.com
  servername: kr-01.neko-yes.com
- name: 美国-5
  type: vless
  server: cf-yes.nekocloud.host
  port: 443
  uuid: 7067f13a-f395-4890-8dfa-99dd9c429bd3
  alterId: 0
  cipher: auto
  udp: true
  encryption: none
  tls: true
  skip-cert-verify: false
  client-fingerprint: chrome
  network: ws
  ws-opts:
    path: /nekocloud/us-01
    headers:
      Host: us-01.neko-yes.com
  servername: us-01.neko-yes.com
- name: 美国-6
  type: vless
  server: cf-yes.nekocloud.host
  port: 443
  uuid: 7067f13a-f395-4890-8dfa-99dd9c429bd3
  alterId: 0
  cipher: auto
  udp: true
  encryption: none
  tls: true
  skip-cert-verify: false
  client-fingerprint: chrome
  network: ws
  ws-opts:
    path: /nekocloud/us-02
    headers:
      Host: us-02.neko-yes.com
  servername: us-02.neko-yes.com
- name: 新加坡-7
  type: vless
  server: sg03.ea9c2ab8-b920-4e14-a158-f1c21c866378.genshinimpact.cyou
  port: 443
  uuid: 0ad8f7d9-85a2-45f3-9948-27903a20ec29
  udp: true
  tls: true
  skip-cert-verify: false
  flow: xtls-rprx-vision
  client-fingerprint: safari
  reality-opts:
    public-key: 6tZ4-sKZoUDDkjCPqpsJlWWo8Q5eW7IXuZUuUPPh2h8
    short-id: 9cd7cae9
  network: tcp
  servername: updates.cdn-apple.com
- name: 日本-8
  type: vless
  server: jp03.73c01f37-d10a-4317-a43a-380fc51d0bc4.genshinimpact.cyou
  port: 443
  uuid: 0ad8f7d9-85a2-45f3-9948-27903a20ec29
  udp: true
  tls: true
  skip-cert-verify: false
  flow: xtls-rprx-vision
  client-fingerprint: safari
  reality-opts:
    public-key: upIlaFG6DWfKE8wjn_qXYqb9ohDNavC3LRayjJ4Wp1o
    short-id: 94d3f4df
  network: tcp
  servername: updates.cdn-apple.com
- name: 日本-9
  type: vless
  server: 54.199.238.145
  port: 443
  uuid: 0ad8f7d9-85a2-45f3-9948-27903a20ec29
  udp: true
  tls: true
  skip-cert-verify: false
  flow: xtls-rprx-vision
  client-fingerprint: safari
  reality-opts:
    public-key: upIlaFG6DWfKE8wjn_qXYqb9ohDNavC3LRayjJ4Wp1o
    short-id: 94d3f4df
  network: tcp
  servername: updates.cdn-apple.com
- name: 日本-10
  type: vless
  server: jp01.5392a812-9a56-456f-b89a-9e5b4208168a.genshinimpact.cyou
  port: 8443
  uuid: 0ad8f7d9-85a2-45f3-9948-27903a20ec29
  udp: true
  tls: true
  skip-cert-verify: false
  flow: xtls-rprx-vision
  client-fingerprint: chrome
  network: tcp
  servername: cdn-jp01.download.pikoport.com
- name: 日本-11
  type: vless
  server: 13.196.212.168
  port: 8443
  uuid: 0ad8f7d9-85a2-45f3-9948-27903a20ec29
  udp: true
  tls: true
  skip-cert-verify: false
  flow: xtls-rprx-vision
  client-fingerprint: chrome
  network: tcp
  servername: cdn-jp01.download.pikoport.com
- name: 香港-6
  type: vless
  server: staticdelivery.nexusmods.com
  port: 80
  uuid: 0ad8f7d9-85a2-45f3-9948-27903a20ec29
  udp: true
  network: ws
  ws-opts:
    path: /
    headers:
      Host: ak.mcdonaldshamburgergoodgoodgood.xyz
- name: 香港-7
  type: vless
  server: 104.18.42.54
  port: 80
  uuid: 0ad8f7d9-85a2-45f3-9948-27903a20ec29
  udp: true
  network: ws
  ws-opts:
    path: /
    headers:
      Host: ak.mcdonaldshamburgergoodgoodgood.xyz
- name: 美国-7
  type: vless
  server: us01.d168f27a-5efc-4699-891d-eda6ea40be1d.genshinimpact.cyou
  port: 443
  uuid: 0ad8f7d9-85a2-45f3-9948-27903a20ec29
  udp: true
  tls: true
  skip-cert-verify: false
  flow: xtls-rprx-vision
  client-fingerprint: chrome
  reality-opts:
    public-key: eN-hpk_h3mbxeGOfINunn7Ij_nsfFkgja3w5breOygg
    short-id: 296d5815
  network: tcp
  servername: download.windowsupdate.com
- name: 美国-8
  type: vless
  server: us02.4b214271-fd51-4e6b-9303-fe6e915f406d.genshinimpact.cyou
  port: 443
  uuid: 0ad8f7d9-85a2-45f3-9948-27903a20ec29
  udp: true
  tls: true
  skip-cert-verify: false
  flow: xtls-rprx-vision
  client-fingerprint: chrome
  reality-opts:
    public-key: bKG1vbvrxm4NfSqBx-0Co84M_uLLEEftv2Ql8G7rjhM
    short-id: 157eb31c
  network: tcp
  servername: www.bing.com
- name: 美国-9
  type: vless
  server: 104.18.42.54
  port: 80
  uuid: 0ad8f7d9-85a2-45f3-9948-27903a20ec29
  udp: true
  network: ws
  ws-opts:
    path: /
    headers:
      Host: us6.mcdonaldshamburgergoodgoodgood.xyz
- name: 美国-10
  type: vless
  server: staticdelivery.nexusmods.com
  port: 80
  uuid: 0ad8f7d9-85a2-45f3-9948-27903a20ec29
  udp: true
  network: ws
  ws-opts:
    path: /
    headers:
      Host: us6.mcdonaldshamburgergoodgoodgood.xyz
- name: 美国-11
  type: vless
  server: 104.18.42.54
  port: 80
  uuid: 0ad8f7d9-85a2-45f3-9948-27903a20ec29
  udp: true
  network: ws
  ws-opts:
    path: /
    headers:
      Host: us5.mcdonaldshamburgergoodgoodgood.xyz
- name: 美国-12
  type: vless
  server: www.shopify.com
  port: 80
  uuid: 0ad8f7d9-85a2-45f3-9948-27903a20ec29
  udp: true
  network: ws
  ws-opts:
    path: /
    headers:
      Host: us5.mcdonaldshamburgergoodgoodgood.xyz

proxy-groups:

  - name: 🚀 节点选择
    type: select
    proxies:
      - ♻️ 自动选择
      - 🎯 手动选择
      - 🛡️ 故障转移
      - 🇭🇰 香港节点
      - 🇯🇵 日本节点
      - 🇸🇬 新加坡节点
      - 🇺🇸 美国节点
      - DIRECT

  - name: ♻️ 自动选择
    type: url-test
    url: https://www.youtube.com/generate_204
    interval: 300
    tolerance: 50
    proxies:
      - "香港-1"
      - "香港-2"
      - "香港-3"
      - "新加坡-1"
      - "新加坡-2"
      - "日本-1"
      - "日本-2"
      - "美国-1"
      - "美国-2"
      - "美国-3"
      - "日本-4"
      - "新加坡-4"
      - "日本-5"
      - "美国-4"
      - "香港-4"
      - "香港-5"
      - "台湾-1"
      - "新加坡-5"
      - "新加坡-6"
      - "日本-6"
      - "日本-7"
      - "韩国-1"
      - "美国-5"
      - "美国-6"
      - "新加坡-7"
      - "日本-8"
      - "日本-9"
      - "日本-10"
      - "日本-11"
      - "香港-6"
      - "香港-7"
      - "美国-7"
      - "美国-8"
      - "美国-9"
      - "美国-10"
      - "美国-11"
      - "美国-12"

  - name: 🎯 手动选择
    type: select
    proxies:
      - "香港-1"
      - "香港-2"
      - "香港-3"
      - "新加坡-1"
      - "新加坡-2"
      - "日本-1"
      - "日本-2"
      - "美国-1"
      - "美国-2"
      - "美国-3"
      - "日本-4"
      - "新加坡-4"
      - "日本-5"
      - "美国-4"
      - "香港-4"
      - "香港-5"
      - "台湾-1"
      - "新加坡-5"
      - "新加坡-6"
      - "日本-6"
      - "日本-7"
      - "韩国-1"
      - "美国-5"
      - "美国-6"
      - "新加坡-7"
      - "日本-8"
      - "日本-9"
      - "日本-10"
      - "日本-11"
      - "香港-6"
      - "香港-7"
      - "美国-7"
      - "美国-8"
      - "美国-9"
      - "美国-10"
      - "美国-11"
      - "美国-12"

  - name: 🛡️ 故障转移
    type: fallback
    url: https://www.youtube.com/generate_204
    interval: 300
    proxies:
      - ♻️ 自动选择
      - 🇭🇰 香港节点
      - 🇯🇵 日本节点
      - 🇸🇬 新加坡节点
      - 🇺🇸 美国节点
      - DIRECT

  - name: 🇭🇰 香港节点
    type: select
    proxies:
      - "香港-1"
      - "香港-2"
      - "香港-3"
      - "香港-4"
      - "香港-5"
      - "香港-6"
      - "香港-7"

  - name: 🇯🇵 日本节点
    type: select
    proxies:
      - "日本-1"
      - "日本-2"
      - "日本-4"
      - "日本-5"
      - "日本-6"
      - "日本-7"
      - "日本-8"
      - "日本-9"
      - "日本-10"
      - "日本-11"

  - name: 🇸🇬 新加坡节点
    type: select
    proxies:
      - "新加坡-1"
      - "新加坡-2"
      - "新加坡-4"
      - "新加坡-5"
      - "新加坡-6"
      - "新加坡-7"

  - name: 🇺🇸 美国节点
    type: select
    proxies:
      - "美国-1"
      - "美国-2"
      - "美国-3"
      - "美国-4"
      - "美国-5"
      - "美国-6"
      - "美国-7"
      - "美国-8"
      - "美国-9"
      - "美国-10"
      - "美国-11"
      - "美国-12"

  - name: 🤖 AI服务
    type: select
    proxies:
      - ♻️ 自动选择
      - 🛡️ 故障转移
      - 🇺🇸 美国节点
      - 🇯🇵 日本节点
      - 🚀 节点选择

  - name: 🌐 Google
    type: select
    proxies:
      - ♻️ 自动选择
      - 🛡️ 故障转移
      - 🇺🇸 美国节点
      - 🇯🇵 日本节点
      - 🚀 节点选择

  - name: 🎬 流媒体
    type: select
    proxies:
      - ♻️ 自动选择
      - 🛡️ 故障转移
      - 🇭🇰 香港节点
      - 🇯🇵 日本节点
      - 🇺🇸 美国节点
      - 🚀 节点选择

  - name: 💬 Telegram
    type: select
    proxies:
      - ♻️ 自动选择
      - 🛡️ 故障转移
      - 🇸🇬 新加坡节点
      - 🇯🇵 日本节点
      - 🚀 节点选择

  - name: 🍎 Apple
    type: select
    proxies:
      - DIRECT
      - 🚀 节点选择

  - name: 🪟 Microsoft
    type: select
    proxies:
      - DIRECT
      - 🚀 节点选择

  - name: 🔚 Final
    type: select
    proxies:
      - 🚀 节点选择
      - ♻️ 自动选择
      - 🎯 手动选择
      - 🛡️ 故障转移
      - DIRECT


rule-providers:

  Apple:
    type: http
    behavior: classical
    url: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Apple/Apple.yaml
    path: ./ruleset/apple.yaml
    interval: 86400

  Microsoft:
    type: http
    behavior: classical
    url: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Microsoft/Microsoft.yaml
    path: ./ruleset/microsoft.yaml
    interval: 86400

  Google:
    type: http
    behavior: classical
    url: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Google/Google.yaml
    path: ./ruleset/google.yaml
    interval: 86400

  GitHub:
    type: http
    behavior: classical
    url: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/GitHub/GitHub.yaml
    path: ./ruleset/github.yaml
    interval: 86400

  AI:
    type: http
    behavior: classical
    url: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/AI/AI.yaml
    path: ./ruleset/ai.yaml
    interval: 86400

  Telegram:
    type: http
    behavior: classical
    url: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Telegram/Telegram.yaml
    path: ./ruleset/telegram.yaml
    interval: 86400

  GlobalMedia:
    type: http
    behavior: classical
    url: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/GlobalMedia/GlobalMedia.yaml
    path: ./ruleset/globalmedia.yaml
    interval: 86400


rules:

  - RULE-SET,Apple,🍎 Apple

  - RULE-SET,Microsoft,🪟 Microsoft

  - RULE-SET,AI,🤖 AI服务

  - RULE-SET,Google,🌐 Google

  - RULE-SET,Telegram,💬 Telegram

  - RULE-SET,GlobalMedia,🎬 流媒体

  - RULE-SET,GitHub,🚀 节点选择

  - GEOIP,CN,DIRECT

  - MATCH,🔚 Final