mirror of
https://github.com/angristan/openvpn-install.git
synced 2024-12-09 00:45:32 +01:00
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:
parent
2e193e33cb
commit
7b7567e7cb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user