Ask Your Question
1

How do I configure OpenVPN in NetworkManager with an .ovpn configuration file?

asked 2013-02-19 13:48:41 -0500

freax gravatar image

updated 2013-02-19 21:03:10 -0500

ryanlerch gravatar image

Hi,

finally I completly removed my Windows-Partition :-) Now I`m facing a Problem, sometimes I need an OpenVPN Connection to my Workplace. Before I did that on Windows, with OpenVPN-Gui an .p12-File (without password) and an .ovpn-File for the Settings! And I don´t get it, how to configure OpenVPN with these Files and the NetworkManager in Fedora.

I would really appreciate if someone can help me to figure out how get it working with just these two files.

best regards

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2013-02-19 20:44:26 -0500

ryanlerch gravatar image

You should be able to import the OpenVPN settings (the .ovpn file) using these steps:

  1. Open up Network settings
  2. Add a new connection using the + button at the bottom left of the left pane.
  3. A Dialog will appear, choose VPN as the type of connection, and click create.
  4. Another dialog will appear, choose Import Saved VPN Configuration and click create.
  5. In the file chooser that appears, choose your .ovpn file.

Now the VPN Setting dialog should appear. Depending on the settings in the .ovpn file, there should be a Certificate field to choose your .p12 certificate file.

I have personally never set up an OpenVPN connection, but am pretty sure this will work as required.

edit flag offensive delete link more

Comments

the import of the .ovpn File works like charm but i can´t connect because the NM require a password for the .p12 Key and my .p12 has no password...so do you have a workaround for this?

freax gravatar imagefreax ( 2013-02-20 13:05:28 -0500 )edit

in the "VPN" tab, what Authentication Type is chosen there? YOu might want to try changing that to something different?. Does NM make you type in a password before continuting? Sorry i cant be of much more help, its hard to without knowing the specifics of your VPN. :)

ryanlerch gravatar imageryanlerch ( 2013-02-20 15:32:39 -0500 )edit

Question Tools

Stats

Asked: 2013-02-19 13:48:41 -0500

Seen: 33,277 times

Last updated: Feb 19 '13