Access HackTheBox using Networkmanager

Hi together,

i wrote a short script which uses a .ovpn config and creates accordingly a NetworkManager VPN Profile.

As Kali comes shipped with NetworkManager maybe someone can utilize it:

It will create a profile called “HackTheBox USERNAME”
It extracts all the keys and certificates from the ovpn config and places them in ~/.htbvpn

Afterwards you can run and manage the VPN connection by left clicking the NetworkManager plugin in Kali

Do you have problems with networkManager picking up your IPv6 addresses? I do. I get ipv6 addresses 100% of the time if I use openvpn blah.ovpn; however, I’m lucky to get handed a proper ipv6 assignment through networkManager… any idea?