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: HK专线01
  server: 7d0a2gz0-7a0c.aws-agent.net
  port: 10011
  type: ss
  cipher: aes-128-gcm
  password: Sj10bnYDe7w6V29E
  plugin: obfs
  plugin-opts:
    mode: http
    host: af1691488c.m.ctrip.com
  udp: false
- name: JP专线01
  server: 63182sh8-4d7b.aws-agent.net
  port: 10021
  type: ss
  cipher: aes-128-gcm
  password: Sj10bnYDe7w6V29E
  plugin: obfs
  plugin-opts:
    mode: http
    host: af1691488c.m.ctrip.com
  udp: false
- name: SG专线01
  server: 7d0a2gz0-7a0c.aws-agent.net
  port: 10031
  type: ss
  cipher: aes-128-gcm
  password: Sj10bnYDe7w6V29E
  plugin: obfs
  plugin-opts:
    mode: http
    host: af1691488c.m.ctrip.com
  udp: false
- name: US专线01
  server: 63182sh8-4d7b.aws-agent.net
  port: 10051
  type: ss
  cipher: aes-128-gcm
  password: Sj10bnYDe7w6V29E
  plugin: obfs
  plugin-opts:
    mode: http
    host: af1691488c.m.ctrip.com
  udp: false
- name: HK备用01
  type: vless
  server: hk-sakura.private.nowhere-backend.xyz
  port: 8850
  uuid: a4adf959-f282-471e-aa6d-d02146171a74
  alterId: 0
  cipher: auto
  udp: true
  flow: xtls-rprx-vision
  encryption: none
  tls: true
  skip-cert-verify: false
  reality-opts:
    public-key: OZ_b_-5Y13dxWmoCt6O-e_LR1zFqQkoLQEPVu3LfBzg
    short-id: a705f8454a183dd4
  client-fingerprint: chrome
  network: tcp
  servername: gateway.icloud.com
- name: HK备用02
  type: vless
  server: hk-sakura.private.nowhere-backend.xyz
  port: 9417
  uuid: a4adf959-f282-471e-aa6d-d02146171a74
  alterId: 0
  cipher: auto
  udp: true
  flow: xtls-rprx-vision
  encryption: none
  tls: true
  skip-cert-verify: false
  reality-opts:
    public-key: evMHV07qo64e9jr6BeoeY0Oved-zo0gG8Wpq5-klMgM
    short-id: ad22ba9b52d7435d
  client-fingerprint: chrome
  network: tcp
  servername: dl.google.com
- name: TW备用01
  type: vless
  server: hk-sakura.private.nowhere-backend.xyz
  port: 5045
  uuid: a4adf959-f282-471e-aa6d-d02146171a74
  alterId: 0
  cipher: auto
  udp: true
  flow: xtls-rprx-vision
  encryption: none
  tls: true
  skip-cert-verify: false
  reality-opts:
    public-key: dXSlA1oCoZUnqTpBAhNTUsmL5_DlFtnF7DbCg9jYd3k
    short-id: 26ee50ce4d072b89
  client-fingerprint: chrome
  network: tcp
  servername: gateway.icloud.com
- name: TW备用02
  type: vless
  server: hk-sakura.private.nowhere-backend.xyz
  port: 6128
  uuid: a4adf959-f282-471e-aa6d-d02146171a74
  alterId: 0
  cipher: auto
  udp: true
  flow: xtls-rprx-vision
  encryption: none
  tls: true
  skip-cert-verify: false
  reality-opts:
    public-key: A_2BYwcaV6KJMA8uvwIovEOVNA_NGMalda4WYr2YokA
    short-id: 14b589ce356132e3
  client-fingerprint: chrome
  network: tcp
  servername: ajax.microsoft.com
- name: JP备用01
  type: vless
  server: jp-zouter.private.nowhere-backend.xyz
  port: 7185
  uuid: a4adf959-f282-471e-aa6d-d02146171a74
  alterId: 0
  cipher: auto
  udp: true
  flow: xtls-rprx-vision
  encryption: none
  tls: true
  skip-cert-verify: false
  reality-opts:
    public-key: m0IRiI3EipRwvNHd1dJIm7iCxpz-ny-kaFNdPkTwtBI
    short-id: 0dbf5cab8ac47793
  client-fingerprint: chrome
  network: tcp
  servername: swdist.apple.com
- name: JP备用02
  type: vless
  server: jp-zouter.private.nowhere-backend.xyz
  port: 5226
  uuid: a4adf959-f282-471e-aa6d-d02146171a74
  alterId: 0
  cipher: auto
  udp: true
  flow: xtls-rprx-vision
  encryption: none
  tls: true
  skip-cert-verify: false
  reality-opts:
    public-key: SO7FOs2Fz3mmISk01G4seBNUWFPgfutqIqkJn5dX0GE
    short-id: a5f7966b85165587
  client-fingerprint: chrome
  network: tcp
  servername: download-porter.hoyoverse.com
- name: SG备用01
  type: vless
  server: hk-sakura.private.nowhere-backend.xyz
  port: 9467
  uuid: a4adf959-f282-471e-aa6d-d02146171a74
  alterId: 0
  cipher: auto
  udp: true
  flow: xtls-rprx-vision
  encryption: none
  tls: true
  skip-cert-verify: false
  reality-opts:
    public-key: qtcBUnnONu0zgc3YCB3SBESQJvOUGMaK2jOmCuaiCRQ
    short-id: 54598d3ec9d7f209
  client-fingerprint: chrome
  network: tcp
  servername: www.cloudflare.com
- name: SG备用02
  type: vless
  server: hk-sakura.private.nowhere-backend.xyz
  port: 8606
  uuid: a4adf959-f282-471e-aa6d-d02146171a74
  alterId: 0
  cipher: auto
  udp: true
  flow: xtls-rprx-vision
  encryption: none
  tls: true
  skip-cert-verify: false
  reality-opts:
    public-key: 4dK1xO104hknltn7P8aBYjgag-sTCcboM9zCte8vJzc
    short-id: e96c9e2cd094d338
  client-fingerprint: chrome
  network: tcp
  servername: dl.google.com
- name: US备用01
  type: vless
  server: jp-zouter.private.nowhere-backend.xyz
  port: 9559
  uuid: a4adf959-f282-471e-aa6d-d02146171a74
  alterId: 0
  cipher: auto
  udp: true
  flow: xtls-rprx-vision
  encryption: none
  tls: true
  skip-cert-verify: false
  reality-opts:
    public-key: CQaaERP19MvGGrGrGUFVPZyC-Yfx2XsnobpDmBgh3gw
    short-id: da843aee6f5e26e6
  client-fingerprint: chrome
  network: tcp
  servername: gateway.icloud.com
- name: US备用02
  type: vless
  server: jp-zouter.private.nowhere-backend.xyz
  port: 7222
  uuid: a4adf959-f282-471e-aa6d-d02146171a74
  alterId: 0
  cipher: auto
  udp: true
  flow: xtls-rprx-vision
  encryption: none
  tls: true
  skip-cert-verify: false
  reality-opts:
    public-key: -y_sGlu-aD3MBve2LMP6ihYk7U3QUQn3ZUzxGOhu-RU
    short-id: 1df922e6ef69fd9b
  client-fingerprint: chrome
  network: tcp
  servername: www.microsoft.com
- name: HK中转01
  type: vmess
  server: 82.109.227.64
  port: 8080
  cipher: aes-128-gcm
  uuid: 08c97f35-8174-44f6-a2b9-ce248cf519eb
  alterId: 0
  network: ws
  ws-opts:
    path: /c8462d65-0e61-5eff-bb73-4afd084f3e68
    headers:
      Host: tms.dingtalk.com
  udp: true
- name: HK中转02
  type: vmess
  server: 82.109.227.89
  port: 8080
  cipher: aes-128-gcm
  uuid: 08c97f35-8174-44f6-a2b9-ce248cf519eb
  alterId: 0
  network: ws
  ws-opts:
    path: /3d2053af-b101-5710-8078-38128106081b
    headers:
      Host: tms.dingtalk.com
  udp: true
- name: TW中转01
  type: vmess
  server: 82.109.227.64
  port: 8080
  cipher: aes-128-gcm
  uuid: 08c97f35-8174-44f6-a2b9-ce248cf519eb
  alterId: 0
  network: ws
  ws-opts:
    path: /8fa09dd1-1631-5ed4-9de3-bd8faa585dbd
    headers:
      Host: tms.dingtalk.com
  udp: true
- name: JP中转01
  type: vmess
  server: 82.109.227.89
  port: 8080
  cipher: aes-128-gcm
  uuid: 08c97f35-8174-44f6-a2b9-ce248cf519eb
  alterId: 0
  network: ws
  ws-opts:
    path: /48b27e9e-1e69-5cc0-998f-6f1d1138a029
    headers:
      Host: tms.dingtalk.com
  udp: true
- name: JP中转02
  type: vmess
  server: 82.109.227.89
  port: 8080
  cipher: aes-128-gcm
  uuid: 08c97f35-8174-44f6-a2b9-ce248cf519eb
  alterId: 0
  network: ws
  ws-opts:
    path: /f2a1ea72-960b-50df-922f-f94db85815c5
    headers:
      Host: tms.dingtalk.com
  udp: true
- name: KR中转01
  type: vmess
  server: 82.109.227.89
  port: 8080
  cipher: aes-128-gcm
  uuid: 08c97f35-8174-44f6-a2b9-ce248cf519eb
  alterId: 0
  network: ws
  ws-opts:
    path: /274a7731-03a7-5585-8461-b34b7512a701
    headers:
      Host: tms.dingtalk.com
  udp: true
- name: SG中转01
  type: vmess
  server: 82.109.227.64
  port: 8080
  cipher: aes-128-gcm
  uuid: 08c97f35-8174-44f6-a2b9-ce248cf519eb
  alterId: 0
  network: ws
  ws-opts:
    path: /b17d3a59-0106-59a8-84a9-b715cd3cfc1d
    headers:
      Host: tms.dingtalk.com
  udp: true
- name: SG中转02
  type: vmess
  server: 82.109.227.64
  port: 8080
  cipher: aes-128-gcm
  uuid: 08c97f35-8174-44f6-a2b9-ce248cf519eb
  alterId: 0
  network: ws
  ws-opts:
    path: /c1c592aa-575d-5830-aec5-6de129ba7f2c
    headers:
      Host: tms.dingtalk.com
  udp: true
- name: US中转01
  type: vmess
  server: 82.109.227.64
  port: 8080
  cipher: aes-128-gcm
  uuid: 08c97f35-8174-44f6-a2b9-ce248cf519eb
  alterId: 0
  network: ws
  ws-opts:
    path: /b95bfb5e-ea09-51e0-a8f6-dbd2a39288fb
    headers:
      Host: tms.dingtalk.com
  udp: true
- name: US中转02
  type: vmess
  server: 82.109.227.89
  port: 8080
  cipher: aes-128-gcm
  uuid: 08c97f35-8174-44f6-a2b9-ce248cf519eb
  alterId: 0
  network: ws
  ws-opts:
    path: /871605c2-5b56-52e0-8b15-c480f22d88c3
    headers:
      Host: tms.dingtalk.com
  udp: true
- name: 香港中转01
  type: vless
  server: jp-gcp.private.nowhere-backend.xyz
  port: 50799
  uuid: 52a4f902-bff2-407f-a12b-6d8ead71b45c
  alterId: 0
  cipher: auto
  udp: true
  flow: xtls-rprx-vision
  encryption: none
  tls: true
  skip-cert-verify: false
  reality-opts:
    public-key: NePLkFDAIgWVgenS3Ow200MSr83vxEonRQmUuirgh28
    short-id: 01e62f013f86
  client-fingerprint: safari
  network: tcp
  servername: download-porter.hoyoverse.com
- name: 香港中转02
  type: vless
  server: aws-sg-stable.domestic.nowhere-backend.xyz
  port: 62535
  uuid: 52a4f902-bff2-407f-a12b-6d8ead71b45c
  alterId: 0
  cipher: auto
  udp: true
  flow: xtls-rprx-vision
  encryption: none
  tls: true
  skip-cert-verify: false
  reality-opts:
    public-key: NePLkFDAIgWVgenS3Ow200MSr83vxEonRQmUuirgh28
    short-id: 01e62f013f86
  client-fingerprint: safari
  network: tcp
  servername: download-porter.hoyoverse.com
- name: 台湾中转01
  type: anytls
  server: jp-aws-stable.private.nowhere-backend.xyz
  port: 19964
  password: 52a4f902-bff2-407f-a12b-6d8ead71b45c
  udp: true
  sni: cache-proxy.ahdohpiechei.com
  skip-cert-verify: true
- name: 台湾中转02
  type: vless
  server: jp-gcp.private.nowhere-backend.xyz
  port: 13600
  uuid: 52a4f902-bff2-407f-a12b-6d8ead71b45c
  alterId: 0
  cipher: auto
  udp: true
  flow: xtls-rprx-vision
  encryption: none
  tls: true
  skip-cert-verify: false
  reality-opts:
    public-key: OI7rBczX7Ku2Ee2a0vuDvYgWQ_X1HrfqifL6nkJt3hQ
    short-id: '80'
  client-fingerprint: safari
  network: tcp
  servername: download-porter.hoyoverse.com
- name: 日本中转01
  type: anytls
  server: jp-gcp.private.nowhere-backend.xyz
  port: 44456
  password: 52a4f902-bff2-407f-a12b-6d8ead71b45c
  udp: true
  sni: cache-proxy.ahdohpiechei.com
  skip-cert-verify: true
- name: 日本中转02
  type: anytls
  server: jp-aws-stable.private.nowhere-backend.xyz
  port: 14398
  password: 52a4f902-bff2-407f-a12b-6d8ead71b45c
  udp: true
  sni: cache-proxy.ahdohpiechei.com
  skip-cert-verify: true
- name: 新加坡中转01
  type: anytls
  server: aws-sg-stable.domestic.nowhere-backend.xyz
  port: 27399
  password: 52a4f902-bff2-407f-a12b-6d8ead71b45c
  udp: true
  sni: cache-proxy.ahdohpiechei.com
  skip-cert-verify: true
- name: 新加坡中转02
  type: vless
  server: aws-sg-stable.domestic.nowhere-backend.xyz
  port: 50919
  uuid: 52a4f902-bff2-407f-a12b-6d8ead71b45c
  alterId: 0
  cipher: auto
  udp: true
  flow: xtls-rprx-vision
  encryption: none
  tls: true
  skip-cert-verify: false
  reality-opts:
    public-key: 5zT2Ga9n-Ks7qVZmNdbbHu8jZLtUG905GuGFSWs0JjE
    short-id: f35114c3
  client-fingerprint: safari
  network: tcp
  servername: download-porter.hoyoverse.com
- name: 美国中转01
  type: anytls
  server: jp-aws-stable.private.nowhere-backend.xyz
  port: 51855
  password: 52a4f902-bff2-407f-a12b-6d8ead71b45c
  udp: true
  sni: cache-proxy.ahdohpiechei.com
  skip-cert-verify: true
- name: 美国中转02
  type: anytls
  server: jp-gcp.private.nowhere-backend.xyz
  port: 13009
  password: 52a4f902-bff2-407f-a12b-6d8ead71b45c
  udp: true
  sni: cache-proxy.ahdohpiechei.com
  skip-cert-verify: true

proxy-groups:

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

  - name: ♻️ 自动选择
    type: url-test
    url: https://www.youtube.com/generate_204
    interval: 300
    tolerance: 50
    proxies:
      - "HK专线01"
      - "JP专线01"
      - "SG专线01"
      - "US专线01"
      - "HK备用01"
      - "HK备用02"
      - "TW备用01"
      - "TW备用02"
      - "JP备用01"
      - "JP备用02"
      - "SG备用01"
      - "SG备用02"
      - "US备用01"
      - "US备用02"
      - "HK中转01"
      - "HK中转02"
      - "TW中转01"
      - "JP中转01"
      - "JP中转02"
      - "KR中转01"
      - "SG中转01"
      - "SG中转02"
      - "US中转01"
      - "US中转02"
      - "香港中转01"
      - "香港中转02"
      - "台湾中转01"
      - "台湾中转02"
      - "日本中转01"
      - "日本中转02"
      - "新加坡中转01"
      - "新加坡中转02"
      - "美国中转01"
      - "美国中转02"
  - name: 🎯 手动选择
    type: select
    proxies:
      - "HK专线01"
      - "JP专线01"
      - "SG专线01"
      - "US专线01"
      - "HK备用01"
      - "HK备用02"
      - "TW备用01"
      - "TW备用02"
      - "JP备用01"
      - "JP备用02"
      - "SG备用01"
      - "SG备用02"
      - "US备用01"
      - "US备用02"
      - "HK中转01"
      - "HK中转02"
      - "TW中转01"
      - "JP中转01"
      - "JP中转02"
      - "KR中转01"
      - "SG中转01"
      - "SG中转02"
      - "US中转01"
      - "US中转02"
      - "香港中转01"
      - "香港中转02"
      - "台湾中转01"
      - "台湾中转02"
      - "日本中转01"
      - "日本中转02"
      - "新加坡中转01"
      - "新加坡中转02"
      - "美国中转01"
      - "美国中转02"
  - name: 🛡️ 故障转移
    type: fallback
    url: https://www.youtube.com/generate_204
    interval: 300
    proxies:
      - ♻️ 自动选择
      - 🇭🇰 香港节点
      - 🇯🇵 日本节点
      - 🇸🇬 新加坡节点
      - 🇺🇸 美国节点
      - DIRECT

  - name: 🇭🇰 香港节点
    type: select
    proxies:
      - "HK专线01"
      - "HK备用01"
      - "HK备用02"
      - "HK中转01"
      - "HK中转02"
      - "香港中转01"
      - "香港中转02"
  - name: 🇯🇵 日本节点
    type: select
    proxies:
      - "JP专线01"
      - "JP备用01"
      - "JP备用02"
      - "JP中转01"
      - "JP中转02"
      - "日本中转01"
      - "日本中转02"
  - name: 🇸🇬 新加坡节点
    type: select
    proxies:
      - "SG专线01"
      - "SG备用01"
      - "SG备用02"
      - "SG中转01"
      - "SG中转02"
      - "新加坡中转01"
      - "新加坡中转02"
  - name: 🇺🇸 美国节点
    type: select
    proxies:
      - "US专线01"
      - "US备用01"
      - "US备用02"
      - "US中转01"
      - "US中转02"
      - "美国中转01"
      - "美国中转02"
  - 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