Bash wireguard connection script to manually select Private Internet Access wireguard servers to attempt VPN connection with. https://www.privateinternetaccess.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
geert 04737520b8 first commit 1 month ago
README.md first commit 1 month ago
wg-pia.bash first commit 1 month ago

README.md

Bash wireguard connection script to manually select Private Internet Access wireguard servers to attempt VPN connection with.

www.privateinternetaccess.com, Private Internet Access, PIA

Issues:

  • somewhere it attempts to enter / ‘cd’ to /etc/vpn/wireguard. Either create that directory as also storage to $PIA_SERVERS_FILE or change at wish, as an example.

  • there might be compatibility issues regarding its ‘shebang’. /bin/bash often does, but doesn’t necessarily, imply the same at any system I guess.

If PIA get to change serverlist location and/or format and the script isn’t adapted accordingly, it’ll most probably fail building wireguard connections (unless some snoopy goon(s) tried some MitM stuff, as an example).

This script is NOT legally licensed AT ALL. I’m almost positive legal effects come close to BSD license, more than e.g. GNU Public License regardless version.

I’m not a ‘copyright believer’, you get to share/modify/apply/describe it as you get to share/modify/apply/describe it.

However, you’re not forbidden to try and contact me.