From 7b7567e7cbdf1c69bad0e4fc87941231281536be Mon Sep 17 00:00:00 2001 From: randomshell Date: Wed, 21 Oct 2020 11:57:45 +0000 Subject: [PATCH] Remove key-direction from tls-crypt option (#748) In contrast to --tls-auth, --tls-crypt does *not* require the user to set --key-direction. Thus syntax is `--tls-crypt keyfile` --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 9269680..45d12a4 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -864,7 +864,7 @@ push "redirect-gateway ipv6"' >>/etc/openvpn/server.conf case $TLS_SIG in 1) - echo "tls-crypt tls-crypt.key 0" >>/etc/openvpn/server.conf + echo "tls-crypt tls-crypt.key" >>/etc/openvpn/server.conf ;; 2) echo "tls-auth tls-auth.key 0" >>/etc/openvpn/server.conf