Jump to content
Not connected, Your IP: 216.73.216.0

Recommended Posts

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.

image.png.8ced1775de22f7df9e2f4f52c9894218.png

Share this post


Link to post

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. 

Share this post


Link to post
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?
image.png.220c52a2c031f0c9004a75962d247b15.png
image.png.e335430d2e150404b687ce08a000696e.png

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

Share this post


Link to post

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.

Share this post


Link to post

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. 

Share this post


Link to post

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).

Share this post


Link to post
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

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...