Commit Graph

39 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
Derek Battams d2d24808b5 Add 3rd party repo: piawgmgr 2020-12-14 20:24:00 +02:00
Zachary Murray b355c4c665 Fix unescaped quotes in manual debug curl command 2020-11-24 03:21:44 +02:00
g00n1x cb51b0b79e multiple README improvements, including a list of 3rd party repos 2020-11-15 03:57:02 +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 3814d4be97 Fix a typo in the README 2020-11-14 17:21:09 +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
gertjanal f312938435 Fix typo bellow to below 2020-11-12 21:01:06 +02:00
goonix d4b04701a5
Merge pull request #34 from lofidevops/pureos
Confirmed that it works on PureOS amber with Librem One token
2020-11-02 23:14:54 +02:00
David 2e53430904 Add PureOS amber.
Signed-off-by: David <david@librem.one>
2020-11-02 20:35:06 +00:00
gunix 88b44a4b76 fixed #32 2020-11-02 01:47:31 +02:00
gunix d85aaf34df Updated the readme to better reflect the distributions that are currently supported. 2020-11-01 18:37:20 +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 82ebed7c9c #22 fixed 2020-10-23 00:27:09 +03: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
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 3e2091e009 #15 fixed 2020-10-12 14:38:52 +03:00
gunix 366f132d1e added support for OpenVPN 2020-10-09 23:11:51 +03:00
bub 8d7b921c28
remove deprecated use of xargs -i for better compatibility 2020-10-03 13:39:34 +03:00
gunix 7c933b10d5 improved output and comments for better user experience 2020-09-25 01:28:57 +03:00
gunix e9aa8545ca do not display regions where PF is blocked if PIA_PF=true 2020-09-24 22:54:19 +03:00
gunix 9a3d77ac4e fix comment 2020-09-23 00:34:02 +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 53d2da47e3 changed documentation and comments to make it easier to read through 2020-09-20 01:39:14 +03:00
gunix d35694dff0 added FreeBSD 12.1 to the list, as it got tested by the community 2020-09-19 14:29:31 +03:00
gunix 91c647fa28 change variable name for DNS 2020-09-19 13:29:15 +03:00
gunix 0fb2a42b49 added disclaimer to specify that the scripts work only ont he NextGen network 2020-09-19 01:10:37 +03:00
gunix 5bc8216463 added disclaimer to README.md 2020-09-19 00:48:23 +03:00
gunix 49bf4998e0 small fixes 2020-09-19 00:35:47 +03:00
gunix 891a054a07 readme improvements 2020-09-19 00:26:00 +03:00
gunix b88e135b89 refactoring and readme improvements 2020-09-19 00:08:43 +03:00
gunix 09dee21d40 added license 2020-09-18 23:24:40 +03:00
gunix f4a5da4260 improved output for regions 2020-09-18 22:25:39 +03:00
gunix 86364ee4dc display a message regarding how to disconnect the VPN 2020-09-18 21:48:44 +03:00
gunix d8449d7544 fixed minor typo 2020-09-18 21:44:40 +03:00
gunix d368c5f99c readme modification 2020-09-18 21:22:42 +03:00
gunix fc2dd73a1c first push 2020-09-18 20:52:20 +03:00