From 05c6a3715261070ea8db8b9407256a12f37125dd Mon Sep 17 00:00:00 2001 From: Jelle Dekker Date: Thu, 21 Sep 2017 23:06:02 -0500 Subject: [PATCH 1/2] Removed the duplicate-cn option so every device/connection must use a unique certificate. --- server_config.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/server_config.txt b/server_config.txt index 70625e7..0f36d38 100644 --- a/server_config.txt +++ b/server_config.txt @@ -23,7 +23,6 @@ push "dhcp-option DNS 8.8.4.4" # overriding but not wiping out the original default gateway. push "redirect-gateway def1" client-to-client -duplicate-cn keepalive 10 120 tls-version-min 1.2 tls-auth /etc/openvpn/easy-rsa/pki/ta.key 0 From 7b6a35877907a4c24441234d3adefd89528fd407 Mon Sep 17 00:00:00 2001 From: Jelle Dekker Date: Fri, 22 Sep 2017 14:11:23 -0500 Subject: [PATCH 2/2] Modified the messages when PiVPN installation completes and client profiles are generated, so the user knows to generate a client profile per each device he/she wants to connect to the VPN with. --- auto_install/install.sh | 2 +- scripts/makeOVPN.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/auto_install/install.sh b/auto_install/install.sh index 33ca2a4..24d2877 100755 --- a/auto_install/install.sh +++ b/auto_install/install.sh @@ -1344,7 +1344,7 @@ main() { echo ":::" if [[ "${useUpdateVars}" == false ]]; then echo "::: Installation Complete!" - echo "::: Now run 'pivpn add' to create the ovpn profiles." + echo "::: Now run 'pivpn add' to create an ovpn profile for each of your devices." echo "::: Run 'pivpn help' to see what else you can do!" echo "::: It is strongly recommended you reboot after installation." else diff --git a/scripts/makeOVPN.sh b/scripts/makeOVPN.sh index f1308f1..d9101f3 100644 --- a/scripts/makeOVPN.sh +++ b/scripts/makeOVPN.sh @@ -240,5 +240,6 @@ printf "========================================================\n" printf "\e[1mDone! %s successfully created!\e[0m \n" "$NAME$FILEEXT" printf "%s was copied to:\n" "$NAME$FILEEXT" printf " /home/%s/ovpns\n" "$INSTALL_USER" -printf "for easy transfer.\n" +printf "for easy transfer. Please use this profile only on one\n" +printf "device and create additional profiles for other devices.\n" printf "========================================================\n\n"