2dust / v2rayN

A GUI client for Windows, support Xray core and v2fly core and others
https://1.2345345.xyz
GNU General Public License v3.0
66.66k stars 11.15k forks source link

[Bug]: cannot config multiport for hysteria2 ex: server.my:10000-11000 #5397

Closed N0TScrooge closed 1 month ago

N0TScrooge commented 1 month ago

预期情况

if hysteria2 save and add multiport to the config for example 10000-11000 or 10000,10001,10003

实际情况

but saves, as for other protocols, only one port, i.e. 10000

复现方法

creating or editing a server

日志信息

2024-07-23 01:50:50.6175-INFO v2rayN start up | v2rayN - V6.50 - 2024/07/05 | C:\v2rayN\6.50\v2rayN.exe 2024-07-23 01:50:50.6797-INFO Microsoft Windows NT 10.0.19045.0 - 64 2024-07-23 01:51:32.9818-INFO MyAppExit Begin 2024-07-23 01:51:33.1069-INFO MyAppExit End 2024-07-23 01:51:33.1364-INFO OnExit

额外信息

No response

我确认已更新至最新版本

我确认已查询历史issues

N0TScrooge commented 1 month ago

config file of working hysteria2

server: server.my:10000-11000 auth: **:*** transport: type: udp udp: hopInterval: 10s quic: initStreamReceiveWindow: 8388608 maxStreamReceiveWindow: 8388608 initConnReceiveWindow: 20971520 maxConnReceiveWindow: 20971520 maxIdleTimeout: 30s keepAlivePeriod: 10s disablePathMTUDiscovery: false fastOpen: true lazy: true socks5: listen: 127.0.0.1:10808 http: listen: 127.0.0.1:10809

2dust commented 1 month ago

Please use a custom configuration Check out the documentation for hy2

N0TScrooge commented 1 month ago

yes, i know this way. but it would be great through the menu/quar code maybe add in future ?