Sign inSign up

scottgigawatt/privateerr

By scottgigawatt

•Updated about 11 hours ago

Generate PIA WireGuard config and Gluetun port forwarding metadata.

Image
Networking
Security
Developer tools
1

10K+

scottgigawatt/privateerr repository overview

⁠Privateerr ⚓

Privateerr is a tiny Docker wrapper that packages the original, unmodified pia-foss/manual-connections⁠ scripts from Private Internet Access (PIA).

Important

Privateerr is not a VPN client. It generates a PIA WireGuard configuration file and a small Gluetun port-forwarding metadata file, then exits.

⁠Pull an image 📦

docker pull scottgigawatt/privateerr:latest

latest is the newest stable release. To test the newest successful build from main before it becomes a release, opt in to edge:

docker pull scottgigawatt/privateerr:edge
🏷️ Tag🧭 Purpose
latestNewest stable semantic-version release; recommended for most users.
1.0.0A specific stable release.
1.0Newest stable release in one minor-version line.
1Newest stable release in one major-version line.
edgeNewest successful main build; may change before the next release.
sha-cfa2fb5Image built from a specific source commit.

Major version zero omits the broad 0 alias. Prerelease versions keep only their own version and commit tags, never replacing movable stable aliases. Release publication accepts only v-prefixed annotated SemVer tags whose commits already belong to main.

Published tags are multi-architecture manifests for:

🧱 Platform🖥️ Typical use
linux/amd64Intel and AMD x86_64 systems.
linux/arm64Modern ARM64 systems.
linux/arm/v732-bit ARMv7 systems.

Docker should pull the right image for your host automatically.

Images are built from pinned Alpine digests and scanned before publishing. Dependency updates land through Renovate PRs first, so a rebuild of the same source commit does not silently drift to a new base image.

⁠Generate configuration ⚡

Most users should use the GitHub repository because it includes the Compose file, Makefile, example environment file, and mounted config directories:

git clone --recurse-submodules https://github.com/scottgigawatt/privateerr.git
cd privateerr
cp example.env .env

Set PIA_USER, PIA_PASS, and PIA_PF in the ignored .env file, then generate the files:

make run-privateerr

That writes:

📄 File🎯 Purpose
config/gluetun/wireguard/wg0.confThe PIA WireGuard configuration file.
config/gluetun/wireguard/privateerr.envSelected PIA endpoint and Gluetun port forwarding metadata.

Warning

Keep live wg0.conf and privateerr.env files private. They can contain VPN connection material and deployment-specific metadata.

⁠Pair Privateerr with Gluetun 🧭

Gluetun is a real VPN client. Privateerr generates PIA WireGuard configuration and server metadata for that client.

The simple use case is: generate wg0.conf, copy it into the VPN client you already use, and leave.

The powerful use case is: run Privateerr and Gluetun together in Docker Compose. Privateerr writes the WireGuard config plus PIA_WG_SERVER_NAME; the included Gluetun wrapper reads that server name, exports it as SERVER_NAMES, and Gluetun starts with the right PIA WireGuard server for port forwarding.

⁠Continue with the full documentation 🔗

📚 Resource🔎 Link
GitHub repositoryscottgigawatt/privateerr⁠
PIA scriptspia-foss/manual-connections⁠
Gluetunqdm12/gluetun⁠

Tag summary

Content type

Image

Digest

sha256:404d0b632…

Size

23 MB

Last updated

2 days ago

docker pull scottgigawatt/privateerr