Jump to content
Not connected, Your IP: 216.73.216.62
Sign in to follow this  
shiesty

Truenas + gluetun + airvpn slow speeds

Recommended Posts

I am trying to setup a custom app via YAML on TrueNAS and I am running into an issue where everything connects but I either get "stalled" or extremely low speeds. Both apps get deployed and don't error out. Gluetun accepts the AirVPN port and gives me a IP address with showing the region.

I went through the forums here and it looks like I have it setup similarly to everyone else, but I am still running into this slowness. I will get something like 50kb download with it never uploading.

Any assistance would be helpful to get this to work.
 

services:
  gluetun:
    cap_add:
      - NET_ADMIN
    container_name: gluetun
    devices:
      - /dev/net/tun:/dev/net/tun
    environment:
      - VPN_SERVICE_PROVIDER=airvpn
      - VPN_TYPE=wireguard
      - WIREGUARD_PUBLIC_KEY=$wgpublic
      - WIREGUARD_PRIVATE_KEY=$wgprivate
      - WIREGUARD_PRESHARED_KEY=$wgpresharedkey
      - WIREGUARD_ADDRESSES=10.x.x.x\32 # from ADDRESS in wg config file
      - WIREGUARD_MTU=1320 #from MTU in config file
      - FIREWALL_VPN_INPUT_PORTS=$airvpnport
    image: qmcgaw/gluetun:latest
    ports:
      - 8888:8888/tcp
      - 8388:8388/tcp
      - 8388:8388/udp
      - '8080:8080'
      - '6881:6881'
      - 6881:6881/udp
    restart: unless-stopped
    volumes:
      - /mnt/pool01/config/gluetun:/gluetun
  qbittorrent:
    container_name: qbittorrent
    environment:
      - PUID=568
      - PGID=568
      - TZ=America\New_York
      - WEBUI_PORT=8080
      - TORRENTING_PORT=$airvpnport
    image: lscr.io/linuxserver/qbittorrent:latest
    network_mode: service:gluetun
    restart: unless-stopped
    volumes:
      - /mnt/pool01/config/qbittorrent:/config
      - /mnt/pool01/data:/data
The Wireguard config file is:
[Interface]
Address = 10.x.x.x/32
PrivateKey = $wgprivate
MTU = 1320
DNS = 10.x.x.1

[Peer]
PublicKey = $wgpublic
PresharedKey = $wgpreshared
Endpoint = america3.vpn.airdns.org:51820
AllowedIPs = 0.0.0.0/0
PersistentKeepalive = 15

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