From b8e5f318b61693667e4af289bd91ef77236c9e6d Mon Sep 17 00:00:00 2001 From: Zeik0s <35345686+Zeik0s@users.noreply.github.com> Date: Wed, 14 Mar 2018 21:55:05 +0100 Subject: [PATCH 1/4] makeOVPN.sh change 3DES to AES-128 --- scripts/makeOVPN.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/makeOVPN.sh b/scripts/makeOVPN.sh index 09ef655..fce0adb 100755 --- a/scripts/makeOVPN.sh +++ b/scripts/makeOVPN.sh @@ -121,11 +121,11 @@ function keyPASS() { expect eof EOF - #Convert key to des3 + #Convert key to aes128 KEY_FILE="pki/private/${NAME}${KEY}" expect << EOF set timeout -1 - spawn openssl rsa -in ${KEY_FILE} -des3 -out ${KEY_FILE} + spawn openssl rsa -in ${KEY_FILE} -aes128 -out ${KEY_FILE} expect "Enter pass phrase" { send "${PASSWD}\r" } expect "Enter PEM pass phrase" { send "${PASSWD}\r" } expect "Verifying - Enter PEM pass phrase" { send "${PASSWD}\r" } From 23cc58ce3abe7b1808baf6425f96f81dfc4e2a5d Mon Sep 17 00:00:00 2001 From: johanfagerstroem Date: Tue, 1 May 2018 16:38:38 +0200 Subject: [PATCH 2/4] Changing name validation regex to allow dashes Great for readable naming conventions. --- scripts/makeOVPN.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/makeOVPN.sh b/scripts/makeOVPN.sh index 09ef655..ed29501 100755 --- a/scripts/makeOVPN.sh +++ b/scripts/makeOVPN.sh @@ -141,8 +141,8 @@ if [ -z "${NAME}" ]; then read -r NAME fi -if [[ "${NAME}" =~ [^a-zA-Z0-9] ]]; then - echo "Name can only contain alphanumeric characters." +if [[ "${NAME}" =~ [^a-zA-Z0-9\-] ]]; then + echo "Name can only contain alphanumeric characters and dashes (-)." exit 1 fi From 67c348f26fb52a002e646d1b7d4e034eb393daf2 Mon Sep 17 00:00:00 2001 From: Jelmer Borst Date: Wed, 9 May 2018 18:20:13 +0200 Subject: [PATCH 3/4] Increase keepalive to decrease phone battery usage --- server_config.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server_config.txt b/server_config.txt index fe909ca..fae21c9 100755 --- a/server_config.txt +++ b/server_config.txt @@ -15,7 +15,7 @@ push "dhcp-option DNS 8.8.4.4" # overriding but not wiping out the original default gateway. push "redirect-gateway def1" client-to-client -keepalive 10 120 +keepalive 1800 3600 remote-cert-tls client tls-version-min 1.2 tls-auth /etc/openvpn/easy-rsa/pki/ta.key 0 From 8adbff7af07bf6c5b5ae0072d53192a7a0e24930 Mon Sep 17 00:00:00 2001 From: redfast00 Date: Tue, 29 May 2018 22:37:24 +0200 Subject: [PATCH 4/4] Added -L flag --- ISSUE_TEMPLATE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md index b4261de..b2b73da 100644 --- a/ISSUE_TEMPLATE.md +++ b/ISSUE_TEMPLATE.md @@ -16,7 +16,7 @@ (yes/no / which issues?) -## Console output of `curl install.pivpn.io | bash` +## Console output of `curl -L install.pivpn.io | bash` ``` Output Here ```