/PyIA

Python application for establishing and maintaining Private Internet Access Wireguard VPN connections.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

PyIA (Pyvate Internet Access)

Test Status Coverage Status

Python application for establishing and maintaining Private Internet Access Wireguard VPN connections. Fully idempotent so that it can be run by a timer or cron job, ensuring that the host remains connected over time. Roughly based on the steps outlined in the official manual-connections shell scripts.

Features include:

  • Automatic authentication with PIA servers
  • Retries if connection fails
  • Port-forwarding support
  • Ability to run custom command when forwarded port changes
  • Fully idempotent
  • Lightweight (Nothing running between connection refreshes)

Setup and Usage

Installation instructions are included in the wiki here. Configuration and usage instructions can be found here.