Proton VPN + qBittorrent (+ VueTorrent UI)
Based heavily and forked from the work that bubuntux did. If you like this image, consider supporting him. Changes from bubuntux's version include:
- Updates to latest s6-overlay version
- Switched to qbittorent-nox-static builds
- Inclusion of VueTorrent, an alternative WebUI for qBittorrent. To use it, tick the Alternative WebUI option and point it to
/vuetorrent
First you need to obtain the wireguard configurations from https://account.protonvpn.com/downloads:
- Enable VPN Accelerator
- Enable NAT-PMP (Port Forwarding)
- Select a server that supports p2p.
Save this configuration file as /config/wireguard/wg0.conf
Start the container using (or equivalent)
docker run -d --privileged -v <localDir>:/config -p 8080:8080 ghcr.io/resech/protorrent:main
The container is only accessible locally or through the docker network, meaning that you will need a reverse proxy like swag or traeffik to access it when not running locally.
You can also add an environment variable that would open the traffic to the specified network
docker run -d --privileged -v <localDir>:/config -p 8080:8080 -e NET_LOCAL=192.168.0.0/24 ghcr.io/resech/protorrent:main
You may get the following error when trying to start the container:
resolvconf: signature mismatch: /etc/resolv.conf
resolvconf: run `resolvconf -u` to update
[#] ip link delete dev wg0
s6-rc: warning: unable to start service svc-wireguard: command exited 1
To resolve this issue, just add the following line to your wg0.conf in the [Interface] section and then relaunch the container:
PreUp = resolvconf -u
| Variable | Default | Description |
|---|---|---|
PUID |
1000 | for UserID |
PGID |
1000 | for GroupID |
NET_LOCAL |
CIDR networks (IE 192.168.1.0/24), add a route to allows replies once the VPN is up. | |
TZ |
UTC | Specify a timezone to use EG Europe/London. |
This project is independently developed for personal use, there is no affiliation with ProtonVPN, ProtonAG or qBittorrent, ProtonAG companies are not responsible for and have no control over the nature, content and availability of this project.
