Fix OpenVPN Connection Error on TryHackMe: A Step-by-Step Solution for OpenVPN 2.6 Users

preview_player
Показать описание
Are you having trouble connecting to the TryHackMe network using the OpenVPN file provided by the platform? This video is your ultimate guide to resolving the OpenVPN 2.6 connection error! TryHackMe has recently faced issues with deprecated ciphers in OpenVPN 2.6, and we've got the perfect solution for you.

In this tutorial, we'll walk you through the steps to fix the connection error by modifying your OpenVPN configuration file. We'll show you both the automated 'sed' command and manual editing methods to resolve the issue. Say goodbye to connection problems and get back to learning ethical hacking and cybersecurity skills with ease!

🔔 Don't forget to like, share, and subscribe to our channel for more cybersecurity tutorials and solutions!

#openvpn, #tryhackme, #deprecated_ciphers #ciphers #initialization_sequence_complete #tryhackme_openvpn
Рекомендации по теме
Комментарии
Автор

It worked better running the command sed -i 's/cipher AES-256-CBC/data-ciphers AES-256-CBC/' *.ovpn

Iftzo
Автор

Almost 1 hour changing configs and searching for a solution, thanks a lot bro!

felipebertho
Автор

the status in the THM site shows connected, it is also sending packets while pinging to the IP add, but when I put the IP in the browser, it shows unable to connect, An error occurred during a connection to [MY_IP]..

Ashx
Автор

you sir, are a gentleman, and a scholar. thank you.

BeardifulBill
Автор

i tried it on virtual machine as well as dual boot but still i cant connect please help

lokeshsonagra
Автор

I have problem in windows it is saying connection timeout Idk why

vedantbaghel
Автор

can someone help me out. I am facing multiple issues. The error log file is below:

2024-08-03 11:47:30 --cipher is not set. Previous OpenVPN version defaulted to BF-CBC as fallback when cipher negotiation failed in this case. If you need this fallback please add '--data-ciphers-fallback BF-CBC' to your configuration and/or add BF-CBC to --data-ciphers.
2024-08-03 11:47:30 OpenVPN 2.5.9 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jun 27 2024
2024-08-03 11:47:30 library versions: OpenSSL 3.0.2 15 Mar 2022, LZO 2.10
2024-08-03 11:47:30 Outgoing Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
2024-08-03 11:47:30 Outgoing Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
2024-08-03 11:47:30 Incoming Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
2024-08-03 11:47:30 Incoming Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
2024-08-03 11:47:30 TCP/UDP: Preserving recently used remote address:
2024-08-03 11:47:30 Socket Buffers: R=[212992->212992] S=[212992->212992]
2024-08-03 11:47:30 UDP link local: (not bound)
2024-08-03 11:47:30 UDP link remote:
2024-08-03 11:47:30 TLS: Initial packet from [AF_INET]192.168.150.128:1194, sid=9aa7193a d531191b
2024-08-03 11:47:30 tls-crypt unwrap error: packet too short
2024-08-03 11:47:30 TLS Error: tls-crypt unwrapping failed from
2024-08-03 11:47:32 TLS: Initial packet from [AF_INET]192.168.150.128:1194, sid=9aa7193a d531191b
2024-08-03 11:47:32 tls-crypt unwrap error: packet too short
2024-08-03 11:47:32 TLS Error: tls-crypt unwrapping failed from
2024-08-03 11:47:37 TLS: Initial packet from [AF_INET]192.168.150.128:1194, sid=9aa7193a d531191b
2024-08-03 11:47:37 tls-crypt unwrap error: packet too short
2024-08-03 11:47:37 TLS Error: tls-crypt unwrapping failed from
^C2024-08-03 11:47:38 event_wait : Interrupted system call (code=4)

words_ofwisdom
Автор

Thank you for this solution! It was helpful for me

Alexis-rrnv
Автор

I'm still having the same issue, my openvpn version is 2.5.7, any help would be great

kyzer
Автор

Excuse me, but where and how do I open up a terminal file?? thanks

kaset
Автор

Sir I watched your video and as showed I checked my config file where it was written correctly data-ciphers still it's throwing same error 😢

asuraindra
Автор

If your version already have data-ciphers then just restart the virtual machine it will work

RessoRe
Автор

Hi guys i am getting a connection timeout im running windows 11

ciaranreilly
Автор

But my file allready set with data-chipher.. but it is not working

factno
Автор

great help to me this fixed my problem

stephenaeca
Автор

My ovpn file alredy had data-cipher parameters still didnt worked

johnybonny
Автор

in version (openvpn) 2.6.7, the solution of changing the certificate region eu-3 to eu-2 or 1 worked. how say
@asuraindra

icaronunes