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`
This commit is contained in:
randomshell 2020-10-21 11:57:45 +00:00 committed by GitHub
parent 2e193e33cb
commit 7b7567e7cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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