46

Are there any good docker containers that have an openvpn + qbittorrent configuration setup in such a way that the torrents won't run if the vpn isn't running?

top 23 comments
sorted by: hot top controversial new old
[-] clamzz@lemmy.world 7 points 1 year ago
[-] Cqrd@lemmy.dbzer0.com 1 points 1 year ago

This looks cool, but I think I'm missing how this installs in a docker container. I feel stupid for being confused by this 🤔

[-] fiofiofio@kbin.social 6 points 1 year ago

The binhex container has worked well for me on Unraid.

[-] MadCybertist@kbin.social 3 points 1 year ago

I second this. I prefer their deluge container but really like how binhex has things set up.

[-] Cqrd@lemmy.dbzer0.com 1 points 1 year ago

This actually looks basically exactly like what I want, but only runs on arch. I do have an arch server but it's not my normal tor server. Is there a debian version of this? If not it's cool, I might put it on my arch server, it'd just be easier to keep it on my existing tor server.

[-] please_lemmy_out@lemmy.world 4 points 1 year ago

Arch is just the base that is used for the containers. It doesn't matter what your host OS is.

haugene/docker-transmission-openvpn might be what you’re looking for. I’ve had success with that container in the past.

[-] MrReBot@lemmy.world 1 points 1 year ago

Can confirm have been running this for years now without much issue

[-] Kururin@talk.kururin.tech 2 points 1 year ago
[-] Cqrd@lemmy.dbzer0.com 1 points 1 year ago

Well that looks really neat

[-] dustojnikhummer@lemmy.world 1 points 1 year ago

Just fyi, not a docker application

[-] macgyver@lemmy.ashes.wtf 1 points 1 year ago

Good lxc container for those just starting out tho

[-] zouhair@lemmy.dbzer0.com 1 points 1 year ago

Asks to be installed as root, nah

[-] dustojnikhummer@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

I can give you my Gluetun+QBittorrent compose file, but I use it with Wireguard.

Once you are in the qbittorrent webUI make sure to bind it to the VPN port, which should be tun0.

services:
  gluetun:
    image: qmcgaw/gluetun
    container_name: qbittorrent_vpn
    cap_add:
      - NET_ADMIN
    environment:
      - VPN_SERVICE_PROVIDER=
      - VPN_TYPE=wireguard
      - WIREGUARD_PRIVATE_KEY==
      - WIREGUARD_ADDRESSES=
      - SERVER_COUNTRIES=
      - TZ=Europe/Prague
    ports:
      - 8080:8080
      - 6881:6881
      - 6881:6881/udp
    restart: unless-stopped
    networks:
      - traefik

  qbittorrent:
    image: lscr.io/linuxserver/qbittorrent:latest
    container_name: qbittorrent
    environment:
      - TZ=Europe/Prague
      - WEBUI_PORT=8080
    volumes:
      - /docker/containers/qbittorrent/config:/config
      - /docker/containers/qbittorrent/downloads:/downloads
    restart: unless-stopped
    network_mode: "service:gluetun"

networks:
  traefik:
    external: true
[-] zedricxks@lemmy.dbzer0.com 2 points 1 year ago

So question does a vpn in a docker container directly tunnel that docker to the vpn basically not touching anything outside of it(i.e home ip/net)?

[-] Cqrd@lemmy.dbzer0.com 3 points 1 year ago

Yes, it can only affect the network of the container

[-] zedricxks@lemmy.dbzer0.com 2 points 1 year ago

Ah interesting. Might be worth looking into the saltbox someone posted above. I currently use a seedbox service

[-] Toribor@corndog.uk 2 points 1 year ago* (last edited 1 year ago)

I run wireguard in one container (as a client connected to Mullvad), and then qBittorent in another container but using the network of the wireguard container.

Then I just set up routing rules in wireguard to allow my local network to be exempted from the tunnel so I can reach the web interface of qBittorent.

All my torrent traffic goes over the VPN, I can still reach the webui and none of my other containers are affected. Super simple and very reliable.

[-] dustojnikhummer@lemmy.world 2 points 1 year ago

I have my qbittorrent behind Gluetun and port forward the web interface port through Gluetun

version: "3"
services:
  gluetun:
    image: qmcgaw/gluetun
    container_name: qbittorrent_vpn
    cap_add:
      - NET_ADMIN
    environment:
      - VPN_SERVICE_PROVIDER=
      - VPN_TYPE=wireguard
      - WIREGUARD_PRIVATE_KEY==
      - WIREGUARD_ADDRESSES=
      - SERVER_COUNTRIES=
      - TZ=Europe/Prague
    ports:
      - 8080:8080
      - 6881:6881
      - 6881:6881/udp
    restart: unless-stopped
    networks:
      - traefik

  qbittorrent:
    image: lscr.io/linuxserver/qbittorrent:latest
    container_name: qbittorrent
    environment:
      - TZ=Europe/Prague
      - WEBUI_PORT=8080
    volumes:
      - /docker/containers/qbittorrent/config:/config
      - /docker/containers/qbittorrent/downloads:/downloads
    restart: unless-stopped
    network_mode: "service:gluetun"

networks:
  traefik:
    external: true
[-] Toribor@corndog.uk 1 points 1 year ago

Very nice! This is basically exactly what I'm doing except I'm doing it in ansible and using the linuxserver/wireguard container.

[-] dustojnikhummer@lemmy.world 1 points 11 months ago

I went with Gluetun because they work with either OVPN or Wireguard (depends on what you configure in compose) and I have already used it through Truecharts

[-] zedricxks@lemmy.dbzer0.com 1 points 1 year ago

Now you got me thinking Might actually make a post asking for an equivalent usenet (box) to have a usenet and seedbox on prem:D

[-] Cqrd@lemmy.dbzer0.com 1 points 1 year ago

That Saltbox one can be used for both Usenet or torrents

load more comments
view more: next ›
this post was submitted on 08 Jul 2023
46 points (97.9% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

52563 readers
572 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder


💰 Please help cover server costs.

Ko-FiLiberapay


founded 1 year ago
MODERATORS