My Profile Photo

Internet of Me by Jerad Acosta


A place to reference, recite, rinse and repeat my efforts, failures, thoughts and progress, delusions and regressions, but mostly a sandbox for whoever I am at the moment. Perhaps I'll occasionally enjoy the reminiscing with the castles or taking census of the endless games of tic-tac-toe etched in my box.


VPN Setup on Kali Pi

How To:

#Kali-Pi VPN Tutorial

Enable Private Internet Access VPN service on a Raspberry Pi Running Kali v2.1.2

This is a quick method to render a fresh Kali image running on a Raspberry Pi able to work with the Private Internet Access VPN service.
The Offensive Security Kali ARM Images do not support the Private Internet Access VPN service out of the box at the time of this piece (Kali ARM Version 2.1.2 + Raspberry Pi 3)

Here I attempt the mend that problem (spoiler it works) and share any hopeful results with other fans of the service as well as the tech; stubbornly existing, unwilling to choose between forfeiting security or freedom

‘for they shall have none’ ¿or is it ‘deserve none’? either way Abraham Lincoln will be pissed at you…

...for messing up a Bengimin Franklin quote of course!
  1. Install openvpn packages
    $ apt-get install network-manager-openvpn
    
  2. install private internet access’ openvpn client
    $ wget https://www.privateinternetaccess.com/openvpn/openvpn.zip
    
  3. move downloaded zip file to its own directory
    $ mv openvpn.zip /etc/openvpn
    
  4. change into newly created openvpn directory where the zip file was placed
    cd /etc/openvpn
    
  5. unzip the openvpn package in it’s directory
    $ unzip openvpn.zip
    
  6. You can now use the GUI to select a VPN connection Type: follow the prompt.

Open Network Manager –> –> Select 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 us-east.privateinternetaccess.com (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 openvpn.zip 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: http://www.blackmoreops.com/2014/03/03/20-things-installing-kali-linux/ 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.

comments powered by Disqus