Saturday , December 14 2024 12:29 AM
Home / Tutorials / Kali Tutorials / Installing VPN on Kali Linux

Installing VPN on Kali Linux

VPN on Kali Linux is strangely not installed and enabled by default which leaves you with a greyed out VPN option panel. VPN stands for Virtual Private Network and extends your private network over the internet. In this tutorial we will install the necessary packages and setup the popular VyprVPN service in Kali Linux.

I’m using VyprVPN as VPN service for a couple months now on public Wifi for example. This service is fast, reliable and there are many servers/countries to choose from (50+ servers and 200,000 IP addresses). Goldenfrog claims to not keep logs and they have great apps available for managing connections. If you sign up using the following link we both get a month for free:

https://www.goldenfrog.com

There are several reasons why you would want to use a VPN service:

  1. VPN cloaks your IP Address and location so you will be anonymous
  2. Avoid internet censorship, firewalls and access region restricted content
  3. Encrypt your network traffic (on public Wifi for example)
  4. To hide your identity

Note that search engines and platform can still recognize you based on cookies or logins for example.

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.

Installing VPN on Kali Linux 1

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”:

Installing VPN on Kali Linux 2

Select OpenVPN as connection type.

Installing VPN on Kali Linux 3

And click create:

Installing VPN on Kali Linux 4

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

Installing VPN on Kali Linux 5

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

Installing VPN on Kali Linux 6

The file was downloaded to the following location:

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

Installing VPN on Kali Linux 7

Click the save button and we are ready to go!

Installing VPN on Kali Linux 8

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

About GOPU

Technology Enthusiast with a keen eye on the Cyber-security and other tech related developments.

Check Also

RAMBleed Attack – Flip Bits to Steal Sensitive Data from Computer Memory

A team of cybersecurity researchers yesterday revealed details of a new side-channel attack on dynamic …