• Level up your digital security with the all-new password manager.

Introducing PureKeep, a premium password manager. You can keep your passwords safe and accessible whenever you need them. Get Started

How to Setup OpenVPN on Kali Linux

Jun 04, 2020
Aug 10, 2022
0 Comments
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)
Note: Dedicated IP addon can be only be connected with Ras protocol i.e PPTP/L2TP/SSTP/IKEV.
Find your VPN credentials for manual configuration.

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

  • Login to the Member area using your PureVPN registered email address and password.
  • From manage account section, go to the Subscriptions tab.
  • On Subscription 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 the 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:
    • Click Ethernet Network Connection
    • Go to VPN Connections
    • 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!
Kali-Linux-VPN-connected
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 )