From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: openvpn with networkmanager Date: Sun, 09 Sep 2018 12:25:02 +0200 Message-ID: <871sa3dl35.fsf@gnu.org> References: <8736up6w7l.fsf@jnanam.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41373) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyx1i-0007Mz-LE for help-guix@gnu.org; Sun, 09 Sep 2018 06:33:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fywtx-0007Mj-25 for help-guix@gnu.org; Sun, 09 Sep 2018 06:25:11 -0400 In-Reply-To: <8736up6w7l.fsf@jnanam.net> (Benjamin Slade's message of "Tue, 04 Sep 2018 10:53:02 -0600") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Benjamin Slade Cc: Guix-Help Hi Benjamin, Benjamin Slade skribis: > I have the following definition in my config.scm, which I call in > defining the operating system: > > ```` > (define %slade-desktop-services > (modify-services %desktop-services > (network-manager-service-type config =3D> > (network-manager-configuration > (inherit config) > (vpn-plugins (list network-manager-openvpn)))))) > ```` > > This does indeed enable the OpenVPN module of NetworkManager, but > NetworkManager doesn't automatically read in the *.opvn files in > /etc/openvpn (which is probably expected), but moreover as an ordinary > user I'm not allowed to create them. Is the best thing to login as root > and add these to NetworkManager? IIRC, NM has a tool to import OpenVPN config files, though it only understands a subset of the syntax; you have to run it as root: sudo nmcli connection import type openvpn file /path/to/whatever.ovpn Then I think something was broken with VPN support in NM, though I forgot the details=E2=80=A6 HTH, Ludo=E2=80=99.