change server config to tls-crypt instead of tls-auth

This commit is contained in:
lawtancool
2020-02-21 21:16:30 -08:00
committed by GitHub
parent b6de5e4a40
commit 9b23df2a6a

View File

@ -324,8 +324,8 @@ key $EASYRSA_PKI/private/${OVPN_CN}.key
ca $EASYRSA_PKI/ca.crt
cert $EASYRSA_PKI/issued/${OVPN_CN}.crt
dh $EASYRSA_PKI/dh.pem
tls-auth $EASYRSA_PKI/ta.key
key-direction 0
tls-crypt $EASYRSA_PKI/ta.key
#key-direction 0
keepalive $OVPN_KEEPALIVE
persist-key
persist-tun