← sources

Privateerr: PIA WireGuard, port forwarding and recovery with Gluetun

source: reddit (reddit:selfhosted)published 2026-11-14 12:44ingested 2026-11-15 02:35

retained text

I maintain [Privateerr](https://github.com/scottgigawatt/privateerr), an open-source Docker tool for people using PIA, WireGuard, Gluetun and qBittorrent.

It started as a pet project for my own setup. I mostly put it on GitHub so I could version-control my changes, but it gradually grew into something useful beyond just my setup. More recently, I’ve been using AI to help add features, and improve the documentation.

Privateerr packages PIA’s official connection scripts and generates the WireGuard configuration. Gluetun runs the VPN tunnel and handles PIA port forwarding, with the included integration keeping qBittorrent’s listening port in sync with the forwarded port.

Recent work has focused on a few practical things:

* Built-in recovery that can refresh the configuration after a sustained VPN outage, without mounting the Docker socket.
* A quickstart using published images for Privateerr, Gluetun and qBittorrent.
* Clearer setup, region-selection and troubleshooting instructions.

I also maintain [Plundarr](https://github.com/scottgigawatt/plundarr), which generates a larger media stack as one Compose project, and [Plundarrpedia](https://scottgigawatt.github.io/plundarrpedia/), which walks through setup and connecting the applications.

The projects are free and open source; Privateerr requires a PIA subscription. If you already use PIA and Gluetun, give it a try. I’d be interested to hear how setup goes and what could be clearer.

Thanks!

document fetched 2026-11-15 00:27 · canonical https://reddit.com/r/selfhosted/comments/1xw1jpb/privateerr_pia_wireguard_port_forwarding_and