dperson / openvpn-client

GNU Affero General Public License v3.0
1.06k stars 587 forks source link

UDP packet loss (~6%) #385

Open steamyRayV opened 3 years ago

steamyRayV commented 3 years ago

I've been using this container for a lot of things and it has been great. I tried using it to stream live TV and it exposed an issue with dropped packets that kills the feed. My other uses for VPN don't seem to mind the packet loss and I hadn't noticed. I've tried everything I know to try with this container and my ovpn file including trying lots of other servers. I am using this container to check the connection: https://hub.docker.com/r/tianon/speedtest With the following command: docker run --rm --net=container:vpn tianon/speedtest --accept-license --accept-gdpr I average 6% loss through my provider. Switching to TCP for testing stopped the packet loss and that's the only setting that has made any difference. I've followed tons of guides to determine MTU and set it accordingly in my ovpn file to no avail. I tried switching from CBC to GCM, no difference. Went through my router settings and logs, no hints there. I just tried out this other project though and I'm getting no packet loss through this container, using the same ovpn configuration file: https://github.com/qdm12/gluetun That's why I've decided to make an issue on here, the other project fixed the issue immediately.

Is there anything I can try to troubleshoot for this container? Thanks.

steamyRayV commented 3 years ago

Gluetun: Latency: 9.87 ms (0.14 ms jitter) Download: 301.41 Mbps (data used: 430.8 MB) Upload: 185.16 Mbps (data used: 242.1 MB) Packet Loss: 0.0%

this project: Latency: 9.65 ms (0.54 ms jitter) Download: 319.77 Mbps (data used: 429.0 MB) Upload: 171.29 Mbps (data used: 249.9 MB) Packet Loss: 5.3%

This has been consistent for months of casually trying to correct it.