[oconf=]Hi All,
I've just tried adding some of the OpenVPN hardening lines sourced from here:
https://blog.securityevaluators.com/hardening-openvpn-in-2020-1672c3c4135a?gi=6961774702af
to the standard and default .ovpn client configuration files downloaded from
https://www.nordvpn/ovpn
I firstly added the simple
tls-version-min 1.2
command line and found that I was able to connect fine.
Feeling more confident I then added the whole series of hardening lines:
#data channel cipher
cipher AES-128-GCM
ncp-disable #don't negotiate ciphers, we know what we want
# TLS 1.2 encryption settings
tls-cipher TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256:TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256:TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256:TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256
dh none #disable static Diffie-Hellman parameters since we're using ECDHE
ecdh-curve secp384r1 # use the NSA's recommended curve
#this tells OpenVPN which side of the TLS handshake it is
tls-server #tls-client on the client
but after adding the above lines it tried negotiating the connection for what seemed like a much longer time than normal only for it to report "disconnected" in my Peplink admin window where it shows the OpenVPN WAN connection status.
Attached is the full .ovpn contents (minus the complete keys). Can someone take a look over it and advise why it won't connect? Is the inability to establish a connection with the server because the server is running a conflicting config? Or is it some problem with the lines pasted above?
Thanks in advance for any advice on getting this working with the hardened settings..