Clash Mihomo 是一款流行的代理工具,用于管理和配置各种代理协议。关于您的问题,Clash Mihomo 可以支持 VLESS 和 XHTTP 协议。以下是如何将您的配置从 Clash 转换为 Clash Mihomo 的 YAML 格式的方法:

stream:
  type: vless
  protocol: http
  settings:
    vnext:
    - address: cf.090227.xyz
      port: 443
      users:
      - id: xxxx
        encryption: none
  security: tls
  tlsSettings:
    serverName: cdn.abc.com
    alpn:
    - h2
    fingerprint: chrome
  httpSettings:
    mode: auto
    path: /abc1234

route:
  rules:
  - rule: to-vless-xhttp
    type: vless
    protocol: http
    settings:
      vnext:
      - address: cf.090227.xyz
        port: 443
        users:
        - id: xxxx
          encryption: none
    streamSettings:
      network: http
      security: tls
      tlsSettings:
        serverName: cdn.abc.com
        alpn:
        - h2
        fingerprint: chrome
      httpSettings:
        mode: auto
        path: /abc1234

请确保您已经安装了 Clash Mihomo,并且正确配置了 Docker 环境。您可以在 Clash Mihomo 的配置文件中添加上述内容,以实现 VLESS 和 XHTTP 协议的代理。如果有任何问题,请参考 Clash Mihomo 的官方文档或寻求社区的帮助。

标签: none

评论已关闭