Sunday, June 8, 2014

Enable Virtual Private Network (VPN) on Kali Linux




In Kali Linux the VPN options are grayed out because it is missing some of the required packages to enable Virtual Private Networks in Network Manager. This quick video shows you how to install the missing packages in Kali so that the VPN option is no longer grayed out.

You can omit the last two packages (network-manager-iodine & network-manager-iodine-gnome) if you'd like as they aren't needed by the average user.



apt-get 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 network-manager-openconnect network-manager-openconnect-gnome network-manager-iodine network-manager-iodine-gnome 



4 comments:

  1. didn't work

    apt-get 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 network-manager-openconnect network-manager-openconnect-gnome network-manager-iodine network-manager-iodine-gnome
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package network-manager-pptp 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

    Package network-manager-openconnect 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

    Package network-manager-openvpn 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

    Package network-manager-vpnc 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

    Package network-manager-openconnect-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

    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

    Package network-manager-vpnc-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

    Package network-manager-pptp-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' has no installation candidate
    E: Package 'network-manager-openvpn-gnome' has no installation candidate
    E: Package 'network-manager-pptp' has no installation candidate
    E: Package 'network-manager-pptp-gnome' has no installation candidate
    E: Unable to locate package network-manager-strongswan
    E: Package 'network-manager-vpnc' has no installation candidate
    E: Package 'network-manager-vpnc-gnome' has no installation candidate
    E: Package 'network-manager-openconnect' has no installation candidate
    E: Package 'network-manager-openconnect-gnome' has no installation candidate
    E: Unable to locate package network-manager-iodine
    E: Unable to locate package network-manager-iodine-gnome

    ReplyDelete
    Replies
    1. Are you sure that system has internet access? You can test through terminal by typing `ping 8.8.8.8` and make sure it receives packets, or you could use curl to get a site, like `curl yahoo.com`. If you do have working internet, try `apt-get update' then you can move on to `apt-get install network-manager-openvpn` or the full list. I'm guessing it isn't connecting to the internet, otherwise your repositories or something else is messed up.

      Delete
  2. W: Failed to fetch http://repo.mongodb.org/apt/ubuntu/dists/sana/mongodb-/multiverse/binary-i386/Packages 404 Not Found

    E: Some index files failed to download. They have been ignored, or old ones used instead.

    ReplyDelete
  3. Over-burden servers with a data transmission that can't stay aware of the request will bring about a much slower encounter. how to change ip address to india

    ReplyDelete