Openvpn for Tryhackme or HTB
If you don’t have a medium membership, you can access the blog here…
Openvpn for Tryhackme or HTB
If you don’t have a medium membership, you can access the blog here: https://viscid.substack.com/p/openvpn-for-tryhackme-or-htb-c12134fa4397.
I have had a lot of trouble when using openvpn but I managed to figure out the reason. This was because I was not using a virtual machine! I will be showing you the step-by-step method of using openvpn to access the network of Tryhackme or HTB so that you are able to do the challenges/boxes in the platforms.
We are supposed to connect through openvpn. For this, we should use a virtual machine, preferably Kali Linux. This is due to the fact that Kali Linux already has openvpn installed.
Note: There are many videos that can be found online showing you a step-by-step guide to downloading and running a virtual machine.
Also, if required, Openvpn could be installed through these commands depending on the OS:
apt install openvpn
brew install openvpn
In the virtual machine, you should log in to HTB(or tryhackme) and download a VPN connection through these:

Vpn connection in HTB Academy when doing a challenge

Vpn connection option is available by clicking Connect to HTB and selecting the required option
The same can be done in Tryhackme through this link: https://tryhackme.com/r/access.
Note: This is all done in the virtual machine
The VPN connection can be of various locations such as IN, EU, or US. You should select the one which suits your purpose the most.
After downloading, go to the Command line and type:
sudo openvpn academy-regular.ovpn
Where academy-regular.ovpn is the VPN connection file downloaded from HTB Academy. The file will be different for Tryhackme or HTB labs.
Doing so would open a connection to Tryhackme or HTB and allow you to do the challenges.
Hope this helps!
메타데이터
- post_id
- c12134fa4397
- slug
- openvpn-for-tryhackme-or-htb-c12134fa4397
- url
- https://infosecwriteups.com/openvpn-for-tryhackme-or-htb-c12134fa4397
- canonical_url
- https://infosecwriteups.com/openvpn-for-tryhackme-or-htb-c12134fa4397
- author_url
- https://medium.com/@viscidCTF
- status
- ok
- fetched_at
- 2026-08-02 18:46:37