The connection with client1 has fallen

As I was following: and everything worked as expected, connecting from a Windows machine pop ups the tittle error. Meanwhile connecting from an Android Devide pops

Failed to parse profile: crypto_alg: SHA256key-direction: not found

Any guess about what went wrong?

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
December 22, 2022

Hi there,

The error message that you are getting indicates that there is a problem with the crypto_alg directive in your OpenVPN configuration file.

There are a few things you can try to troubleshoot this issue:

  • Check the syntax of your configuration file. Make sure that there are no errors or typos in the file.

  • Check the version of OpenVPN that you are using. Some older versions of OpenVPN may not support the crypto_alg directive. If this is the case, you will need to update to a newer version of OpenVPN.

  • Check the client configuration file. Make sure that the client configuration file is correctly specifying the key-direction option.

  • Check the server logs. The OpenVPN server logs may contain additional information about the error. You can find the server logs in the /var/log/openvpn.log file.

I hope this helps! Let me know if you have any other questions.