Fix OpenVPN Cipher Errors - Kali Linux

By Chaitany
How to Fix TryHackMe OpenVPN Connection "data-ciphers" or "depreciated cipher" Error on Kali Linux

Why this error occurs

OpenVPN's updated client is now incompatible with the configuration files generated by TryHackMe VPN servers.

Affected Versions

  • OpenVPN 2.6 (Only)

How to fix

Step 1: Update Kali Linux

First, update and upgrade your Kali Linux system:

sudo apt update && sudo apt upgrade -y

Step 2: Modify OpenVPN Configuration

Update your .ovpn config file by replacing data-ciphers AES-256-CBC with cipher AES-256-CBC.

Step 3: Connect to TryHackMe

Now try to connect with the TryHackMe server again and you should see that you successfully connected.

Step 4: Verify Connection

Check with ifconfig to get the VPN tunnel IP:

ifconfig

Troubleshooting

  • If it doesn't work, try changing the server and try again
  • Remember that some countries block VPNs - if your country blocks VPN then use AttackBox
  • If your country doesn't block VPNs but you get the same error, try running the TryHackMe OpenVPN-Troubleshooting Script

Alternative Solutions

If the above steps don't work, you can also try:

  1. Using a different OpenVPN client
  2. Manually editing the .ovpn file to remove deprecated cipher settings
  3. Using TryHackMe's AttackBox as an alternative

Thanks for reading!