Is your TryHackMe OpenVPN not working?
Let’s fix it, here’s what you’ll need:
Alright, so your there’s a few problems when trying to connect with OpenVPN to TryHackMe. Let’s cover them and learn how to fix connection problems in TryHackMe, let’s go.
How Do I Use OpenVPN On TryHackMe?
First you need to have an active account with an OpenVPN config file generated and downloaded to your system. You can use any Operating System such as Windows, macOS or Linux with OpenVPN and TryHackMe. This guide will focus on using a Linux Virtual Machine within Windows, so let’s answer how to connect to OpenVPN?
- Download your
.ovpnconfig file via Network Access.
- Select generate, then download config file.
- Open terminal and run
sudo openvpn path/to/<username>.ovpn, change
path/to/to actual path for example
- After a few seconds, you should see ‘initialization sequence completed’.
- To confirm access, open a new tab in your terminal with
CTRL + SHIFT + T, run
- To triple confirm, run
ping 10.10.10.10and check for a response back. This is TryHackMe’s server speifcally made for testing connections.
- And to quadiple check, go back to Network Access and refresh the OpenVPN Access Details section.
Great, know you know the answer to ‘How Do I Use OpenVPN On TryHackMe?’ - I hope this has helped you. Continue readying for more information around questions such as ‘Do You Need a VPN For TryHackMe?’ and ‘Why Is TryHackMe Not Working?’
Also, sidenote, when you’re up and running, if you want run OpenVPN in the background, use
sudo openvpn --daemon *.ovpn.
Do You Need a VPN For TryHackMe?
No, you don’t need a VPN for TryHackMe to play all rooms. But you do need a VPN for TryHackMe for rooms that include systems or Virtual Machines for you to interact with. It’s recommended to use a VPN for TryHackMe as you can then play any room as intended.
Some rooms require downloading files and some open websites within the TryHackMe room. So again no, you don’t need a VPN for all TryHackMe rooms. However, if you can in a good habit of using TryHackMe’s VPN, then you can connect to any room.
Why Is TryHackMe Not Working?
Start with TryHackMe’s OpenVpn Troubleshooting doc to gain a better idea of what’s not working. It could be openvpn not connecting, here’s a commands to try
sudo ip link set dev tun0 mtu 1200.
Prehaps your TryHackMe failed to connect to server, try visiting TryHackMe’s OpenVPN Troubleshooting Git Repo.
chmod +x thm-troubleshoot
If you’re still having issues, make sure you only have a single OpenVPN connection, use
ifconfig to see your network adapters. OpenVPN will open a tunnel which looks like
tun0 for example. If you see more adapters like
tun2, then you want to pull those down.
sudo ifconfig tun1 down
Lastly, if you’re running OpenVPN and seeing an OPTIONS ERROR: failed to negotiate cipher with server error. Try running
sed -i 's/cipher AES-256-CBC/data-ciphers AES-256-CBC/' *.ovpn in the directory of your
ovpn config file.