Jump to content
Not connected, Your IP: 216.73.217.128
Sign in to follow this  
adr1x

Gluetun + qbittorrent trough airvpn speeds

Recommended Posts

Posted ... (edited)

Helllo everyone,

I run a NAS Qnap TS-464-8g.
I mainly use it for torrenting and media server.
Currently it runs docker image that containes qbittorrent + gluetun with airvpn configuration.

It works fine and connected easily, however, I see slow speeds. Since I tried another vpn , the speeds are way better.
I chose closes servers to me, which are Latvia and Estonia (EDIT5: No longer using these servers, jumped on 20gbit bandwagon).
Could someone tell me if avg speeds of 2mb/s is what expected with airvpn? I seed quite a lot of torrents, about 30active all the time, and speeds should be way higher since i've seen greated with different provider. Thanks.

EDIT: I've added - WIREGUARD_MTU=1280 after I created the thread. with no impact to speeds. still avg 2mb/s upload.
EDIT2: While docker exec'd into gluetun container, and running flat downloadi get 300-350 (40mb/s) mbps speeds
EDIT3: I've noticed that just after starting the container with qbit+gluetun+airvpn(wireguard) i see my torrents uploading at 10mb/s, which would indicate the speeds can be higher, but after a minute, the speed drops to 2mb/s
EDIT4: What boosted speed for me was during config generation selecting MTU in airvpn and making sure the same MTU is set on Gluetun (hence WIREGUARD_MTU=1280). Still far from shown in speedtests.
EDIT6: Tried all 20gbit servers in Europe. UK,DE,NL,CH,RO,SE - can't push over 10mb/s and it is no longer avg at 10mb/s. it is more like avg is 5mb/s. 

Quote
/ # curl -L -o /dev/null http://speedtest.tele2.net/1GB.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
 39  1024M  39 405.0M   0     0 41294k     0   0:00:25  0:00:10  0:00:15 43511k
services:
  # =====================
  #  VPN
  # =====================
  gluetun:
    image: qmcgaw/gluetun:latest
    container_name: gluetun
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun:/dev/net/tun
    ports:
      - 8081:8081   # qBittorrent WebUI
      - 6881:6881
      - 6881:6881/udp
    volumes:
      - /share/CACHEDEV1_DATA/Container/gluetun/config:/config
      - /share/CACHEDEV1_DATA/Container/gluetun:/gluetun
    environment:
      - VPN_SERVICE_PROVIDER=airvpn
      - VPN_TYPE=wireguard
      - TZ=redacted
      - WIREGUARD_PRIVATE_KEY=redacted
      - WIREGUARD_PRESHARED_KEY=redacted
      - WIREGUARD_ADDRESSES=redacted
      - WIREGUARD_MTU=1280
      - SERVER_COUNTRIES=Latvia,Estonia
      - FIREWALL_VPN_INPUT_PORTS=3228
      - LOGLEVEL=debug
      - LOCAL_NETWORK=192.168.0.0/24
      - FIREWALL_INPUT_PORTS=8081
      - PUID=0
      - PGID=0
    networks:
      - proxy
    restart: unless-stopped

  # =====================
  #  QBITTORRENT
  # =====================
  qbittorrent:
    image: lscr.io/linuxserver/qbittorrent:latest
    container_name: qbittorrent
    network_mode: "service:gluetun"
    depends_on:
      gluetun:
        condition: service_healthy
        restart: true 
    environment:
      - PUID=0
      - PGID=0
      - TZ=redacted
      - WEBUI_PORT=8081
    volumes:
      - /share/CACHEDEV1_DATA/'redacted'/qbittorrent:/config
      - /share/CACHEDEV2_DATA/'redacted':/downloads
      - /share/CACHEDEV3_DATA/'redacted':/downloads2
      - /share/CACHEDEV4_DATA/'redacted':/downloads3
    restart: unless-stopped
    
networks:
  proxy:
    external: true
Edited ... by adr1x
Deleted ad

Share this post


Link to post

It has been a while and I am back to report my finds.
I managed to boost my upload speed a bit, now I commonly get avg of 10mb/s upload.
I am not sure if it is intended cap cause I cannot push trough over that. Very rarely it jumps above 15mb/s. But usually hangs about 6-7 mb/s (pun not intended).

What worked for me was during config generation selecting MTU in airvpn and making sure the same MTU is set on Gluetun (hence WIREGUARD_MTU=1280)

But I am still bit unsatisfied  with the upload speeds. I use not that crowded 20gbit servers, and I am pretty sure there is room for extra speed cause I am nowhere near to my line speed.

BUMP I guess, maybe someone has more ideas?

qq

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
Sign in to follow this  

×
×
  • Create New...