Skip to content

Commit

Permalink
Remove key-direction from tls-crypt option (angristan#748)
Browse files Browse the repository at this point in the history
In contrast to --tls-auth, --tls-crypt does *not* require the user to set --key-direction. Thus syntax is `--tls-crypt keyfile`
  • Loading branch information
randomshell authored Oct 21, 2020
1 parent 2e193e3 commit 7b7567e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openvpn-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7b7567e

Please sign in to comment.