help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: openvpn with networkmanager


From: Ludovic Courtès
Subject: Re: openvpn with networkmanager
Date: Sun, 09 Sep 2018 12:25:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hi Benjamin,

Benjamin Slade <address@hidden> 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 =>
>                                 (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…

HTH,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]