Skip to content
المشاريع

حول

A Docker image for using PIA with WireGuard. Feature-rich and optimized for reliability, security, and throughput.

الأنظمة والبنية التحتية

كيف تُقاس هذه الأرقام

ما يمكنك فعله

  • Strict killswitch - Zero-leak design with fast engagement (~25ms on amd64)
  • WireGuard speed - Tested at greater than 95% of line speed with automatic MSS clamping
  • Reliable reconnect - Handles outages gracefully and avoids reconnect churn
  • Port forwarding - Manages port acquisition, keepalive, and expiry/refresh

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
+١٠
خلال 15 يومًا
جارٍ جمع السجل
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

pia-tun

A feature-rich and reliable VPN container image for PIA + WireGuard

Features

  • Strict killswitch - Zero-leak design with fast engagement (~25ms on amd64)
  • WireGuard speed - Tested at greater than 95% of line speed with automatic MSS clamping
  • Reliable reconnect - Handles outages gracefully and avoids reconnect churn
  • Port forwarding - Manages port acquisition, keepalive, and expiry/refresh
  • Port syncing - Automatically syncs port to qBittorrent, Deluge, Transmission, and custom endpoints
  • SOCKS5 + HTTP Proxies - Allows other machines and containers to access VPN (optional authentication)
  • DoT Support - Encrypt your DNS requests to further anonymize
  • Observability - /health, /ready, /metrics (prometheus), and /metrics?format=json
  • Smart server selection - Chooses the lowest-latency server from selected location(s), or from all locations
  • Minimal host support - Supports WireGuard userspace (wireguard-go) and iptables-legacy auto-fallback
  • No manual auth token - Auth token acquired automatically and kept fresh
  • Dedicated IP support - Connect to a reserved PIA IP using your dedicated IP token
  • Multi-architecture images - amd64, arm64, and armv7

PIA has reversed their position on rotating IPs. You can read more here, but generally no action needed.


Title image

Latest Version Docker Image Size

Docker Pulls GitHub stars

Quick Start

Versions: latest, develop, and semantic (1, 1.0, 1.0.0)

Copy-Paste Examples:

Running on Unraid? See the guide.

Minimal Compose

services:
  pia-tun:
    image: x0lie/pia-tun:latest
    container_name: pia-tun
    cap_add:
      - NET_ADMIN
    cap_drop:
      - ALL
    secrets:
      - pia_user
      - pia_pass

secrets:
  pia_user:
    file: ./secrets/pia_user
  pia_pass:
    file: ./secrets/pia_pass

Image also available as ghcr.io/x0lie/pia-tun

More Documentation

Support

License

MIT License

Acknowledgments

Special thanks to Kevin for getting me into containerization

Built with:

Not affiliated with Private Internet Access

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…