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:

https://gist.github.com/Bioh4z4rd/371ad4e33a1f60650409523b792a44f8

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

Comments

  • 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?

Sign In to comment.