Can't connect with OpenVPN

Hi, I’ve been trying for the better part of 2 days to connect to the VPN, but I always get the ‘BF-CBC’ error with all sorts of errors. I tried regenerating new configuration files, changing VPN Server locations, tried editing the cipher multiple times. I set up a new VM with different network settings but that didn’t work. I even tried asking GPT with the full errors but even it couldn’t come up with the right solution.

I have absolutely no clue what I’m missing here and why it just won’t work.

Any suggestions or ideas would be more than welcomed

  1. https://raw.githubusercontent.com/tryhackme/openvpn-troubleshooting/master/thm-troubleshoot Download the TryHackMe OpenVPN Troubleshooting script directly to your Linux machine.

  2. In your Linux terminal, make the script executable with chmod +x . If you downloaded the script to your Downloads folder, this would be chmod +x ~/Downloads/thm-troubleshoot.

  3. Run the script by typing sudo followed by the path to the script into your terminal and pressing enter. If the script is in your downloads, it will be the following command: sudo ~/Downloads/thm-troubleshoot.

  4. The script will instruct you on how to proceed from there.

Hi, I’ve been experiencing the similar issue for the past 2 days, been getting the ‘Error calling protect socket’ and ocassionally other errors.

Tried restarting/reinstalling/switching servers and regenerating the profile.

Eventually I managed to get it going on my Win 11 machine - adding the ‘data-ciphers’ line helped.

On my macOS it’s still failing to connect.

At this point I feel like ‘dealing with the OpenVPN connection’ should be a THM room on its own :smiley:

I already tried that script a few times, but it also does nothing. I get the same messages and I already tried them

[-] Failed to connect

Failure to connect to the VPN can usually be solved by one of the following options:

-Regenerating your OpenVPN config on the TryHackMe access page (TryHackMe | Cyber Security Training)

-Switching servers, then regenerating your OpenVPN config

-Checking your system time. If your system time is incorrect then this can cause issues with the authentication process

If none of these methods work, please ask for further assistance in the TryHackMe Discord server, subreddit or forums.

Contact support, they are the ones who sent me those steps and after going trough them and changing my file from a normal one to a “VIP” one it worked.

If you are a paid user try and regenerate a VIP file and try to connect with it.

If it does not work Contact support

Why does the time zone need to be correct, if I amy ask?