.ovpn
file to /etc/openvpn/
. Choose the <name-of-connection>
carefully, the name is required to select the connection via systemd. mv <config-file>.ovpn /etc/openvpn/<name-of-connection>.conf
systemctl daemon-reload
systemctl start openvpn@<name-of-connection>
systemctl status openvpn@<name-of-connection>
If it says running
and no errors are displayed, everything was successful. If it says cipher not allowed
check the following paragraph.
systemctl enable openvpn@<name-of-connection>
systemctl disable openvpn@<name-of-connection>
Sourced from smarthomebeginner.com - OpenVPN autostart
OpenVPN v2.6+
while the corresponding server isn't yet on this state.Error: negotiated cipher not allowed - AES-256-CBC not in AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305 OPTIONS ERROR: failed to import crypto options Failed to open tun/tap interface
/etc/openvpn/
) It's required to change the line that contains cipher
. Edit cipher
to data-ciphers
. It should then look like this:data-ciphers AES-256-CBC
Partially sourced from forums.openvpn.net - Cipher not allowed