mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-20 03:40:17 +00:00
Merge pull request #359 from jellemdekker/fix/remove-duplicate-cn
Removed the duplicate-cn option so every device/connection must use a unique certificate
This commit is contained in:
commit
dcd34b3f01
3 changed files with 3 additions and 3 deletions
|
@ -1344,7 +1344,7 @@ main() {
|
||||||
echo ":::"
|
echo ":::"
|
||||||
if [[ "${useUpdateVars}" == false ]]; then
|
if [[ "${useUpdateVars}" == false ]]; then
|
||||||
echo "::: Installation Complete!"
|
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 "::: Run 'pivpn help' to see what else you can do!"
|
||||||
echo "::: It is strongly recommended you reboot after installation."
|
echo "::: It is strongly recommended you reboot after installation."
|
||||||
else
|
else
|
||||||
|
|
|
@ -240,5 +240,6 @@ printf "========================================================\n"
|
||||||
printf "\e[1mDone! %s successfully created!\e[0m \n" "$NAME$FILEEXT"
|
printf "\e[1mDone! %s successfully created!\e[0m \n" "$NAME$FILEEXT"
|
||||||
printf "%s was copied to:\n" "$NAME$FILEEXT"
|
printf "%s was copied to:\n" "$NAME$FILEEXT"
|
||||||
printf " /home/%s/ovpns\n" "$INSTALL_USER"
|
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"
|
printf "========================================================\n\n"
|
||||||
|
|
|
@ -23,7 +23,6 @@ push "dhcp-option DNS 8.8.4.4"
|
||||||
# overriding but not wiping out the original default gateway.
|
# overriding but not wiping out the original default gateway.
|
||||||
push "redirect-gateway def1"
|
push "redirect-gateway def1"
|
||||||
client-to-client
|
client-to-client
|
||||||
duplicate-cn
|
|
||||||
keepalive 10 120
|
keepalive 10 120
|
||||||
tls-version-min 1.2
|
tls-version-min 1.2
|
||||||
tls-auth /etc/openvpn/easy-rsa/pki/ta.key 0
|
tls-auth /etc/openvpn/easy-rsa/pki/ta.key 0
|
||||||
|
|
Loading…
Reference in a new issue