How do I get Qbittorrent to use gluetun for nordvpn?

I am new to NAS/CasaOS and I am trying to set up a few things on my home NAS.

I followed a video by DB Tech on getting gluetun set up with Qbittorrent on CasaOS except that part where he uses a 2 year outdated Qbittorrent (which, at least to me, makes sense) I opted for the QbitTorrent from big bear casa OS. Needless to say I can not get QbitTorrent to work via gluetun(my nordvpn).

Is there a way to figure this out?

Here is how i did it in my configuration, maybe it helps you:
Now i use proton vpn but i used nordvpn before and It worked nearly the same way I think. Although it is annoying to get your credentials for using wireguard.

  gluetun:
    image: qmcgaw/gluetun:latest
    container_name: gluetun
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun:/dev/net/tun
    environment:
      - VPN_SERVICE_PROVIDER=custom
      - VPN_TYPE=wireguard
      - WIREGUARD_ENDPOINT_IP=
      - WIREGUARD_ENDPOINT_PORT=51820
      - VPN_PORT_FORWARDING_PROVIDER=protonvpn
      - WIREGUARD_PUBLIC_KEY=
      - WIREGUARD_PRIVATE_KEY=
      - WIREGUARD_ADDRESSES=
      - DOT=off
      - CONTROL_SERVER_PORT=8000
      - DNS=192.168.178.XX
      - FIREWALL_OUTBOUND_SUBNETS=172.18.0.0/16,192.168.178.0/24
    volumes:
      - /homelab/config/gluetun:/gluetun
    networks:
      - traefik_network
    restart: unless-stopped

  qbittorrent:
    image: lscr.io/linuxserver/qbittorrent:latest
    container_name: qbittorrent
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=somewhere/world
      - WEBUI_PORT=8085
    volumes:
      - /homelab/config/qbittorrent:/config
      - /homelab/downloads:/downloads
    network_mode: "container:gluetun"
    depends_on:
      - gluetun
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.qbittorrent.rule=Host(`.my.homelab.url`)"
      - "traefik.http.routers.qbittorrent.entrypoints=websecure"
      - "traefik.http.routers.qbittorrent.tls=true"
      - "traefik.http.routers.qbittorrent.tls.certresolver=cloudflare"
      - "traefik.http.services.qbittorrent.loadbalancer.server.port=8085"
    restart:unless-stopped ```

I found the tutorial below very helpful doing exactly this.
tutorial

Use portainer to set the network type for your container to “container” and then select gluetun from the list.

You can still use the same tutorial that I released in that video. Just change the qBittorrent setup. Just keep the networking-related stuff in there.

I couldn’t get it to work with nord, I switched to mullvlad and have had 0 problems.

Currently having this problem as well. I’m trying to work it with qBittorrent from the app store and not qbittorrentvpn, but it isn’t working

Did you figure it out? if so could you post the docker compose?

Do I have to use wireguard? :thinking:

This is the video I followed step by step, and it didn’t work. From the whoogle part on, nothing works. :frowning:

I’m not able to see glutetun as a selectable network inside of the portainer menu for QBT. I can confirm that gluten is running my nord credentials and has a new IP.

I tried this, and I couldn’t get it to work. My gluetun shows its own IP address, but QBT still uses my own. I’m not able to find a network on my system to use as the vpn.

I’d rather figure out nord if I can due to long-term subscriptions and it being such an integral part of my own ecosystem already.

Hi! I am sorry to say that I’ve given up on this and just opted for usenet. I hope you are able to find a fix for this!

I did. The code on DBTech’s website worked really well for me. The issue I had was using Proton’s free VPN. I guess I must have used the full quota that it didn’t work well for me. Once I started paying for it the connection has been superb