Closed vic1707 closed 1 week ago
@qdm12 is more or less the only maintainer of this project and works on it in his free time. Please:
Before switching to gluetun I was running haugene's transmission + openvpn combo (using PIA as a provider), I was getting speeds pretty close to a full 1Gbps.
In Docker in your VM? If not, you have your answer: docker and/or the VM are the bottlenecks.
See https://github.com/qdm12/gluetun-wiki/blob/main/faq/bandwidth.md
One more thing not documented (since I'm working on #2586 so there won't need to document it anymore) is try to increase WIREGUARD_MTU
from 1400
to a bit higher. It might become unstable and give you TLS errors notably though, and might not help at all either, but worth a try.
in case wg-easy was messing with wireguard mode.
There is no wg-easy in Gluetun, it's pretty much custom Go code I wrote either interacting with the kernel (kernelspace) or wireguard-go (userspace).
Closing this since this is not a bug, and I cannot do anything really except pointing you in the right direction. FYI I run gluetun with docker on an arch linux host and get near gigabit bandwidth.
Closed issues are NOT monitored, so commenting here is likely to be not seen. If you think this is still unresolved and have more information to bring, please create another issue.
This is an automated comment setup because @qdm12 is the sole maintainer of this project which became too popular to monitor issues closed.
Hi, thx for the reply @qdm12
In Docker in your VM? If not, you have your answer: docker and/or the VM are the bottlenecks.
In podman in the VM, the same one as I'm using for gluetun I had a stack with haugene transmission-openvpn and replaced it with gluetun, everything else is unchanged.
try to increase WIREGUARD_MTU from 1400 to a bit higher.
thx I'll try that !
There is no wg-easy in Gluetun, it's pretty much custom Go code I wrote either interacting with the kernel (kernelspace) or wireguard-go (userspace).
Yup I know, sorry I probably wasn't clear enough, what I meant is that alonside gluetun I have a wg-easy container running, and I thought it could be messing with gluetun (2 containers accessing the same module or sometihng like that). But the behavior is the same even when its turned off so likely not the issue.
Closing this since this is not a bug, and I cannot do anything really except pointing you in the right direction. FYI I run gluetun with docker on an arch linux host and get near gigabit bandwidth.
Okay thx for the info ! I'll continue to look for a fix on my side.
Is this urgent?
No
Host OS
Almalinux 9.4 VM running on a Proxmox server, the VM has 8 cores of a EPYC 7551P 32cores
CPU arch
x86_64
VPN service provider
Windscribe
What are you using to run the container
Podman
What is the version of Gluetun
3.39.1
What's the problem π€
I'm getting really slow speeds but have no idea why nor how to properly debug everything, find bottlenecks etc π.
Before switching to gluetun I was running haugene's transmission + openvpn combo (using PIA as a provider), I was getting speeds pretty close to a full 1Gbps.
Now that I moved to gluetun I'm happy when I get over 70Mbps.
I tried gluetun (as the only running container) in wireguard windscribe mode (as described by the compose file) but also tried PIA in openvpn mode in case wg-easy was messing with wireguard mode. All after a fresh
podman system reset
, and trying minimal configs (nocap_add
/cap_drop
/security_opt
/networks
/sysctls
/different servers, regions/not being inside a pod etc... I've never seen any configuration go past the 120Mbps.Local speeds:
Via gluetun
And a second run cause the first one seemd slow
As an added note, my wg-easy is also just as slow, but given my upload speeds I'm not that surprised.
For now my best guesses are:
But I would love to get some help to figure out what's going on
Share your logs (at least 10 lines)
Share your configuration