mihomo icon indicating copy to clipboard operation
mihomo copied to clipboard

[功能请求]求更新使用文档里面的示例

Open kirito201711 opened this issue 1 year ago • 7 comments

Verify steps

  • [X] 我已经在 Issue Tracker 中找过我要提出的请求 I have searched on the issue tracker for a related feature request.
  • [X] 我已经仔细看过 Documentation 并无法找到这个功能 I have read the documentation and was unable to solve the issue.

Description

我想知道vless+httpupgrade的客户端配置怎么写,使用文档里面的示例里面没有。

Possible Solution

No response

kirito201711 avatar May 10 '24 00:05 kirito201711

现在支持vless+httpupgrade或者vless+httpupgrade+cdn吗?

kirito201711 avatar May 10 '24 01:05 kirito201711

文档里有 1. https://wiki.metacubex.one/config/proxies/transport/#ws-optsv2ray-http-upgrade 2. https://github.com/MetaCubeX/mihomo/blob/Alpha/docs/config.yaml image image

xream avatar May 10 '24 01:05 xream

好的,谢谢你!我之前一直在找 network: httpupgrade,结果他在network: ws里面包含了。

kirito201711 avatar May 10 '24 04:05 kirito201711

您好,我按照这个配置还是不行,用v2rayn客户端可以,clash verga不行 1 2

kirito201711 avatar May 12 '24 09:05 kirito201711

您好,我按照这个配置还是不行,用v2rayn客户端可以,clash verga不行 !

mihomo 似乎不支持 ?ed=2560 这个参数。

另外参考 ws 的配置,写成这样也无法启用(服务端是 sing-box,理论上是支持 max-early-data 的):

ws-opts:
  path: /mypath
  headers:
    Host: abc.com
    max-early-data: 2048
    early-data-header-name: Sec-WebSocket-Protocol
    v2ray-http-upgrade: true
    v2ray-http-upgrade-fast-open: true #服务端上要开启 tcp-fast-open

不知道是不是仅支持通过 TFO 来降低握手延迟。

目前可以写成这样来正常连接,并且能够降低一些延迟。

ws-opts:
  path: /mypath
  headers:
    Host: abc.com
    v2ray-http-upgrade: true
    v2ray-http-upgrade-fast-open: true #服务端上要开启 tcp-fast-open

leic4u avatar Jun 02 '24 08:06 leic4u

您好,我按照这个配置还是不行,用v2rayn客户端可以,clash verga不行 1 2

请问解决了吗

MikuChat avatar Jun 29 '24 15:06 MikuChat

clash verga 内核版本太低?

sqkam avatar Jul 30 '24 01:07 sqkam