TryHackMe: OpenVPN

What is OpenVPN?

OpenVPN is a virtual private network (VPN) system that implements techniques to create secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities. It implements both client and server applications.

OpenVPN allows peers to authenticate each other using pre-shared secret keys, certificates or username/password. When used in a multiclient-server configuration, it allows the server to release an authentication certificate for every client, using signatures and certificate authority.

To connect to TryHackMe network, you need to download the OpenVPN GUI open-source application and import your VPN configuration file. On TryHackMe you can deploy virtual machines that you can use to hack into and learn from. However, to access these machines you need to be connected to our network. You do this through using a VPN (similar to how you would connect to a work or school computer from home). Firstly, go to the access page and download your VPN configuration file.

Connecting With Linux

  • Download OpenVPN by running the following command in your terminal:
sudo apt install openvpn
  • Locate the full path to your VPN configuration file (download from the access page), normally in your Downloads folder.
  • Use your OpenVPN file with the following command:
sudo openvpn /path-to-file/file-name.ovpn

And that's it! You should be successfully connected.

You can check if you're connected to TryHackMe network by a green tick next to connected on the Network Information table on the access page.

References

  • Wikipedia
  • TryHackMe