From 218e474f8551a310705d56e67ef59850c9383408 Mon Sep 17 00:00:00 2001 From: Angristan Date: Thu, 24 Nov 2016 23:34:15 +0100 Subject: [PATCH] Add logs Can be useful. --- openvpn-install.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 413f473..0096fa3 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -369,7 +369,9 @@ persist-key persist-tun crl-verify crl.pem tls-server -tls-auth tls-auth.key 0" >> /etc/openvpn/server.conf +tls-auth tls-auth.key 0 +status openvpn-status.log +verb 3" >> /etc/openvpn/server.conf # Enable net.ipv4.ip_forward for the system sed -i '/\/c\net.ipv4.ip_forward=1' /etc/sysctl.conf if ! grep -q "\" /etc/sysctl.conf; then @@ -488,10 +490,11 @@ resolv-retry infinite nobind persist-key persist-tun +setenv opt block-outside-dns +verb 3 remote-cert-tls server cipher AES-256-CBC auth SHA512 -setenv opt block-outside-dns tls-version-min 1.2 tls-client" >> /etc/openvpn/client-common.txt if [[ "$VARIANT" = '1' ]]; then