If you've recently upgraded to Ubuntu 24.04 and found your OpenVPN connections failing silently, you're not alone. Here's a quick fix that resolved this common issue.
The Problem:
- Silent VPN connection failures after importing .ovpn configuration files
- No error messages to indicate the cause
- Affects users who upgraded to Ubuntu 24.04
The Solution:
The fix involves updating a single line in your .ovpn configuration file. You'll need to replace the older cipher directive with a newer data-ciphers-fallback directive.
1. Edit the .ovpn Configuration File:
The key to resolving the issue lies in replacing the cipher directive with the data-ciphers-fallback directive. This change ensures that OpenVPN falls back to the specified cipher if the client and server cannot agree on a shared cipher.
before:
cipher AES-256-CBC
After
data-ciphers-fallback AES-256-CBC
Top comments (0)