How to Enable VPN on Kali Linux


A virtual private network (VPN) extends a private network across a public network, such as the Internet. It enables a computer to send and receive data across shared or public networks as if it is directly connected to the private network, while benefiting from the functionality, security and management policies of the private network.

A VPN is created by establishing a virtual point-to-point connection through the use of dedicated connections, virtual tunneling protocols, or traffic encryptions. On Kali Linux, by default VPN options are grayed out. This guide will show users how to enable VPN on Kali Linux.


Why use VPN – benefits?
Here’s my top 11 reasons why you would want to use VPN services.
  1. VPN provides Privacy and cloaks your IP address.
  2. Use any network (public or private or free WiFi) with encryption
  3. Login to your home or Work network from anywhere with confidence.
  4. Bypass censorship and content monitoring.
  5. Browse and bypass Firewall and censorship policy at work or Anywhere!
  6. Access region restricted services from anywhere (i.e. Youtube videos, NetFlix or BBC Player etc.)
  7. Transfer or receive files with privacy.
  8. Hide your voice/VOIP calls.
  9. Use Search Engines while hiding some of your identity.
  10. Hide yourself
  11. Cause you like to be anonymous.
Remember :
As you can see from the list above, VPN not necessarily hides everything. Search engines can probably still recognizes you based on your cookies, previous browsing behavior, account sign-in (duh!), browser plug-ins (i.e. Alexa, Google Toolbar etc.).


>>> VPN grayed out problem on Kali Linux

By default the VPN section is grayed out on Kali Linux (see screenshot). While this can be a easy fix, those who are not familiar with packages required for VPN, can get confused and with so many websites around giving different advises, it can be a problem identifying the correct info. I will try to provide a short and concise guide with explanation to my best ability.


Read below on how to enable VPN (by enabling VPN you actually fix VPN grayed out issue on Kali Linux). Screenshot below shows the Grayed out VPN +Add button on a default Kali Linux installation.



>>> Enable VPN on Kali Linux

First of all fix you repositories. For safety , please use Kali Linux Official repositories.

Like I said before, this is very simple actually. Just run the following command as root and you’re all set.(and of course you need to have the correct repositories).
aptitude -r install network-manager-openvpn-gnome network-manager-pptp network-manager-pptp-gnome network-manager-strongswan network-manager-vpnc network-manager-vpnc-gnome


Explanation :
I think I owe some explanation on why I am using aptitude instead of apt-get, why I am using -r flag and why I am not restarting the Network Manager.
By using aptitude -r install, I am ensuring that it installs all packages as mentioned above along with any recommended packages (total download size is very small i.e. 1969kB, so nothing to worry about).

The reason I am not restarting Network Manager is because aptitude would do it for you. Why do it twice, right?
Once installation is finished, go back to Network ICON on top right > Network Connections > VPN TAB and now +Add button is not grayed out anymore.




So let’s check what you get when you press the +Add  button.

>>> VPN Options on Kali Linux (GNOME)
Following is what you will see when you press the +Add button on VPN tab.



Use the drop down menu to get more supported VPN Connection Types:



In total, you got 4 supported VPN Connections types on Kali Linux:
  1. Cisco Compatible (vpnc)
  2. IPsec/IKEv2 (strongswan)
  3. OpenVPN
  4. Point-to-point Tunneling Protocol (PPTP)
Credits: 4ntipatika
Share on Google Plus

About Blurffy

Just another internet folk who want to share random softwares, movies and any kind of things in the internet.
    Blogger Comment

0 comments:

Post a Comment