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
This commit is contained in:
shgpavel 2022-05-26 00:42:17 +03:00 committed by GitHub
parent b3b7593b2d
commit 9c3c815456
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -891,7 +891,7 @@ cert $SERVER_NAME.crt
key $SERVER_NAME.key key $SERVER_NAME.key
auth $HMAC_ALG auth $HMAC_ALG
cipher $CIPHER cipher $CIPHER
ncp-ciphers $CIPHER data-ciphers $CIPHER
tls-server tls-server
tls-version-min 1.2 tls-version-min 1.2
tls-cipher $CC_CIPHER tls-cipher $CC_CIPHER