I struggled installing Private Internet Access’ vpn in Kali a few different times using their Linux installer, and decided to share the super-simple way I got it to work.

 

  1. Make sure you have your /etc/apt/sources.list file populated with the correct values. These are the ones I used

    deb https://http.kali.org/kali kali-rolling main contrib non-free

    deb-src https://http.kali.org/kali kali-rolling main contrib non-free

  2. apt-get update

  3. apt-get install network-manager network-manager-openvpn network-manager-gnome network-manager-openvpn-gnome

  4. edit /etc/NetworkManager/NetworkManager.conf and set managed=true (in the [ifupdown] section)

  5. mkdir OpenVPN-setup-PIA

  6. cd OpenVPN-setup-PIA

  7. wget https://www.privateinternetaccess.com/openvpn/openvpn.zip

  8. unzip openvpn.zip

  9. shutdown -r now

  10. Open NetworkManager and create a new VPN connection

    1. Hit the + and select “Import from file”.
    2. Clear the :1198 from the gateway.
    3. Click the Advanced button and change the default port from 1194 to 1198
  11. Put enter your username/password & click ‘Add’

  12. Connect!