Skip to content

Instantly share code, notes, and snippets.

@tpretz
tpretz / pia-wg.sh
Created April 19, 2020 11:12
PIA wireguard enroll
#!/bin/bash
# requires data.json from the PIA application /opt/piavpn/etc/data.json in the working dir
USR=""
PASS=""
LOC="uk"
# generated public key
PKEY=""