How to Install " Private Internet Access " VPN on Kali Linux





Introduction: How to Install " Private Internet Access " VPN on Kali Linux

This is a tutorial on how to instal the " Private Internet Acess " vpn on your Kali machine, keep in mind they don't fully
support Kali like they do for other versions.

Step 1: Getting Necessary Packages

you need to install openvpn packages if you haven't already, topen the terminal and put in this code:

apt-get install network-manager-openvpn

(you can copy the code, then right click in terminal and paste, Ctrl + v does not work)

after that, hit enter to run the code.

Step 2: More Commands! Yay!

now you need to use this code in the terminal:


same way as before, copy or type it then hit enter!

Step 3: CHANGE PLACES!!! -the Mad Hatter

move the downloaded zip file to its own directory:

mv /etc/openvpn

that puts it in its own directory, now you need to go to that directory with:

cd /etc/openvpn

and then run the command:


Step 4: Easy Part, GUI

ok, if you did all of that right you should have no problems from here on out!

now we need to click the network manager, then VPN connections, configure/add VPN...

click   [ADD +]   click the drop down menu, and set the type as OpenVPN.

click   [Create] 

Make sure you are on "VPN" tab, not "IPv4 settings".

Connection name: (you can put whatever you want here)

For Gateway enter " " (no quotes or spaces)

Type: set the type as Password

put in your Private Internet Access username and password.

CA Certificate:  CA.crt is in the folder that you unzipped in.
click (none) and direct it there, if you're following word for word it will be in /etc/openvpn

click [Advanced] and check the box next to "use LZO data compression"

click [OK] [Save] [Close]

You're good to go!

now click network manager > vpn connections > your connection

it will notify you when you are connected.

(note: there are lots of great things to do after this, some are here: I have no affiliation with them, but it's a good read.)

if you choose saved for password, you may have to enter your password for keyring.

Good luck out there!



    • Epilog Challenge 9

      Epilog Challenge 9
    • Paper Contest 2018

      Paper Contest 2018
    • Science of Cooking

      Science of Cooking

    We have a be nice policy.
    Please be positive and constructive.




    wget & wget

    I made a script that will install PIA into Kali. It's very easy to use. It also has an optional NetworkManager reset script that comes with it. The reset script is pretty handy. It took me too long to initially get this installed, so I wanted to help someone else out. After using it, all the servers are installed in the NM's taskbar and Network Settings pages. reliable and straightforward.

    wget <--ha got an awesome

    navigate to the download directory

    chmod u+x

    sh ./

    the script will guide you from there. --cheers

    Screenshot from 2016-06-24 04-48-24.pngScreenshot from 2016-06-24 04-51-43.pngScreenshot from 2016-06-24 04-52-00.png

    Worked great! Thanks!

    bitly is used to shorten private ips holding exploits and viruses, there many other alternatives besides wget a bitly url

    I thought the same thing but i downloaded and it checked it out. It's legit and worked on Kali 2.0.

    Worked perfectly!

    also i dont know why people tend to use those horrid applications in
    linux distros, when you cd /etc/openvpn --- ls ---- just use openvpn
    sweden.ovpn "enter" and username and password, that way you have a log
    if need be !

    For those who don't know it should be made clear at the very beginning that gotta have a PIA account (yes, it's not free) in the first place for this method to work. :)

    Thanks but this didnt quite work for me, I wrote a post explaining how I got it working.

    This is good, thank you.

    also I've uploaded a new tut for K2.0 as it is a bit different.