wangyu- / tinyfecVPN

A VPN Designed for Lossy Links, with Build-in Forward Error Correction(FEC) Support. Improves your Network Quality on a High-latency Lossy Link.
MIT License
2.28k stars 456 forks source link

Can it support MultiPath TCP (MPTCP)? #122

Closed maojianyou closed 2 months ago

maojianyou commented 2 months ago

Suppose I have a system A and a system B, both running Debian, and I set up tunnels tun1 and tun2 between them using this software. If both A and B activate the MPTCP module and initiate load balancing on tun1 and tun2, a problem arises. A single TCP stream can only travel through one tunnel, such as tun1, which may have limited bandwidth of only 1Mbps, leading to poor network performance. However, I have another 1Mbps available on tun2. If the tunnel was capable of supporting MPTCP, then the single TCP flow could utilize both tun1 and tun2 simultaneously. Would this setup be supported?

wangyu- commented 3 weeks ago

tinyfecvpn:

  1. sends udp packet
  2. encapsulats IP packet

there is nothing tinyfecVPN can utilize from MPTCP IMO.

In other words. MPTCP can run inside tinyfecVPN, but tinyfecVPN cannot run on top of MPTCP.