In KDE I have a button "Import" which can be used to import VPN connection from .ovpn file.

How to do it in elementary OS Loki?

  • You will need to install OpenVPN support before you do anything else. In Freya this used to involve installing the networkmanager-openvpn package, however I'm not sure whether this step is required for Loki or if it comes preinstalled.
    – Mike Wild
    Commented Sep 19, 2016 at 14:41

2 Answers 2


In Loki, openvpn and networkmanager-openvpn are already installed.

To import an *.ovpn, you need to make sure you have certificate files separate from the *.ovpn.

Then go to System Settings -> Network -> VPN. Click the "+", then in the window that pops up, click on "Add".

In the dropdown you'll see "Import a Saved VPN connection".

  • OMG! Elementary team what you are doing? You think we must do this bull**** youtube.com/watch?v=Q6-43ucVh44 like this just to connect by openvpn? -_- crazy guys
    – Amaroc
    Commented May 14, 2018 at 13:44

Here is a python script that will do the cert separation for you https://gist.github.com/seebk/bb94a7fd70d4cc454aaa

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.