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

Gluetun + qbittorrent trough airvpn speeds

Recommended Posts

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

 

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

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