From 9c3c815456a9a872da7fba776e0e015127c1cd89 Mon Sep 17 00:00:00 2001 From: shgpavel <85313718+shgpavel@users.noreply.github.com> Date: Thu, 26 May 2022 00:42:17 +0300 Subject: [PATCH] ncp-cipher option has renamed to data-cipher At startup openvpn prints "This option was renamed in openvpn 2.5". In debian, arch, etc its 2.5+ versions of openvpn package in repos already, that's why we need to change this option. https://build.openvpn.net/man/openvpn-2.5/openvpn.8.html --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 64d8ed0..dba26ae 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -891,7 +891,7 @@ cert $SERVER_NAME.crt key $SERVER_NAME.key auth $HMAC_ALG cipher $CIPHER -ncp-ciphers $CIPHER +data-ciphers $CIPHER tls-server tls-version-min 1.2 tls-cipher $CC_CIPHER