From 94b401abc78140323536cb690340711d1be6f4ea Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 31 Jul 2015 18:34:32 +0200 Subject: [PATCH] Fix server configuration errors --- install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install.sh b/install.sh index c3d6fb5..61a4672 100755 --- a/install.sh +++ b/install.sh @@ -149,6 +149,8 @@ printf "\n################## Setup OpenVPN ##################\n" # Copy certificates and the server configuration in the openvpn directory cp /etc/openvpn/easy-rsa/keys/{ca.crt,ta.key,server.crt,server.key,dh${KEY_SIZE}.pem} "/etc/openvpn/" cp "$base_path/installation/server.conf" "/etc/openvpn/" +mkdir "/etc/openvpn/ccd" +sed -i "s/dh dh1024\.pem/dh dh${KEY_SIZE}.pem/" "/etc/openvpn/server.conf" printf "\n################## Setup firewall ##################\n"