Commit Graph

11 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
gunix 88b44a4b76 fixed #32 2020-11-02 01:47:31 +02:00
faireOwl 24c7733c14 Added a 25 second keepalive to keep the NAT active on firewalls. 2020-10-13 20:45:01 +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
gunix 1ab988a12f refactoring for the last commit 2020-09-23 00:32:44 +03:00
Michael Moon aac22fe847
Check more things (#2)
This commits will be reviewed in the next commit, to align coding style with the entire project.

The merge request from @triffid included the following commits:
* connect_to_wireguard_with_token: Check if "jq" and "curl" are available, allow script to issue multiple errors in a single invocation
* connect_to_wireguard_with_token: ensure /etc/wireguard exists
* connect_to_wireguard_with_token: only complain about ipv6 if it's not already disabled
* get_region_and_token: allow specifying maximum latency via environment variable, retain 50ms default
* connect_to_wireguard_with_token: pack tool checks within a function
* get_region_and_token: rename maximum_allowed_latency -> MAX_LATENCY
2020-09-23 00:17:46 +03:00
gunix 91c647fa28 change variable name for DNS 2020-09-19 13:29:15 +03:00
gunix 49bf4998e0 small fixes 2020-09-19 00:35:47 +03:00
gunix b88e135b89 refactoring and readme improvements 2020-09-19 00:08:43 +03:00