Commit Graph

7 Commits

Author SHA1 Message Date
gunix 742a492eee Region Selection and Other Improvements
- separated get_region and get_token into two separate scripts, allowing for independent calls to each if desired; this also allows the implementation of other features mentioned below
- implemented use of new centralized authentication server for easier automation; the new API is  located at https://privateinternetaccess.com/gtoken/generateToken
- added server selection capabilities to run_setup.sh, as requested by multiple users
- added one-line call capabilities to run_setup.sh to allow easy automation
- changed PIA_AUTOCONNECT to VPN_PROTOCOL for clarity
- added AUTOCONNECT for one-line calls
- added PREFERRED_REGION for one-line calls
- added colored output to highlight important details
- added input validation for prompts in run_setup.sh
2021-01-22 01:12:23 +02:00
Saverio Miroddi 338ca1ac42
Check if IPv6 got disabled via kernel parameter before trying to disable it 2020-11-14 23:47:22 +02:00
Saverio Miroddi 69dd8154ce Make the OpenVPN credentials file readable only by root
It previously was world-readable (0644 permissions).
2020-11-14 17:20:33 +02:00
iPherian 58f7ed3ad2
Detect interfaces on multiple distributions (fixes #25)
This modification will allow users that use specific distributions (example: Ubuntu 18.04) to use the OpenVPN scripts without getting any strange behavior on interface detection.
2020-11-01 14:14:51 +02:00
gunix 44bab04ea1 do not stop OpenVPN script if the PIA_PF is missing; also inform the user he needs PIA_TOKEN to run OpenVPN 2020-10-17 04:09:58 +03:00
nurupo 7a76a24a76
Small fixes (#16)
A lot of typo fixes.
2020-10-12 22:49:40 +03:00
gunix 366f132d1e added support for OpenVPN 2020-10-09 23:11:51 +03:00