sumimura 0 Posted ... Hello, I use Gluetun (openvpn configuration) + qbittorrent. The connection speed is very slow and I don't understand why. I have a maximum download and upload speed of 10 Mio/S in speed tests through the VPN, whereas without it, I have 100 Mio/S. I know that the connection is slower through the VPN, but this seems excessive to me. Is there a specific configuration that needs to be applied in qBittorrent? Any idea where this might be coming from? The server I'm on isn't overloaded, though. Thanks, everyone. Quote Share this post Link to post
gundamlord 0 Posted ... try airvpns 10gbit server for netherlands they give me better speed here in canada i have a symmetrical 1gbps, most regular 1gbit servers are slow for me. Quote Share this post Link to post
sumimura 0 Posted ... (edited) Well i want, but how i can find them? It's not marked anywhere, or maybe I just didn't see it. I tried this one, its worse. Im in UDP Openvpn protocol. Its better than TCP? I did the test with Eddie software in my windows, and i have 700Mbps connexion, and i have only 32 Mbps in all my container, don't know why... Edited ... by sumimura more information Quote Share this post Link to post
sumimura 0 Posted ... Hello, Everything is working today. I succeeded by using WireGuard instead of OpenVPN, and I have at least 150 Mbps (which is already better). Case closed. Quote Share this post Link to post
gundamlord 0 Posted ... yes usually wireguard is better than openvpn, its much faster also yes udp is faster than tcp. udp has no established connection, it just sends packets and doesn't care if they reach the destination. glad it worked for you!! the server you included in the screenshot is the 10gbit one. Quote Share this post Link to post
wXX8VoMK6V 0 Posted ... I have the same problem, same setup: gluetun + wg qbittorrent connecting to NL, doesn't matter if it is a 20gbit server or not. I noticed that the speed can reach full speed (25mb/s for my connection), when a bittorrent peer seems to be in the same region (let's say NL), maybe even the same datacenter. Which means to me that my ISP is not to blame, nor my setup. Downloading a linux iso doesn't go over 10mb/sec, which before was no problem. Did AirVPNs network peering change or is there some kind of throttling going on? (Regarding ingress traffic to the datacenter). Quote Share this post Link to post
sumimura 0 Posted ... (edited) I managed to increase the speed by increasing the TCP buffers and reducing the MTU. (in DEBIAN) For the MTU: (in docker run or docker compose) environment: - WIREGUARD_MTU=1320 or - VPN_MTU=1320 For TCP buffers: (not in container, in the host vm) sudo sysctl -w net.core.rmem_max=25000000 sudo sysctl -w net.core.wmem_max=25000000 sudo sysctl -w net.ipv4.tcp_rmem=“4096 87380 16777216” sudo sysctl -w net.ipv4.tcp_wmem=“4096 65536 16777216” For permanant buffers after reboot: - modify /etc/sysctl.conf - sudo sysctl -p I managed to increase the speed from 30 Mbps to 300 Mbps with this 2 modifications. Edited ... by sumimura Quote Share this post Link to post