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?

You are viewing a single thread.
View all comments View context
3 points

Yes, it can only affect the network of the container

permalink
report
parent
reply
2 points

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

permalink
report
parent
reply
2 points
*

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.

permalink
report
parent
reply
2 points

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
permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
1 point

That Saltbox one can be used for both Usenet or torrents

permalink
report
parent
reply

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

!piracy@lemmy.dbzer0.com

Create post
⚓ 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.


Community stats

  • 5.6K

    Monthly active users

  • 3.1K

    Posts

  • 75K

    Comments