OpenVPN
A guide to connecting to our network using OpenVPN.
Task 1 Connecting to our network
Get Connected
To connect to our 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. Then read the task that is suited for your computer.
Answer the questions below
Q. Download your configuration file from the access page.
Ans: No ans needed
Task 2 Connecting with Windows
OpenVPN — Windows
1. Download the OpenVPN GUI application.
2. Install the OpenVPN GUI application. Then open the installer file and follow the setup wizard.
3. Open and run the OpenVPN GUI application as Administrator.
4. The application will start running in the system tray. It’s at the bottom of your screen, near the clock. Right click on the application and click Import File.
5. Select the configuration file you downloaded earlier (download from the access page)
6. Now right click on the application again, select your file and click Connect
And that’s it! You should be successfully connected. To disconnect, follow step 6 and click disconnect.
Answer the questions below
Q. Connect to our network on Windows using your OpenVPN configuration file.
Ans: No ans needed
Task 3 Connecting with MacOS
OpenVPN — MacOS
1. Download OpenVPN for MacOS.
2. Install the OpenVPN GUI application, by opening the dmg file and following the setup wizard.
3. Open and run the OpenVPN GUI application.
4. The application will start running and appear in your top bar. Right click on the application and click Import File -> Local file.
5. Select the configuration file you downloaded earlier (download from your access page).
6. Now right click on the application again, select your file and click connect.
And that’s it! You should be successfully connected! To disconnected, follow step 6 and click disconnect.
Answer the questions below
Q. Connect to our network on MacOS using your OpenVPN configuration file
Ans: No ans needed
Task 4 Connecting with Linux
OpenVPN — Linux
1. Download OpenVPN by running the following command in your terminal: sudo apt install openvpn
2. Locate the full path to your VPN configuration file (download from the access page), normally in your Downloads folder.
3. 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.
Answer the questions below
Q. Connect to our network on Linux using your OpenVPN configuration file.
Ans: No ans needed
Task 5 Using TryHackMe without a VPN
If you are unable to connect to our network through the VPN, you can deploy a Kali Linux machine and control it in your browser. You can then access all TryHackMe machines through that machine. Free users can deploy the machine for 1 hour a day, subscribers have unlimited access.
Follow the steps to deploy your own machine in your browser:
- Subscribe to TryHackMe
- Go to the My Machine page
- Deploy a web-based machine of your choice!
A in-browser window will then appear, wait for your machine to load and you will be able to access machines through the Kali Linux machine without being connected to a VPN. If you’re using the Kali Linux machine, start the machine on the “My Machine” page, and paste the machines and IP into the Kali Linux’s machines web browser.
Answer the questions below
Q. Read the above.
Ans: No ans needed
Task 6 Check you’re connected
You can check if you’re connected to our network by a green tick next to connected on the Network Information table on the access page.
Now verify that you’re connected by deploying a machine and accessing its website. Deploy the machine on this task (it will take a few minutes to boot). Go to http://MACHINE_IP — can you see a website?
Answer the questions below
Q. What is the flag displayed on the deployed machine’s website?
Ans: flag{connection_verified}
Thanks to my Guru Sarath G