tls-auth: Enable tls-auth for security
* Enabling tls-auth improves security and helps protect against DDoS.
This commit is contained in:
@ -37,10 +37,10 @@ $(cat $EASYRSA_PKI/ca.crt)
|
||||
<dh>
|
||||
$(cat $EASYRSA_PKI/dh.pem)
|
||||
</dh>
|
||||
#<tls-auth>
|
||||
#$(echo cat $EASYRSA_PKI/ta.key)
|
||||
#</tls-auth>
|
||||
#key-direction 1
|
||||
<tls-auth>
|
||||
$(cat $EASYRSA_PKI/ta.key)
|
||||
</tls-auth>
|
||||
key-direction 1
|
||||
|
||||
<connection>
|
||||
remote $servername 1194 udp
|
||||
|
Reference in New Issue
Block a user