Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

guillaumedsde/docker-qbittorrent-openvpn

 
 

Repository files navigation

OpenVPN and qBittorrent with WebUI

Docker build status Docker Automated build Docker Image Size (latest by date) Docker Pulls Docker Stars GitHub stars


                       DEPRECATION NOTICE
                                            
 Hi, I have deprecated this container in favour of a better 
 one I have developed:
 /~https://github.com/guillaumedsde/alpine-qbittorrent-openvpn
 
 I will not be updating the repository for this container,
 but I will leave the automatic builds enabled during the
 'transition'.
 
 I suggest you switch to the new ones, it has all the same
 features and more, while being smaller and more secure.

This project is forked from haugene/docker-transmission-openvpn and is currently being adapted to work with qBittorrent instead of Transmision.

This repository was forked from GitHub, as such, the main repository is on GitHub and a mirror is on gitlab.com mainly for building the documentation in a CI pipeline. The final images are available in the docker hub

Tags

  • version Docker Image Size (latest by date) as small as an ubuntu image can be, with most up to date qbittorrent-nox

Port Status

What is working:

  • qBittorrent WebUI
  • qBittorrent binds to the VPN IP address, this, plus Haugene's firewall configuration means that no data should leak outside the VPN tunnel

What is not working:

  • configuration of qBittorrent from ENV variables
  • qBittorrent port forwarding

Quick Start

This container contains OpenVPN and qBittorrent with a configuration where qBittorrent is running only when OpenVPN has an active tunnel. It bundles configuration files for many popular VPN providers to make the setup easier.

$ docker run --cap-add=NET_ADMIN -d \
              -v /your/storage/path/:/data \
              -v /path/to/config/directory:/config \
              -v /etc/localtime:/etc/localtime:ro \
              -e CREATE_TUN_DEVICE=true \
              -e OPENVPN_PROVIDER=PIA \
              -e OPENVPN_CONFIG=CA\ Toronto \
              -e OPENVPN_USERNAME=user \
              -e OPENVPN_PASSWORD=pass \
              -e WEBPROXY_ENABLED=false \
              -e LOCAL_NETWORK=192.168.0.0/16 \
              --log-driver json-file \
              --log-opt max-size=10m \
              -p 8080:8080 \
              guillaumedsde/qbittorrent-openvpn

Docker Compose

version: '3.3'
services:
    qbittorrent-openvpn:
        volumes:
            - '/your/storage/path/:/data'
            - '/path/to/config/directory:/config'
            - '/etc/localtime:/etc/localtime:ro'
        environment:
            - CREATE_TUN_DEVICE=true
            - OPENVPN_PROVIDER=PIA
            - OPENVPN_CONFIG=CA Toronto
            - OPENVPN_USERNAME=user
            - OPENVPN_PASSWORD=pass
            - WEBPROXY_ENABLED=false
            - LOCAL_NETWORK=192.168.0.0/16
        cap_add:
            - NET_ADMIN
        logging:
            driver: json-file
            options:
                max-size: 10m
        ports:
            - '8080:8080'
        image: guillaumedsde/qbittorrent-openvpn

Documentation

The full documentation is available at https://guillaumedsde.gitlab.io/docker-qbittorrent-openvpn/ .

About

Docker container running qBittorrent torrent client with WebUI over an OpenVPN tunnel

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 92.0%
  • Dockerfile 5.0%
  • Python 3.0%