HTB Environment

1. Install openvpn

...

2. Connect to the VPN and enter the lab

Start it:

openvpm amm907.ovpn

Initialization Sequence Completed means the connection succeeded.

Then check the local IP address:

ip a

The new private address on tun0, 10.10.14.11, is the IP address to use in the lab.

*Common problem*
*openvpn may leave the tun0 interface behind after disconnecting, causing problems on the next connection. The command below removes the leftover tun0 interface.*
*ip link delete tun0*