mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-07-01 20:14:22 +02:00
Fix tls-crypt
This commit is contained in:
parent
8c61a1afba
commit
d5e8a69426
@ -640,7 +640,7 @@ ca ca.crt
|
|||||||
cert server.crt
|
cert server.crt
|
||||||
key server.key" >> /etc/openvpn/server.conf
|
key server.key" >> /etc/openvpn/server.conf
|
||||||
if [[ $TLS_SIG == "1" ]]; then
|
if [[ $TLS_SIG == "1" ]]; then
|
||||||
echo "tls-auth tls-crypt.key 0" >> /etc/openvpn/server.conf
|
echo "tls-crypt tls-crypt.key 0" >> /etc/openvpn/server.conf
|
||||||
elif [[ $TLS_SIG == "2" ]]; then
|
elif [[ $TLS_SIG == "2" ]]; then
|
||||||
echo "tls-auth tls-auth.key 0" >> /etc/openvpn/server.conf
|
echo "tls-auth tls-auth.key 0" >> /etc/openvpn/server.conf
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user