Commit graph

770 commits

Author SHA1 Message Date
Douglas Orend
8b40035bf5 Properly determine user's home directory
Code assumes that the specified user directory is under /home.  This code parses the /etc/passwd file in order to determine what that user's proper home directory is.
2019-08-13 11:23:08 -05:00
4s3ti
18b7e16694
Merge branch 'test' into bitwarden 2019-08-08 10:34:17 +02:00
4s3ti
c2c3fc4229
Merge pull request #803 from orazioedoardo/recreate-ovpn-folder
Recreate ovpn folder if deleted
2019-08-07 16:45:56 +02:00
4s3ti
92cbcda66a
Merge pull request #804 from orazioedoardo/ufw-version-check
Handle older UFW version from Jessie
2019-08-07 15:09:35 +02:00
Orazio
b71c67c78a Recreate ovpn folder if deleted 2019-08-06 10:02:28 +02:00
Orazio
e6a13cc65e Handle older UFW version from Jessie 2019-08-06 09:53:14 +02:00
Akvile
b60a06791d integrated bitwarden password manager into pivpn 2019-07-23 22:12:35 +02:00
4s3ti
e8883238f5
Merge pull request #789 from revolter/patch-1
Fix typo in a setup message
2019-07-14 00:30:24 +01:00
4s3ti
a8df7f26cf
Merge pull request #788 from orazioedoardo/miscellaneous
Miscellaneous fixes
2019-07-14 00:22:43 +01:00
Iulian Onofrei
2ba8b0c262
Fix typo in a setup message 2019-07-14 01:01:44 +03:00
Orazio
8a6d32ced5 Fixed regular expression 2019-07-13 19:59:28 +02:00
Orazio
1b54558769 Fix update option 2019-07-13 12:48:53 +02:00
Orazio
241e06f970 Miscellaeous fixes 2019-07-13 10:45:44 +02:00
4s3ti
52bf326d8a
Merge pull request #783 from bgrainger/patch-1
Fix typo in "separated"
2019-07-05 20:21:59 +01:00
Bradley Grainger
0189c6983e
Fix typo in "separated". 2019-07-04 19:47:51 -07:00
4s3ti
fb4405978a
Merge pull request #781 from orazioedoardo/patch-for-buster-2
Only use iptables-legacy if platform is Buster
2019-07-03 16:07:47 +01:00
Orazio
66dcd69fd5 Only use iptables-legacy if platform is Buster 2019-07-03 10:13:22 +02:00
4s3ti
7aa803720c
Merge pull request #777 from orazioedoardo/debug-privacy
Hide client IPs inside the debug log
2019-07-02 13:10:43 +01:00
4s3ti
d32aafe61f
Merge pull request #778 from orazioedoardo/iptables-detection
Improve iptables detection
2019-07-02 13:08:44 +01:00
4s3ti
a797518968
Merge pull request #779 from orazioedoardo/patch-for-buster
Add official support for Buster
2019-07-02 12:17:27 +01:00
Orazio
b823737b5a Hide client IPs in the debug log 2019-07-01 15:44:00 +02:00
Orazio
bcc780546c Get variable value before the file is deleted 2019-07-01 11:39:42 +02:00
Orazio
0ad342e007 Fixed typo 2019-07-01 11:36:01 +02:00
Orazio
7a34dd3704 Improve iptables detection 2019-07-01 11:12:46 +02:00
IcedComputer
1d7ebd9d2f
added support to remove .ovpn12 files
the makeOVPN.sh now generates .ovpn12 files in the /home/${INSTALL_USER}/ovpns/ directory.
The remove script was updated to remove both the .ovpn and .ovpn12 files
2019-06-27 14:53:23 -07:00
IcedComputer
97bb319795
Updated .ovpn12 configuration
Incorporated feedback on how to properly implement .ovpn12 files.
2019-06-27 14:43:30 -07:00
IcedComputer
dae6276d37
Made updates based on comments
added changes related to chown and chmod of .ovpn12 file.  Also removed sudo.
2019-06-27 11:47:24 -07:00
Orazio
95480f3279 Add support for Raspbian Buster 2019-06-26 10:35:56 +02:00
IcedComputer
2e5a344c82
Fixed issue with grabbing hostname
Per comments and recommendations, added the "-s" when grabbing the hostname.  This will ensure uniform performance across various platforms.
2019-06-20 17:37:56 -07:00
IcedComputer
bda0d58b81
.ovpn12 files
Added new step to create an .ovpn12 file that can be stored on iOS keychain
This step is more secure method and does not require the end-user to keep entering passwords, or storing the client private cert where it can be easily tampered based on documentation located:
 https://openvpn.net/faq/how-do-i-use-a-client-certificate-and-private-key-from-the-ios-keychain/

Someone can improve upon this by adding a parameter (possibly -i|--iOS) and then generating the original .ovpn file to not contain the client private certificate.
2019-06-20 16:53:29 -07:00
IcedComputer
ce9b8dfffc
Leverage the Hostname of the Server
Historic versions leveraged a format of "server_$UUID" to name of the VPN server certificate for X509 verification.  This seems very impersonal.  The new code pulls the existing hostname of the machines and appends the 16 character UUID.  The new format is $hostname_$UUID.

Example:
A machine named "Martian" with a UUID of 1234567890123456 would change from server_1234567890123456 to Martian_1234567890123456
2019-06-19 15:48:46 -07:00
4s3ti
8e3a951524
Merge pull request #767 from pivpn/test
Test into Master.
2019-06-07 16:30:41 +02:00
4s3ti
33ee77d2b0
Merge pull request #765 from 4s3ti/master
Typos and info regarding support
2019-06-07 16:25:15 +02:00
4s3ti
def92ed83d Added support info 2019-06-06 16:59:15 +02:00
4s3ti
a70abef092 Incomplete issues info, fixed header contributors guid 2019-06-06 16:19:09 +02:00
4s3ti
c05bb92f8a
Merge pull request #760 from TheDen/bugfix/quote-variable-check
ensure -n checks returned value
2019-06-02 15:41:23 +02:00
TheDen
0cf7f21d3d
ensure -n check retuned value 2019-05-30 22:09:23 +10:00
4s3ti
74f7d2a595
Merge pull request #741 from pivpn/master
Aligning test and master branch
2019-05-14 10:03:11 +01:00
4s3ti
2e5b804893
Merge pull request #740 from 4s3ti/master
Merging Test Branch into Master
2019-05-14 09:58:15 +01:00
4s3ti
227892de15 Removed IPTables output lines 2019-05-14 09:54:01 +01:00
4s3ti
fae7767b99
Merge pull request #1 from 4s3ti/test
Merging test into Master, merge conflicts resolved.
2019-05-14 00:16:52 +01:00
4s3ti
dafd3da38c
Merge branch 'master' into test 2019-05-14 00:15:34 +01:00
4s3ti
72daf05f3c
Merge pull request #739 from 4s3ti/test
Fixed issue template diff with master
2019-05-13 23:55:21 +01:00
4s3ti
ad8a1ac351 Fixed issue template diff with master 2019-05-13 23:50:05 +01:00
4s3ti
2eea77f3ac
Merge pull request #738 from 4s3ti/test
Removed hardcoded /24, general fixes, README Changes.
2019-05-13 23:40:12 +01:00
4s3ti
e99ae95a5a Changed setence to better refference 0-kaladin 2019-05-13 23:34:44 +01:00
4s3ti
050e2c6171 more changes to README 2019-05-13 23:32:08 +01:00
4s3ti
6a234233ff Some changes to README File 2019-05-13 23:23:33 +01:00
4s3ti
616c2e24c4 Removed /24, fixed issue template 2019-05-13 23:06:14 +01:00
4s3ti
50e19f5906
Merge pull request #737 from Calvin-L/patch-1-on-test-branch
Flush disk writes before reboot (resubmit)
2019-05-13 22:38:18 +01:00