In order to benefit from a robust VPN client allowing the use of an SSL VPN tunnel, I propose here a tutorial allowing to install and to use OpenVPN under Kali Linux.

To start, we are going to add the necessary repositories for the installation of packages allowing us to use tunnels bound for an OpenVPN server.

  • Copy the following commands into a command prompt (shell) with “root” rights.

1 / Updated sources of GNU / Linux package repositories:

echo "deb http://ftp.fr.debian.org/debian wheezy main" >> /etc/apt/sources.list
apt-get update

2 / Installation of the necessary packages:

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

After installing the packages, the “network-manager” service has restarted to take into account its new functionalities.

Your Kali Linux is already ready to be configured to use a VPN connection (OpenVPN but also IPSEC with IKE in version 2, PPTP and finally VPNC (a type of Cisco VPN).

You can now connect to your Open VPN server as for example described in this tutorial describing the use of the Hide My Ass VPN server.

Tagged in: