wangyu- / udp2raw

A Tunnel which Turns UDP Traffic into Encrypted UDP/FakeTCP/ICMP Traffic by using Raw Socket,helps you Bypass UDP FireWalls(or Unstable UDP Environment)
MIT License
7.16k stars 1.16k forks source link

udp2raw 20200818.0 带宽非对称网络速度异常 #452

Open fuyuxiang0271 opened 1 year ago

fuyuxiang0271 commented 1 year ago

发现一个现象,使用 udp2raw + wireguard, 家用2条宽带,一条下300M,上30M 另一条下500M,上50M, 上下行不对等。 使用udp2raw后,下行速度会降低到和上行一样的速度,而且抢占上行速度会影响隧道中的下行速度。CPU占用很低, 去掉udp2raw直接使用wireguard, 速度和宽带一样,上下行不对等。

--raw-mode faketcp --cipher-mode aes128cbc --auth-mode hmac_sha1 --lower-level 模式。 不清楚是不是bug。

wangyu- commented 1 year ago

it's weird, I am not sure the reason.

if you would like to further debug the issue, maybe you can try some other solutions and see if they have similiar problems, for example:

  1. openvpn with tcp mode
  2. phantun + wireguard.

other ideas: when the problem 下行速度会降低到和上行一样的速度 happens, you download a large file from VPS to your PC (without going through udp2raw/wireguard) with real TCP, see if real TCP can make use of the missing bandwith.