Enable VPN on Kali Linux

Fix VPN grayed out problem and 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 install necessary packages to fix VPN grayed out issue and enable VPN on Kali Linux.

Enable VPN on Kali Linux - blackMORE Ops - 0

A virtual private network connection across the Internet is similar to a wide area network (WAN) link between sites. From a user perspective, the extended network resources are accessed in the same way as resources available within the private network. Through VPN you can access your private network over Internet.

VPNs allow employees to securely access their company’s intranet while traveling outside the office. Similarly, VPNs securely connect geographically disparate offices of an organization, creating one cohesive network. VPN technology is also used by Internet users to connect to proxy servers for the purpose of protecting personal identity and location. [Source:WikiPedia]

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.
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. 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.

Enable VPN on Kali Linux - blackMORE Ops - 1

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 - blackMORE Ops - 2

Enable VPN on Kali Linux


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

Enable VPN on Kali Linux - blackMORE Ops - 3

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 theNetwork 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.
Enable VPN on Kali Linux - blackMORE Ops - 4
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.
Enable VPN on Kali Linux - blackMORE Ops - 5

Use the drop down menu to get more supported VPN Connection Types:
Enable VPN on Kali Linux - blackMORE Ops - 6

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)

Conclusion

VPN is good, VPN is secure, VPN allows you to bypass proxies, Firewall, monitoring and content filtering. But there’s always that drama when you’re using VPN, it sometime is slow and sometime is not that secure you’d think. But for countries like Iran, Pakistan, Egypt, China, North Korea etc. where content filtering is done in National Level maybe it’s a way to get the voice out. I am not going to discuss legality here, so I will leave that to you.
I also got a list of VPN providers that I’ve tested and collected over the years, some are really fast and reliable, some are not. Some are free and some are expensive. Let me know if you want a more in detailed guide to setup VPN and actually show you how to browse using it, and I can do it when I am free. You can also tell us about your setup in comments section and I will be happy to include them in this guide or a new one.
Thanks again for reading. Please share.
Enable VPN on Kali Linux Enable VPN on Kali Linux Reviewed by Surjeet Roy on August 09, 2014 Rating: 5

No comments:

To insert a short code, use & lt; i rel = & quot; code & quot; & gt; ... CODE ... & lt; / i & gt;
To insert a long code, use & lt; i rel = & quot; pre & quot; & gt; ... CODE ... & lt; / i & gt;
To insert an image, use & lt; i rel = & quot; image & quot; & gt; ... PICTURE URL ... & lt; / i & gt;

Powered by Blogger.