Commit graph

916 commits

Author SHA1 Message Date
Orazio
b8cbce304c
Merge pull request #878 from corbolais/ufw-care
take care of /etc/ufw/before.rules nat section. safeguard against acc…
2019-12-10 14:56:57 +01:00
Orazio
95b5934814
Merge branch 'test' into ufw-care 2019-12-10 14:56:38 +01:00
Orazio
85907f6b80
Merge branch 'test' into shellcheck4test 2019-12-10 14:53:11 +01:00
Orazio
8936dd2b08
Merge pull request #877 from corbolais/debian-ownership
debian openvpn has dedicated user and group, so rather use those than…
2019-12-10 14:49:23 +01:00
Orazio
3687a124bd
Merge pull request #876 from corbolais/dns-4test
add local resolver as DNS option.
2019-12-10 14:36:30 +01:00
corbolais
da988f6cf4 add gitignore, add unbound config for recursive verifying resolver (increased privacy).
Signed-off-by: corbolais <corbolais@gmail.com>
2019-12-09 21:48:08 +01:00
corbolais
41dbf2b5c6 merge: drop bsdmainutils pkg
Signed-off-by: corbolais <corbolais@gmail.com>
2019-12-09 19:18:58 +01:00
Orazio
cd1b8fbf7f Use printf with column in the listCONF.sh script 2019-12-09 17:05:34 +01:00
corbolais
729674595b rm openvpn:openvpn user/group iff openvpn pkg is removed. shellcheck cleanup. preliminary fixes. add (global) FIXMEs.
Signed-off-by: corbolais <corbolais@gmail.com>
2019-12-09 13:34:25 +01:00
corbolais
e76f3755ab consistent use of pivpnNET, subnetClass and vpnGw.
Signed-off-by: corbolais <corbolais@gmail.com>
2019-12-09 12:41:40 +01:00
corbolais
55dc52d3e0 use openvpn:openvpn user/group ownership unconditionally.
Signed-off-by: corbolais <corbolais@gmail.com>
2019-12-08 20:41:11 +01:00
corbolais
e72786e8de W/space
Signed-off-by: corbolais <corbolais@gmail.com>
2019-12-08 20:37:41 +01:00
corbolais
3c280e0a94 Mostly bug fixes. Mostly harmless.
Signed-off-by: corbolais <corbolais@gmail.com>
2019-12-08 20:35:41 +01:00
corbolais
a05754ea19 shellcheck install.sh. render into sound bashing. correct sed call.
Signed-off-by: corbolais <corbolais@gmail.com>
2019-12-08 20:14:23 +01:00
corbolais
47c84e6a45 add missing bang to shebang. correct usage of cp. correct wrong copy target dir. safeguard sudo-rm-rf. safeguard against variable expansion into IFS chars. clean up whitespace.
Signed-off-by: corbolais <corbolais@gmail.com>
2019-12-08 17:55:43 +01:00
corbolais
1aa6472b72 chg: openvpn-user home, shell.
Signed-off-by: corbolais <corbolais@gmail.com>
2019-12-08 17:40:30 +01:00
corbolais
6e763e0240 Debian: add openvpn user/group if missing.
Signed-off-by: corbolais <corbolais@gmail.com>
2019-12-08 17:34:57 +01:00
corbolais
9c62fe0991 take care of /etc/ufw/before.rules nat section. safeguard against accidentally killing the file.
Signed-off-by: corbolais <corbolais@gmail.com>
2019-12-08 17:18:08 +01:00
corbolais
8affc9a313 debian openvpn has dedicated user and group, so rather use those than nobody:nogroup (as do _many_ other packages and thus all having access to such owned files).
Signed-off-by: corbolais <corbolais@gmail.com>
2019-12-08 16:39:46 +01:00
corbolais
93044d6f6d add local resolver as DNS option.
Signed-off-by: corbolais <corbolais@gmail.com>
2019-12-08 16:13:26 +01:00
Orazio
4466f1503c Better client stats formatting 2019-12-03 17:59:27 +01:00
Orazio
580e1b128e Accept debug fixes using just the enter key 2019-12-02 18:58:29 +01:00
Orazio
e2941f8fae Properly avoid pulling unwanted packages from unstable repo
Currently apt pulls all packages from the unstable repo because the
  script intendation created the file 'limit-unstable' with tabs in it.
  Fixed using printf to create a multiline file (which is the way
  wireguard.com/install suggests).
2019-12-02 17:00:39 +01:00
cfcolaco
d243d9ae12 Fixed Typo
Line 1262: s/jkkprintf/printf/
2019-11-29 10:45:32 +01:00
Orazio
d34577329e Removed reference to deleted branch 2019-11-27 11:59:53 +01:00
cfcolaco
f900d81062 Pre Test into Master merge
changed LatestUpdate.md, added date when changes were pushed to
  master.
2019-11-25 11:54:17 +01:00
Orazio
a03d4e1be2 Fix typo 2019-11-20 18:50:57 +01:00
Orazio
e2da52b1a7 Added Ubuntu Bionic support 2019-11-19 17:29:41 +01:00
Orazio
b0cfd17c9c Merge branch 'test-wireguard' of https://github.com/pivpn/pivpn into test-wireguard 2019-11-19 13:32:38 +01:00
Orazio
b9c6c0f314 Fix exit codes 2019-11-19 13:28:51 +01:00
4s3ti
55adea9ff8
Merge pull request #866 from orazioedoardo/test-wireguard
Unattended installation
2019-11-18 15:59:20 +01:00
Orazio
1ff6f7e9e8 Removed trivial command output 2019-11-18 12:42:04 +01:00
Orazio
34c10a81f3 Renamed pivpnDOMAIN to pivpnSEARCHDOMAIN 2019-11-16 21:25:34 +01:00
Orazio
8ab71601ff Automatically fetch latest WireGuard snapshot 2019-11-16 17:02:15 +01:00
Orazio
d7ebb4cca9 Unattended installation 2019-11-16 14:58:58 +01:00
Orazio
5cb8a05317 Minor unattended fixes, adjusted openvpn settings 2019-11-14 17:42:56 +01:00
Orazio
07abfc97e9 Added unattended installation, fixed some variables 2019-11-14 15:07:01 +01:00
4s3ti
743005e883
Merge pull request #863 from orazioedoardo/test-wireguard
Add uninstall script and Pi-hole detection
2019-11-07 20:42:43 +01:00
Orazio
6bd0beeb94 Fixed missing protocol variable 2019-11-07 18:12:06 +01:00
Orazio
84f90b00a4 Added uninstall and Pi-hole detection 2019-11-07 17:29:21 +01:00
4s3ti
4cceecc102
Merge pull request #856 from whilei/patch-1
Correcting Typo in README
2019-10-24 21:33:30 +02:00
ia
cc618e1eeb
Fix small typo in README 2019-10-23 21:41:12 -05:00
4s3ti
17e62b5754
Merge pull request #852 from IcedComputer/patch-5
Special characters in OVPN12 files
2019-10-19 12:00:44 +02:00
4s3ti
f85086ebfb
Merge pull request #851 from IcedComputer/patch-4
Check if -i iOS can be used
2019-10-19 11:58:51 +02:00
4s3ti
080b335047
Merge pull request #850 from IcedComputer/patch-3
Create OVPN12_Compatible file
2019-10-19 11:58:03 +02:00
IcedComputer
0d6e03757c
Special characters in OVPN12 files
Fixed the issues with special characters in OVPN12 files.
2019-10-18 21:15:37 -07:00
IcedComputer
3dcaea9067
Check if -i iOS can be used
the -i iOS function is not compatible with OVPN 2.4.  This change checks to ensure that the user is not using this version before attempting to create an OVPN12 file.
2019-10-18 21:09:54 -07:00
IcedComputer
fa21666869
Create OVPN12_capable file
MakeOVPN has been updated to include the -i iOS function to allow users to create an OVPN12 format file that can be used with the iOS keychain.  Since the OVPN12 format is incompatible with OpenVPN 2.4 - this change creates a configuration file that determines if the user can create a -i request via MakeOVPN.
2019-10-18 21:00:00 -07:00
4s3ti
4fbb3b8b3c
Merge pull request #849 from orazioedoardo/test-wireguard
Code cleanup + WireGuard support
2019-10-17 10:58:47 +02:00
4s3ti
1f523cbe69
Merge pull request #848 from rrobgill/test
Sub-domains regexp fix
2019-10-17 10:55:38 +02:00