From b05e5a43e95e0e0a46efc187cab1462b649db0d7 Mon Sep 17 00:00:00 2001 From: Melike Alphan Date: Tue, 1 Feb 2022 15:59:21 +0300 Subject: [PATCH] added reneg-sec configuration --- openvpn-install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openvpn-install.sh b/openvpn-install.sh index 25a5f4e..9abc56b 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -407,6 +407,7 @@ persist-key persist-tun status openvpn-status.log verb 3 +reneg-sec 28800 crl-verify crl.pem" >> /etc/openvpn/server/server.conf if [[ "$protocol" = "udp" ]]; then echo "explicit-exit-notify" >> /etc/openvpn/server/server.conf @@ -537,6 +538,7 @@ remote-cert-tls server auth SHA512 cipher AES-256-CBC verb 3 +reneg-sec 28800 auth-user-pass" > /etc/openvpn/server/client-common.txt # Enable and start the OpenVPN service systemctl enable --now openvpn-server@server.service