Ysurac / openmptcprouter

OpenMPTCProuter is an open source solution to aggregate multiple internet connections using Multipath TCP (MPTCP) on OpenWrt
https://www.openmptcprouter.com/
GNU General Public License v3.0
1.82k stars 259 forks source link

Not aggregate on incoming connections #3595

Open fzonno opened 2 days ago

fzonno commented 2 days ago

Expected Behavior

Speed not aggregate on incoming connection

Current Behavior

I published a service on TCP port 6180 and 1280. The incoming speed is maximum 20MB but I have two connection FTTC of about 100MB each. If I test with speedtest / nperf I receive an aggregate speed of 200MB as expected. I have a dual nat pfsense solution as described on Wiki status

Specifications

Ysurac commented 1 day ago

What is the VPN you use ? You can try to change it in System->OpenMPTCProuter, "Wizard" tab,"Advanced settings" checkbox.

fzonno commented 1 day ago

I left all the configuration on default. Any clue about the best VPN for aggregate incoming TCP traffic?

vpn

muko82 commented 20 hours ago

Try using GLORYTUN TCP in the screenshot above. Have a look also on the graphs for bandwidth usage (Network -> MPTCP) and check if during nperf/speedtest both channels are effectively used.

It may happens that the provider (especially in Italy, VODAFONE is doing so) is filtering mptcp. In that case you should activate the mptcp over VPN on that specific connection

EDIT: You really don't need to use a VPN unless MPTCP is filtered by the provider. The VPN above "Default VPN" is used by the Proxy only.

fzonno commented 20 hours ago

Hi muko, I have 2 FTTC of about 100MB each. If I try a speedtest both the connection work as expected and the aggregation works. See the image down.jpg and nperf.jpg down nperf

The problem happens when external TCP traffic come from the VPS public IP to the server. I've forwarded two TCP port but in that case the traffic uses just a connection at the maximum speeed of 20MB. I tried to switch the master connection but it always uses just one at 20MB speed.

I tried another installation (with different ISP) with incoming TCP traffic on port 443 and I had the same behaviour.