Orazio
ba3bf24d89
Merge branch 'test' into test
2020-01-03 18:08:23 +01:00
h-town
465d157a19
Revise route query for IP & GW selection from Quad9 to TEST-NET-1
2020-01-03 10:56:28 -06:00
h-town
78a6f14742
Replace mention of 'Google' with 'Quad9'
2020-01-03 10:43:23 -06:00
Orazio
ef6e84419e
Fix typo and mv command
2020-01-02 18:50:12 +01:00
Orazio
ed46588900
Add rm safeguard to updateRepo(), update README
2019-12-31 10:43:10 +01:00
Orazio
41984e5f40
Fix update scripts from test branch
2019-12-30 11:44:33 +01:00
Orazio
a6087f8bda
bc is not actually required when installing via DKMS
2019-12-29 18:35:37 +01:00
Orazio
a561607272
Mostly changes to the install script, see below
...
Handle running the install script over an existing installation (as the script already did before branching to test-wireguard), providing:
- Update, downloads latest scripts from git repo
- Repair, reinstall PiVPN while keeping existing settings
- Reconfigure, start over overwriting the existing settings
Tag iptables rules as an attempt to make sure that the uninstall script only removes PiVPN rules
Change the armv6l installation to reflect the split of WireGuard snapshots into wireguard-linux-compat and wireguard-tools
2019-12-29 18:25:35 +01:00
Orazio
d17d381049
- When suggesting to use Pi-hole, use the VPN server IP instead of the LAN IP to allow
...
DNS resolution even if the user does not route the local network through the tunnel.
- Format listCONF in a similar way as listOVPN
- Specifically look for a free octet in the last word of clients.txt and not just any word.
Necessary otherwhise public keys starting with a number will match against an octet.
Example: if line is 'name 5abcdefgh 4', then looking for ' 5' will match but '5$' will
not (correctly).
- 'pivpn -c' will show the Connected Clients List for WireGuard too
2019-12-27 15:48:42 +01:00
h-town
e01089945e
Remove Google DNS
...
Remove Google DNS for privacy purposes, replace with Quad9
2019-12-24 03:18:11 -06:00
4s3ti
33b2b2468d
pivpn.io to pivpn.dev, http to https
...
Changed all appearances of pivpn.io to pivpn.dev
Changed all appearances of http to https
2019-12-20 23:30:00 +01:00
Orazio
5f82a0740e
Use variable, create openvpn home, add shellcheck reminder
2019-12-10 19:07:08 +01:00
Orazio
c20e7d2150
Use ${pivpnNET} and ${subnetClass} when adding ufw nat rules
2019-12-10 16:49:40 +01:00
Orazio
d022cafa25
Revert some minor changes
2019-12-10 16:06:28 +01:00
Orazio
ca11f79629
Merge pull request #880 from corbolais/shellcheck4test
...
Shellcheck4test
2019-12-10 14:57:44 +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
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
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
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
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
Orazio
d34577329e
Removed reference to deleted branch
2019-11-27 11:59:53 +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
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
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
Orazio
e77f668021
Kernel headers are required when installing from package too
2019-10-16 18:17:16 +02:00
Orazio
5c97221d3f
Revert some variable names and fix iptables rules
2019-10-16 12:01:50 +02:00
Orazio
3c973e2a48
Bugfixes
2019-10-14 16:51:43 +02:00
Orazio
1777d5c239
Added back Debian 10 support
2019-10-14 15:06:34 +02:00
Orazio
24a1a00d37
Refactoring + WireGuard support
2019-10-14 12:11:16 +02:00
4s3ti
9f20f50e61
Bugfixes and improvements, check update notes
2019-10-12 18:34:37 +02:00