LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-17-2009, 10:49 AM   #1
morbo77
LQ Newbie
 
Registered: Jul 2009
Distribution: Redhat/Fedora, and a little Debian/Ubuntu
Posts: 2

Rep: Reputation: 0
Configure NetworkManager OpenVPN - Import Configuration Fails


Hi,

This is my first post to LinuxQuestions, and it is a bit of a tricky one, but here it goes.

I've been trying to figure out how to "import" a configuration into NetworkManager for OpenVPN. However it appears that NetworkManager has its own configuration format.

What I would ultimately like to do is take an previously defined openVPN configuration file (that works on the command line using openvpn --config openvpn.conf), and import that into NetworkManager. My configuration is using Password with Certificates (TLS).

At the moment I am getting what appear to be gtk related error messages when I attempt to import my openvpn.conf file. With an error message regarding the configuration option ca.

Has anyone else run into this and possibly found a solution?

I am running
- Fedora 11 (kernel 2.6.29.6-217.2.3.fc11.i586)
- NetworkManager-glib-0.7.1-8.git20090708.fc11.i586
- NetworkManager-gnome-0.7.1-8.git20090708.fc11.i586
- NetworkManager-0.7.1-8.git20090708.fc11.i586
- openvpn-2.1-0.32.rc15.fc11.i586
- NetworkManager-openvpn-0.7.0.99-1.fc11.i586
 
Old 09-17-2009, 08:51 PM   #2
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
Yea, I found that too. In short, the network-manager openvpn bits are buggy. Here's one relevant bugzilla entry:

https://bugs.launchpad.net/ubuntu/+s...vpn/+bug/91615

There are others out there specifically about importing, too -- which last I checked, was confirmed to not work.
 
Old 09-18-2009, 07:59 AM   #3
morbo77
LQ Newbie
 
Registered: Jul 2009
Distribution: Redhat/Fedora, and a little Debian/Ubuntu
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jhwilliams View Post
Yea, I found that too. In short, the network-manager openvpn bits are buggy. Here's one relevant bugzilla entry:

https://bugs.launchpad.net/ubuntu/+s...vpn/+bug/91615
Thanks for the link. I've found that a lot of users have complained about not being able to import configurations with PKCS12 certificates. However my implementation is using PEM crt and key combination. It would appear to me that all configuration imports for NetworkManager-openvpn that use certificates are broken.

Has anyone successfully imported an openVPN configuration into NetworkManager?
 
Old 09-18-2009, 07:08 PM   #4
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
My VPN uses PEM/CRT too -- I had no luck. In a way, it's okay, though. You probably want to VPN regardless of what physical network network-manager is copulating over. I found it quite satisfactory just to run the openvpn daemon as a system service with a static config in /etc/openvpn (or whatever.) Rarely will I have to /etc/init.d/openvpn restart or something of the like. Not quite as slick as it would be *were the network manager openvpn extension functional*, but not an all-together unappealing technical solution: namely, it works.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Networkmanager + OpenVPN : timeout problem (Fedora 10) jonaskellens Linux - Networking 5 11-02-2011 09:30 AM
Wireless configuration NetworkManager for Etch swampdog2002 Debian 5 03-28-2008 05:06 PM
Configuration of OPENVPN Camara SUSE / openSUSE 1 10-04-2006 04:29 PM
OpenVPN script fails Echo Kilo Linux - Networking 1 01-25-2006 10:13 PM
python: import distutils fails on debian? jpbarto Linux - Software 0 01-18-2004 10:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration