Skip to content

Clash/Mihomo 配置

提示

Clash 和 Mihomo 都支持 UsagiPass, 已经安装过系列软件的, 直接查看第2步

  1. 安装 Clash/Mihomo(原 ClashMeta):
  2. 导入 UsagiPass 配置
  3. 确保选择了 UsagiPass 配置,点击启动代理即可生效!
高级方法: 插入在自己的 Clash/Mihomo 配置文件

提示

本方法需熟知 Mihomo 内核 的 proxy-providerrule-provider 方法 以下内容仅供参考,

yaml
proxy-providers:
  UsagiPass:
    type: http
    url: "https://dxpass.turou.fun/UsagiPass.yaml"
    interval: 3600
    health-check:
      enable: true
      url: https://www.gstatic.com/generate_204
      interval: 300
      timeout: 5000
      lazy: true
      expected-status: 204

proxy-group:
- { "name": "舞萌DX登录", "type": "select", "proxies": [ "DIRECT" ], "use": [ "UsagiPass" ] }
  
rule-providers:
  maimaiDX_domain: { "type": "http", "behavior": "domain", "interval": 600, "format": "yaml", "url": "https://up.turou.fun/UsagiPass.yaml", }

rule:
  - 'RULE-SET,maimaiDX_domain,舞萌DX登录'

:::

欢迎加入 UsagiPass 兔兔群:363346002