Introducing PureSquare – for security beyond VPNs

Visit our website

Don’t worry about forgetting your passwords ever again with the all-new password manager. Try PureKeep

How to Setup OpenVPN on Kali Linux

Jun 04, 2020
Mar 27, 2023
Download PDF

This guide will walk you through setting up OpenVPN on Kali Linux.

Before beginning to set up OpenVPN on a device running on Kali, you need to make sure you have a premium PureVPN account and the required OpenVPN configuration files.

Things to Consider:

  1. You have a working internet connection.
  2. Kali Linux Supported Device.
  3. A Premium PureVPN account (If you haven’t bought yet click 👉here to buy).
Find your VPN credentials for manual configuration.

To find your VPN credentials log into the PureVPN member area. Click 👉 here to visit member area.

  • Login to the Member area using your PureVPN registered email address and password.
  • On subscriptions tab scroll down to be able to view your VPN credentials.
  • You will be able to see and copy your VPN credentials.
  • Note down your PureVPN username and click on Eye icon to make your password visible and use it in the manual configuration.
How to connect PureVPN manually on Kali Linux.
  • The OpenVPN configuration files can be obtained by 👉clicking here. Use your preferred browser to download the ovpn zip file.
  • You will get a prompt asking what to do with the ZIP archive, select Save File and click OK. It should be downloaded to your Downloads directory.
OpenVPN configuration files Download
  • Go to your Downloads directory, right click the ZIP archive and select Extract Here to extract the files.
Extract OpenVPN configuration file
  • Now go to the Menu option and search and open the Terminal Emulator.
Terminal Emulator on Kali Linux
  • Now you need to install OpenVPN packages. Type the following commands one by one:
1. sudo apt-get update
2. sudo apt-get install network-manager-openvpn
3. sudo apt-get install network-manager network-manager-gnome network-manager-openvpn-gnome
  • Select the following options:
    1. Click Ethernet Network Connection.
    2. Go to VPN Connections.
    3. Select Add a VPN Connection…
Select Add a VPN Connection on Kali Linux
  • Select Import a saved VPN configuration option. Click the Create button.
Choose a VPN connection type Kali linux
  • Go to the Downloads directory, select the folder containing OpenVPN files i.e. New OpenVPN Files. Select the desired file with .ovpn extension. Click the Open button.
New OpenVPN Files
  • Now enter the details as mentioned below:
  • Insert Connection name: PureVPN (Here we use PureVPN, you can change it any other name).
  • Select Type: Password from drop down menu.
  • Enter your PureVPN credentials. Here is how you can 👉find your VPN credentials.
  • Click the folder icon from the Certificate folder and add the ca.crt.crt file.
  • Click Save.
Editing VPN details Kali Linux
  • Now go to the Ethernet Network Connections option and under VPN Connections click/check on the newly created PureVPN connection to activate VPN.
VPN Connections Kali Linux
  • You are now connected to PureVPN!
Was this article helpful? Rate and share your comments below. Your input matters to us and everyone else in the Cyber Security Community.

How helpful did you find this answer?

Comments (0 )