Commit Graph

69 Commits

Author SHA1 Message Date
kp-dragos-neagu
203fd68b75
Merge pull request #165 from faireOwl/master
Integration of One-Line Call for DIP
2022-08-30 09:35:56 +03:00
faireOwl
4e5714ecc5 Integration of One-Line Call for DIP
Integrated one-line call support for DIP_TOKEN=none

Fixed formatting issue introduced by longer server names of new servers

Fixed spacing to normalize output in all conditions

Updated readme to provide details about new one-line call example
2022-08-26 10:21:52 -05:00
faireOwl
9b42ad934a
Add: DIP Support (#159)
* Provision of DIP Support

Added dedicated IP support, including DIP_TOKEN for one-line calls and prompts through run_setup.sh.

Adjusted package dependency response for wireguard to list the necessary package (wireguard-tools) to utilize wg-quick.

Updated README.md to clarify package dependencies and include DIP_TOKEN.
2022-08-23 11:59:02 +02:00
gheorghe
c7336e9e03 on wireguard switch back to 0.0.0.0/0 from 0.0.0.0/1, 128.0.0.0/1, as this is blocking connections on some devices 2022-02-20 13:53:02 +02:00
gheorghe
9ee75c4df1 fixed merge conflict on README.md 2022-02-19 04:06:29 +02:00
a1346054
2eaa262bbe make color definitions portable 2022-02-19 04:01:13 +02:00
a1346054
7d85dae095 move variable to the right place and use it 2022-02-19 04:01:13 +02:00
a1346054
775284eacb add color, just like for openvpn 2022-02-19 04:01:13 +02:00
a1346054
a5bd8532be unify quoting style for echo 2022-02-19 04:01:13 +02:00
a1346054
a534a3cc5f fix conditionals 2022-02-19 04:01:13 +02:00
a1346054
f47b320a4a use modern shell syntax and fix various warnings
This unifies the codestyle across all shell scripts, and fixes many
warnings reported through shellcheck. Additionally, it improves
readability for everyone wishing to see what is actually going on.
2022-02-19 04:01:13 +02:00
a1346054
27ed048374 fix spelling 2022-02-19 04:01:13 +02:00
a1346054
e2b9b733af use proper check for root privileges
The root user is not guaranteed to be named 'root'
2022-02-19 04:01:13 +02:00
T. Nowah
f5653e2ed9 updated AllowedIPs to fix iptables errors 2022-02-19 03:32:12 +02:00
Doug
448502d767 Added powershell variant link 2022-02-19 03:23:58 +02:00
FingerlessGloves
d65feb7def Update OPNsense script Scope to include DIP
Update OPNsense script now supports DIP (Dedicated IPs), so this commit is simply to advertise that fact.
2021-12-28 06:05:34 +02:00
g00n1x
b89d7e0382 use www.privateinternetaccess.com instead of privateinternetaccess.com 2021-10-11 14:41:34 +03:00
Valery Kalesnik
b04be889f0 Address some shellcheck reported issues 2021-09-12 20:19:21 +03:00
gunix
6d06b31af1 fix typo on readme 2021-09-12 14:29:32 +03:00
gunix
b8f4116b2d add PowerShell scripts to README in the 3rd party section 2021-09-12 14:28:46 +03:00
John Parton
1e44d65aab Replace #!/bin/bash shebang with #!/usr/bin/env bash 2021-09-12 14:21:00 +03:00
g00n1x
e7d4806a9e use the new v6 serverlist 2021-08-02 16:56:41 +03:00
goonix
1898303f44
add NetworkManager-GUI-Support to the 3rd party section of the readme 2021-06-30 22:15:13 +03:00
Derek Battams
24deb12c74
Add link to piawgcli project (#115) 2021-05-18 16:52:07 +03:00
Michael Moon
804b71f01e
Append triffid/pia-wg to 3rd party repository table (#111)
* Append triffid/pia-wg to 3rd party repository table
2021-04-20 23:14:31 +03:00
Derek Battams
912d606c50
Update my 3rd party repo (#104)
Since pfSense now supports WireGuard directly, Slugger has pivoted his efforts to a pfSense specific solution for PIA + WireGuard.
2021-03-27 13:26:55 +02:00
janranz
dd381a35d5 Update README.md to adjust headers / typos
Minor adjustments to capitalization (for consistency), as well as adjusted spelling.
2021-02-21 02:55:50 +02:00
faireOwl
2e29ad2d8d Added notification about PF requirements
Added notification about requirements of PF to maintain an active script, and the refresh time to be expected.
2021-01-26 23:34:42 +02:00
faireOwl
b8cb2c3684 Normalize spacing
Added a few \n to echos for invalid input notifications, normalizing spacing.
2021-01-26 21:40:20 +02:00
gunix
42db36b7c1 adding faireOwl to the readme as github somehow didn't show him as contributor though he worked a lot on this repo 2021-01-22 02:06:59 +02:00
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