mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-03-13 22:23:14 +01:00
Remove key-direction from tls-crypt option
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
8d05ce62e8
commit
7ae09362ed
@ -861,7 +861,7 @@ push "redirect-gateway ipv6"' >>/etc/openvpn/server.conf
|
|||||||
|
|
||||||
case $TLS_SIG in
|
case $TLS_SIG in
|
||||||
1)
|
1)
|
||||||
echo "tls-crypt tls-crypt.key 0" >>/etc/openvpn/server.conf
|
echo "tls-crypt tls-crypt.key" >>/etc/openvpn/server.conf
|
||||||
;;
|
;;
|
||||||
2)
|
2)
|
||||||
echo "tls-auth tls-auth.key 0" >>/etc/openvpn/server.conf
|
echo "tls-auth tls-auth.key 0" >>/etc/openvpn/server.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user