Find the secret Server
Find the Secret Server
Connecting to their labs
sudo openvpn <filename>.ovpn
As you can see, you are attached via VPN to the network 10.175.34.0/24 but there are also other three networks. In each network, there is a web server (you can access it by browsing its IP address with your web browser) with the following IP addresses: 172.16.88.81, 192.168.241.12 and 192.168.222.199.
Goal
The goal of the lab is to configure your VPN lab environment in order to reach all the hosts in the networks!
Tools
The best tool is, as usual, your brain. Then you may need:
OpenVPN client
Web browser
Steps
Check your current network configuration
Before connecting to the lab, check you current routes.
Connect to the lab and check your routes
Establish the VPN connection to the lab. If it's your first time in Hera Lab please refer to this manual: https://members.elearnsecurity.com/lab/manual
What differs from the previous output?
Visit the two web servers
There are two Web Servers at the following addresses: 172.16.88.81 and 192.168.241.12. Are you able to navigate them once you are connected to the lab?
Add a route manually
We know that there is another server at the address 192.168.222.199. Right now, we do not have any route set on our machine and we are not able to reach it. Try adding the correct route to that network and see if you can reach it.
Solutions
After connecting to the labs, check if we are connected to the network
We found that we are connected to network successfully via tap0.
Scanning the Network
Here i'll be performing a ping sweep to get the devices that are currently on the network.
here we see 2 hosts the network 34.1 and 34.100.
we will now try to reach the servers

open the server 172.16.88.81 and 192.168.222.199
Both the sites are reachable.
now ill check the routes for the secret server at 192.168.222.199
As you can see that there is no route to the 192.168.222.199
we will go ahead and add a new route manually
Our route to the subnet 192.168.222.0 is now added successfully.
Lets try to reach the webserver now.
i did another ping sweep for the subnet 192.168.222.0
checking via web browser for the same.

So the lab is now completed.
Last updated
Was this helpful?