How to setup OpenVPN on Kali Linux

How to setup OpenVPN on Kali Linux. Before you begin, please make sure that:

  • You must have an active internet connection
  • A Premium Ivacy VPN account. If you haven’t subscribed yet, click here to subscribe to Ivacy VPN

This guide will walk you through setting up OpenVPN on Kali.
Before beginning to set up OpenVPN on a device running on Kali, you need to make sure you have a premium Ivacy account and the required OpenVPN configuration files.

  1. The required OpenVPN configuration files can be obtained 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.
  2. Go to your “Downloads” directory, right click the ZIP archive and select “Extract Here” to extract the files.
  3. Now go to the ‘Menu’ option and search and open the ‘Terminal Emulator’
  4. Now you need to install OpenVPN packages. Type the following commands one by one:
    • sudo apt-get update
    • sudo apt-get install network-manager-openvpn
    • sudo apt-get install network-manager network-manager-gnome network-manager-openvpn-gnome
  5. Select the following options:
    • Click on “Ethernet Network Connection“
    • Go to “VPN Connections”
    • Select “Add a VPN Connection…”
  6. Select ‘Import a saved VPN configuration’ option. Click on the “Create” button.
  7. Go to the Downloads directory, select the folder containing OpenVPN files i.e. ‘New OpenVPN Files’. Select the desired file with “.ovpn” extension. Click “Open” button.
  8. Now enter the following information:
    Insert Connection name: Ivacy (Here we use Ivacy, you can change it any other name)
    • Select Type: Password from drop down menu
    • Insert Username provided by Ivacy
    • Insert Password provided by Ivacy
    • Click on folder icon from Certificate folder and add the ‘ca.crt.crt’ file.
    • Click on ‘Save’
  9. Now go to the “Ethernet Network Connections” option and under “VPN Connections” click/check on the newly created “Ivacy” connection to activate VPN.
  10. You are now connected to Ivacy!

Was this helpful?

Leave a Reply

Your email address will not be published.