TryHackMe VPN through NetworkManager

Most people use CLI to connect to TryHackMe, but I believe it should be run through NetworkManager if you have it:

Connecting via GUI/NetworkManager will give you this end result:

So, if you think this could be interesting, please download your configuration file from TryHackMe and import it with NetworkManager:

Left click on NetworkManager icon and select VPN Connections and Add a VPN connection:

Choose the last option “import….”

and select the TryHackMe .ovpn file.

Some ciphers fail to be imported so these ciphers manually needs to be put in the nmconnection file:

file: /etc/NetworkManager/system-connections/KrigDK.nmconnection

Insert the following into the file [vpn] section:

[vpn]
cipher=AES-256-CBC
data-ciphers=AES-256-CBC:AES-128-GCM:CHACHA20-POLY1305:AES-256-GCM

so it looks like this:

restart NetworkManager

and you can now start your vpn in your Kali VM

voila:

Update: This means that all traffic is automatically routed inside TryHackMe’s network and they do not allow internet access, so please deselect this under ‘routes’ in the NetworkManager app to get internet access while on TryHackMe platform.

Then you can still connect to the internet and TryHackMe’s website.

enjoy.