Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows下使用KCP不穩定是無解嗎? #3085

Open
NagisaEfi opened this issue Jul 18, 2024 · 1 comment
Open

Windows下使用KCP不穩定是無解嗎? #3085

NagisaEfi opened this issue Jul 18, 2024 · 1 comment

Comments

@NagisaEfi
Copy link

NagisaEfi commented Jul 18, 2024

你正在使用哪个版本的 V2Ray?

V2Ray-Core v5.16.1 Windows-x64
XRay-Core v1.8.19 Windows-x64
V2RayN v6.51 Windows-x64

你的使用场景是什么?

在Windows下觀看YouTube視訊

你看到的异常现象是什么?

在Windows下使用 VMess+KCP (V2RayN)很不穩定,但在Windows下使用 VMess+TCP 正常。同樣,在Windows下使用 Shadowsocks+KCPTun 很不穩定。
在iPhone(iOS 17)下使用 VMess+KCP 和 Shadowsocks+KCPTun 一切正常。
在Linux(Ubuntu 24.04)下使用 VMess+KCP 和 Shadowsocks+KCPTun 一切正常。
試過兩台Windows筆記本電腦設備(一台是Windows 10,一台是Windows 11),試過重裝Windows作業系統,沒有效果。
作為對比,在Windows下試過 VMess+KCP 和 VLess+KCP ,都很不穩定;Windows下使用 VMess+TCP 和 VLess+TCP 正常。

你期待看到的正常表现是怎样的?

在Windows下可以正常使用 VMess+KCP 。

请附上你的配置

服务端配置:

// 在这里附上服务器端配置文件

客户端配置:

// 在这里附上客户端配置

请附上出错时软件输出的错误日志

服务器端错误日志:

// 在这里附上服务器端日志

客户端错误日志:

// 在这里附上客户端日志

请附上访问日志

// 在这里附上服务器端日志

其它相关的配置文件(如 Nginx)和相关日志

如果 V2Ray 无法启动,请附上 --test 命令的输出

如果 V2Ray 服务运行异常,请附上 journal 日志

@NagisaEfi
Copy link
Author

NagisaEfi commented Jul 19, 2024

  1. 在物理機(筆記本電腦)重裝Windows 10 LTSC,運行V2RayN和 VMess+KCP,看YouTube 720P和1080P正常。
  2. 在物理機重裝Windows 10,運行V2RayN和 VMess+KCP,看YouTube很不穩定。
  3. 在Windows 10下用netsh int ipv4 set dynamicport udp start=32768 num=32768命令和netsh int ipv6 set dynamicport udp start=32768 num=32768命令調整UDP臨時端口範圍,運行V2RayN和 VMess+KCP,看YouTube 720P和1080P正常。
    Screenshot (2) - Copy
  4. 結論:有可能是Windows 10/11自帶的UWP Apps佔用了大量UDP臨時端口。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant