GithubHelp home page GithubHelp logo

tomhense / pia-wg Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hsand/pia-wg

0.0 0.0 0.0 32 KB

A WireGuard configuration utility for Private Internet Access

License: GNU General Public License v3.0

Python 100.00%

pia-wg's Introduction

pia-wg

A WireGuard configuration utility for Private Internet Access

This is a Python utility that generates WireGuard configuration files for the Private Internet Access VPN service. This allows you to take advantage of the WireGuard protocol without relying on PIA's proprietary client.

This was created by reverse engineering the manual-connections script released by PIA. At this stage, the tool is a quick and dirty attempt to get things working. It could break at any moment if PIA makes changes to their API.

pia-wg runs on both Windows and Linux.

This is just a cli version of the original tool, also I packaged it into a proper python package.

Install

Option 1: Build from source

  1. Clone the project and cd into it
  2. Make sure you have the build package installed: pip install build
  3. Execute pythom -m build to build to package
  4. Install the wheel in the dist folder with pip install

Option 2: Download a wheel from the releases

  1. Download the release wheel
  2. Install it with pip install

Usage

usage: pia_wg [-h] [--list] [--region REGION] [--username USERNAME]
              [--password PASSWORD] [--output OUTPUT]

PIA Wireguard

options:
  -h, --help            show this help message and exit
  --list, -l            List available regions
  --region REGION, -r REGION
                        Region to connect to
  --username USERNAME, -u USERNAME
                        PIA username
  --password PASSWORD, -p PASSWORD
                        PIA password
  --output OUTPUT, -o OUTPUT
                        Where to save the config file

Check everything is working

Visit https://dnsleaktest.com/ to see your new IP and check for DNS leaks.

pia-wg's People

Contributors

hsand avatar michaelmagan avatar jsaterdalen avatar konytech avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.