mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-11-08 01:42:42 +01:00
Fix tls-crypt
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user