# PIA qBittorrent

PIA qBittorrent is a Docker image that runs qBittorrent behind Private Internet Access (PIA) VPN on Alpine Linux. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/214/pia-qbittorrent

## Description

PIA qBittorrent is a Docker image that runs qBittorrent behind Private Internet Access (PIA) VPN on Alpine Linux. It hides the host's public IP, blocks outbound traffic if the VPN drops, detects stalled PIA connections, switches to another PIA server when needed, and manages PIA port forwarding where the selected region supports it. It is aimed at self-hosters who want a persistent, low-maintenance torrent client with an always-on VPN.

## Platform availability

Available on 1 of 9 platforms: Unraid.

## Health score

57/100 (Fair), based on 3 of 4 factors.
- Maintained: 100 (last commit 17 days ago)
- Popular: 6 (1 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)

## Links

- Docker Hub: https://hub.docker.com/r/gjergjk/pia-qbittorrent
- Unraid: https://ca.unraid.net/apps/pia-qbittorrent-030i7nv1ceczcn?q=pia-qbittorrent
- Documentation: https://knowledge.pia.ai
- GitHub: https://github.com/GeorgeAL78/pia-qbittorrent-docker

## Common questions

### What happens if the PIA VPN connection drops?

The container is designed to lose internet access instead of falling back to the host IP. It can also detect stalled PIA connections and repair them automatically.

### Can the image use WireGuard or OpenVPN for PIA?

Yes, the container supports both WireGuard and OpenVPN connections to PIA.

### Should UPnP be enabled when using a PIA forwarded port?

One user disables UPnP for security and only changes the forwarded port. They also suggest binding qBittorrent to the renamed PIA adapter.

### Why can qBittorrent fail to resolve hostnames through PIA's SOCKS5 proxy?

PIA's SOCKS proxy can break DNS lookups. If resolving names outside the proxy is acceptable, uncheck proxy usage for hostname lookups in qBittorrent's proxy settings.

### Is there a desktop wrapper for the qBittorrent Web UI?

A companion Electron app for Windows 11 wraps the qBittorrent Web UI. It shows the running container version from an X-Docker-Version response header.

---
Source: Our Local Host (https://ourlocalhost.com/app/214/pia-qbittorrent), the self-hosted and open-source app directory.
