Installing VPN on Kali Linux

Open a terminal and use the following command to install the necessary packages:

apt-get install network-manager-openvpn-gnome network-manager-pptp network-manager-pptp-gnome network-manager-strongswan network-manager-vpnc network-manager-vpnc-gnome

Type y and enter when being asked to install the packages.

VPN on Kali Linux

Now we need to download the CA certificate from VyprVPN using the following command (one command, ignore white space):

sudo wget -O /etc/openvpn/ca.vyprvpn.com.crt

https://www.goldenfrog.com/downloads/ca.vyprvpn.com.crt

Go to your network manager, go to the VPN tab and click “Add”:

VPN on Kali Linux

Select OpenVPN as connection type.

VPN on Kali Linux

And click create:

VPN on Kali Linux

Enter the following information:

  1. Connection name
  2. Gateway (Different gateways are available from the website)
  3. Set authentication type to password
  4. Username and password

VPN on Kali Linux

Click the browse file button to select the CA certificate we downloaded earlier.

VPN on Kali Linux

The file was downloaded to the following location:

/etc/openvpn/ca.vyprvpn.com.crt

VPN on Kali Linux

Click the save button and we are ready to go!

VPN on Kali Linux

You can start your VPN connection by going to the network manager and select the connection we’ve just added.