Enable VPN on Kali Linux – fix VPN grayed out problem

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.

A complete guide on how to setup VPN on Kali Linux was added. Don’t forget to check that.

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

Check Also

124 legal hacking websites to practice and learn - blackMORE Ops -1

124 legal hacking websites to practice and learn

Joe Shenouda is well known in The Netherlands as “The Netdetective” who has extensive experience …

Microsoft Office Vulnerability Found, Check Point Research To The Rescue

Check Point SandBlast protected users from a Zero-Day Microsoft Office Vulnerability

Neil Armstrong, the great space explorer, once said “research is all about creating new knowledge.” …

36 comments

  1. i would absolutely appreciate you doing a detailed guide to setup vpn PlZ do if u can and thank you 4 all your help

  2. apt-get install network-manager-openvpn-gnome
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Package network-manager-openvpn-gnome is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package ‘network-manager-openvpn-gnome’ has no installation candidate

  3. plz provide the solution

  4. i am also having the same prob like fasi plz help i had also noticed it is giving same error when i try to install “chkconfig” PLZ help

  5. Thanks for the guide!

  6. that didn’t work i keep getting errors as follows

    No candidate version found for network-manager-openvpn-gnome
    Couldn’t find any package whose name or description matched “network-manager-p”
    Couldn’t find package “ptp”. However, the following
    packages contain “ptp” in their name:
    thc-pptp-bruter
    No candidate version found for network-manager-pptp-gnome
    No candidate version found for network-manager-strongswan
    No candidate version found for network-manager-vpnc
    No candidate version found for network-manager-vpnc-gnome
    No candidate version found for network-manager-openvpn-gnome
    Couldn’t find any package whose name or description matched “network-manager-p”
    Couldn’t find package “ptp”. However, the following
    packages contain “ptp” in their name:
    thc-pptp-bruter
    No candidate version found for network-manager-pptp-gnome
    No candidate version found for network-manager-strongswan
    No candidate version found for network-manager-vpnc
    No candidate version found for network-manager-vpnc-gnome
    No packages will be installed, upgraded, or removed.
    0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
    Need to get 0 B of archives. After unpacking 0 B will be used.

    • Dustin,
      You’re not paying attention. The actual command to use is:

      aptitude -r install network-manager-openvpn-gnome network-manager-pptp network-manager-pptp-gnome network-manager-strongswan network-manager-vpnc network-manager-vpnc-gnome

      You are also missing repositories. Fix those.
      -BMO

  7. i learned a lot from you tutorials thank you :)
    i would appreciate if you could write a bit more about VPNs and to anonymously and securely surf the net

  8. hello..im after trying this but vpn tab cannot enable, why?
    the installation is complete
    \

  9. Not working

    No candidate version found for network-manager-openvpn-gnome
    No candidate version found for network-manager-pptp
    No candidate version found for network-manager-pptp-gnome
    No candidate version found for network-manager-strongswan
    No candidate version found for network-manager-vpnc
    No candidate version found for network-manager-vpnc-gnome
    No candidate version found for network-manager-openvpn-gnome
    No candidate version found for network-manager-pptp
    No candidate version found for network-manager-pptp-gnome
    No candidate version found for network-manager-strongswan
    No candidate version found for network-manager-vpnc
    No candidate version found for network-manager-vpnc-gnome
    No packages will be installed, upgraded, or removed.
    0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B of archives. After unpacking 0 B will be used.

  10. for saudi arabia too :)

  11. it’s fine , but the next stpes please
    how to configure openvpn

  12. After i ran the command it now only boots me into terminal and i don’t know how to return to GUI can you help?

  13. After Doing the ( aptitude -r install network-manager-openvpn-gnome network-manager-pptp network-manager-pptp-gnome network-manager-strongswan network-manager-vpnc network-manager-vpnc-gnome ) my network manager shut down , i rebooted and there was no gui i was booted to tty1 when i used startx there was no desktop environment ( i also tried tt7 same issue ) , then installed a different desktop environment and still network icon ( next to keyboard layout ) and sound icon disappeared

    What Should I Do ??

    • Found a fix
      apt-get install network-manager network-manager-gnome
      Sorry For The Disturbance

      • I had the same problem, this solution fixed it, except that I had to startx manually.
        If you want to have Kali to boot on the GUI automatically, you should also

        apt-get update
        apt-get upgrade -y
        apt-get install -f gdm3

  14. Hi there,
    I’d really appreciate the list that you offered of VPN providers, specially the free ones.

    Thaks in advanced.

    Regards

  15. Hi, First thank you very much for your awesome tutorials, I almost daily visitor now! How did you get to to this desktop information on the right side ? Thanks

  16. Thanks! That worked without effort. I’ll go and configure openVPN now.

    BTW: Proxy.sh seems to be a great VPN provider – not very expensive, and they have instructions for how to set up openVPN (and others) for Linux on their site.

  17. worked fine for me thanks for the fix!!!!!

  18. When I do this , I get the following:

    aptitude -r install network-manager-openvpn-gnome network-manager-pptp network-manager-pptp-gnome network-manager-strongswan network-manager-vpnc network-manager-vpnc-gnome
    The following NEW packages will be installed:
    ipsec-tools{a} libbonoboui2-0{a} libbonoboui2-common{a} libfcgi0ldbl{a} libgnomecanvas2-0{a} libgnomecanvas2-common{a} libgnomeui-0{a}
    libgnomeui-common{a} libstrongswan{a} network-manager-openvpn{a} network-manager-openvpn-gnome network-manager-pptp network-manager-pptp-gnome
    network-manager-strongswan network-manager-vpnc network-manager-vpnc-gnome pptp-linux{a} strongswan-ikev2{a} strongswan-nm{a}
    The following packages will be REMOVED:
    gir1.2-gnomedesktop-3.0{u}
    0 packages upgraded, 19 newly installed, 1 to remove and 1 not upgraded.
    Need to get 4,104 kB of archives. After unpacking 16.1 MB will be used.
    Do you want to continue? [Y/n/?]

    Why would it want to remove gir1.2-gnomedesktop-3.0?

    This is now the second time i had to reload kali for the same thing, previouse time it wasnt trying to enable VPN that broke it though..

    • If you want to keep a package that was installed as part of something else (and later removed), you can always do aptitude reinstall gir1.2-gnomedesktop-3.0. That will make sure that package will be marked as manually installed rather than as an automated installation.

  19. awesome !!!! thanks for the info

  20. harish nimgade

    hi sir ,
    my clg have wlan connection but they gives authentication user name and password with proxy and port …..so vpn can help on it …? or recommend any tool for that ……….thank u

  21. I want to know how to connect it in China. Thanks.

  22. Please help, after I ran the command, most of my keyboard keys stopped working. what could be the cause? I was also scared to restart my pc as I suspected it would start in terminal mode. Is there any command to fix everything back?

  23. I get this when I try to install them. How do I fix that?
    Need to get 4,178 kB of archives. After unpacking 16.4 MB will be used.
    Err http://http.kali.org/kali/ kali/main libart-2.0-2 amd64 2.3.21-2
    404 Not Found
    Err http://http.kali.org/kali/ kali/main libfcgi0ldbl amd64 2.4.0-8.1
    404 Not Found
    Err http://http.kali.org/kali/ kali/main libgnomecanvas2-common all 2.30.3-1.2
    404 Not Found
    Get: 1 http://security.kali.org/kali-security/ kali/updates/main libstrongswan amd64 4.5.2-1.5+deb7u7 [523 kB]
    Err http://http.kali.org/kali/ kali/main libgnomecanvas2-0 amd64 2.30.3-1.2
    404 Not Found
    Err http://http.kali.org/kali/ kali/main libbonoboui2-common all 2.24.3-1
    404 Not Found
    Err http://http.kali.org/kali/ kali/main libbonoboui2-0 amd64 2.24.3-1
    404 Not Found
    Get: 2 http://security.kali.org/kali-security/ kali/updates/main strongswan-nm amd64 4.5.2-1.5+deb7u7 [58.4 kB]
    Err http://http.kali.org/kali/ kali/main libgnomeui-common all 2.24.5-2
    404 Not Found
    Err http://http.kali.org/kali/ kali/main libgnomeui-0 amd64 2.24.5-2
    404 Not Found
    Err http://http.kali.org/kali/ kali/main network-manager-openvpn amd64 0.9.4.0-1
    404 Not Found
    Get: 3 http://security.kali.org/kali-security/ kali/updates/main ipsec-tools amd64 1:0.8.0-14+deb7u1 [103 kB]
    Err http://http.kali.org/kali/ kali/main network-manager-openvpn-gnome amd64 0.9.4.0-1
    404 Not Found
    Err http://http.kali.org/kali/ kali/main pptp-linux amd64 1.7.2-7
    404 Not Found
    Err http://http.kali.org/kali/ kali/main network-manager-pptp amd64 0.9.4.0-2
    404 Not Found
    Err http://http.kali.org/kali/ kali/main network-manager-pptp-gnome amd64 0.9.4.0-2
    404 Not Found
    Err http://http.kali.org/kali/ kali/main network-manager-vpnc amd64 0.9.4.0-1
    404 Not Found
    Err http://http.kali.org/kali/ kali/main network-manager-vpnc-gnome amd64 0.9.4.0-1
    404 Not Found
    Err http://http.kali.org/kali/ kali/main network-manager-strongswan amd64 1.3.0-1
    404 Not Found
    Fetched 51.4 kB in 7s (6,964 B/s)
    E: Failed to fetch http://http.kali.org/kali/pool/main/liba/libart-lgpl/libart-2.0-2_2.3.21-2_amd64.deb: 404 Not Found

  24. Any idea on how to get a Cisco PCF certificate to work with Kali Linux 2.0?
    Regards

  25. i had the same problem becuase i was using a old kali and when try to download it tryed to download new stuff and old so i did cat << EOF > /etc/apt/sources.list
    deb http://old.kali.org/kali moto main non-free contrib
    EOF

    apt-get update&&apt-get upgrade
    kali 3.14 or 3.18 i cant remeber
    but after doing that i could then grab packets from this version back only witch is really good if your running low on memory
    after that then i done

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

    and not a problem

  26. MY Problem’s Always VPN Not Connected when i try to connect it’s say “Connecting”
    Then back to not Connecteing
    i try every thing in google / Youtube but all’s Usless
    if any one can help please don’t late :D

  27. Ruchira Jayasekara

    apt-get install network-manager-pptp
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    network-manager-pptp : Depends: pptp-linux but it is not going to be installed
    Depends: ppp (>= 2.4.5) but it is not going to be installed
    Depends: ppp (< 2.4.6) but it is not going to be installed
    Recommends: network-manager-pptp-gnome but it is not going to be installed or
    plasma-widget-networkmanagement but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.

    I cant install, this error shows up

Leave your solution or comment to help others.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from blackMORE Ops

Subscribe now to keep reading and get access to the full archive.

Continue reading

Privacy Policy on Cookies Usage

Some services used in this site uses cookies to tailor user experience or to show ads.