GNU bug report logs - #39542
Adding openvpn client configurations to guix system

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Damien Cassou <damien@HIDDEN>; dated Mon, 10 Feb 2020 09:34:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 39542 <at> debbugs.gnu.org:


Received: (at 39542) by debbugs.gnu.org; 10 Feb 2020 15:57:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 10 10:57:21 2020
Received: from localhost ([127.0.0.1]:55279 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j1BR3-0000m7-Fj
	for submit <at> debbugs.gnu.org; Mon, 10 Feb 2020 10:57:21 -0500
Received: from mail.choca.pics ([80.67.172.235]:34392)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <damien@HIDDEN>) id 1j1BR1-0000lw-K7
 for 39542 <at> debbugs.gnu.org; Mon, 10 Feb 2020 10:57:20 -0500
Received: from localhost (localhost.localdomain [IPv6:::1])
 by mail.choca.pics (Postfix) with ESMTP id 2A1C4181929E0;
 Mon, 10 Feb 2020 16:57:18 +0100 (CET)
Received: from mail.choca.pics ([IPv6:::1])
 by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10032)
 with ESMTP id RXCZ9vk2Wj8N; Mon, 10 Feb 2020 16:57:17 +0100 (CET)
Received: from localhost (localhost.localdomain [IPv6:::1])
 by mail.choca.pics (Postfix) with ESMTP id 87AFC181929CF;
 Mon, 10 Feb 2020 16:57:17 +0100 (CET)
X-Virus-Scanned: amavisd-new at choca.pics
Received: from mail.choca.pics ([IPv6:::1])
 by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10026)
 with ESMTP id ZiFB98uDmy-5; Mon, 10 Feb 2020 16:57:17 +0100 (CET)
Received: from luz4 (lfbn-ren-1-1414-74.w90-27.abo.wanadoo.fr [90.27.133.74])
 by mail.choca.pics (Postfix) with ESMTPSA id 47D1A18192B26;
 Mon, 10 Feb 2020 16:57:17 +0100 (CET)
From: Damien Cassou <damien@HIDDEN>
To: Julien Lepiller <julien@HIDDEN>, bug-guix@HIDDEN,
 39542 <at> debbugs.gnu.org
Subject: Re: bug#39542: Adding openvpn client configurations to guix system
In-Reply-To: <1BD29F0F-1268-4526-828D-C2AC25CFE2E5@HIDDEN>
References: <87blq63hyj.fsf@HIDDEN>
 <1BD29F0F-1268-4526-828D-C2AC25CFE2E5@HIDDEN>
Date: Mon, 10 Feb 2020 16:57:15 +0100
Message-ID: <877e0u306c.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 39542
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Julien Lepiller <julien@HIDDEN> writes:
> We already have an openvpn-client-service-type and an
> openvpn-server-service-type. It's not linked to network manager
> though, I have no idea what it expects there. What do you need
> exactly?

It seems to me that gnu/services/vpn.scm defines
openvpn-server-service-type that triggers the generation of a shepherd
service.

At the office we use 3 different VPNs that we activate on demand (test,
acceptance and production). If we follow the vpn.scm way, it seems that
this would require 3 shepherd services but I guess it's not possible to
instantiate the openvpn-client-service-type more than once. This seems
to be a dead end to me.

Instead of using an openvpn client daemon, I'm using a network manager
connection for each VPN configuration I need. Then I can ask network
manager to activate the VPN I want, when I want it. Network manager is
responsible for calling the openvpn client binary.

Below is a typical nmconnection file for an openvpn client. Many fields
are similar to openvpn-client-configuration fields.

[connection]
id=some-name
uuid=a401d9bb-ab82-a84f-731a-0ed18ebc48af
type=vpn
autoconnect=false
permissions=

[vpn]
ca=/etc/openvpn/client/some-name-ca.crt
cert=/etc/openvpn/client/some-name.crt
cert-pass-flags=0
cipher=BF-CBC
comp-lzo=adaptive
connection-type=password-tls
dev=tun
key=/etc/openvpn/client/some-name.key
ns-cert-type=server
password-flags=0
remote=some-ip:port
username=some-username
service-type=org.freedesktop.NetworkManager.openvpn

[vpn-secrets]
password=some-password

[ipv4]
dns-search=
method=auto
never-default=true

[ipv6]
addr-gen-mode=stable-privacy
dns-search=
ip6-privacy=0
method=auto
never-default=true

-- 
Damien Cassou

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill




Information forwarded to bug-guix@HIDDEN:
bug#39542; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 10 Feb 2020 15:57:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 10 10:57:25 2020
Received: from localhost ([127.0.0.1]:55282 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j1BR6-0000mN-OA
	for submit <at> debbugs.gnu.org; Mon, 10 Feb 2020 10:57:24 -0500
Received: from lists.gnu.org ([209.51.188.17]:56889)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <damien@HIDDEN>) id 1j1BR4-0000mF-RW
 for submit <at> debbugs.gnu.org; Mon, 10 Feb 2020 10:57:23 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:43222)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <damien@HIDDEN>) id 1j1BR3-00087q-LT
 for bug-guix@HIDDEN; Mon, 10 Feb 2020 10:57:22 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <damien@HIDDEN>) id 1j1BR2-000139-G2
 for bug-guix@HIDDEN; Mon, 10 Feb 2020 10:57:21 -0500
Received: from mail.choca.pics ([80.67.172.235]:43706)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <damien@HIDDEN>) id 1j1BR2-00011O-AM
 for bug-guix@HIDDEN; Mon, 10 Feb 2020 10:57:20 -0500
Received: from localhost (localhost.localdomain [IPv6:::1])
 by mail.choca.pics (Postfix) with ESMTP id 2A1C4181929E0;
 Mon, 10 Feb 2020 16:57:18 +0100 (CET)
Received: from mail.choca.pics ([IPv6:::1])
 by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10032)
 with ESMTP id RXCZ9vk2Wj8N; Mon, 10 Feb 2020 16:57:17 +0100 (CET)
Received: from localhost (localhost.localdomain [IPv6:::1])
 by mail.choca.pics (Postfix) with ESMTP id 87AFC181929CF;
 Mon, 10 Feb 2020 16:57:17 +0100 (CET)
X-Virus-Scanned: amavisd-new at choca.pics
Received: from mail.choca.pics ([IPv6:::1])
 by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10026)
 with ESMTP id ZiFB98uDmy-5; Mon, 10 Feb 2020 16:57:17 +0100 (CET)
Received: from luz4 (lfbn-ren-1-1414-74.w90-27.abo.wanadoo.fr [90.27.133.74])
 by mail.choca.pics (Postfix) with ESMTPSA id 47D1A18192B26;
 Mon, 10 Feb 2020 16:57:17 +0100 (CET)
From: Damien Cassou <damien@HIDDEN>
To: Julien Lepiller <julien@HIDDEN>, bug-guix@HIDDEN,
 39542 <at> debbugs.gnu.org
Subject: Re: bug#39542: Adding openvpn client configurations to guix system
In-Reply-To: <1BD29F0F-1268-4526-828D-C2AC25CFE2E5@HIDDEN>
References: <87blq63hyj.fsf@HIDDEN>
 <1BD29F0F-1268-4526-828D-C2AC25CFE2E5@HIDDEN>
Date: Mon, 10 Feb 2020 16:57:15 +0100
Message-ID: <877e0u306c.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 80.67.172.235
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.8 (/)

Julien Lepiller <julien@HIDDEN> writes:
> We already have an openvpn-client-service-type and an
> openvpn-server-service-type. It's not linked to network manager
> though, I have no idea what it expects there. What do you need
> exactly?

It seems to me that gnu/services/vpn.scm defines
openvpn-server-service-type that triggers the generation of a shepherd
service.

At the office we use 3 different VPNs that we activate on demand (test,
acceptance and production). If we follow the vpn.scm way, it seems that
this would require 3 shepherd services but I guess it's not possible to
instantiate the openvpn-client-service-type more than once. This seems
to be a dead end to me.

Instead of using an openvpn client daemon, I'm using a network manager
connection for each VPN configuration I need. Then I can ask network
manager to activate the VPN I want, when I want it. Network manager is
responsible for calling the openvpn client binary.

Below is a typical nmconnection file for an openvpn client. Many fields
are similar to openvpn-client-configuration fields.

[connection]
id=some-name
uuid=a401d9bb-ab82-a84f-731a-0ed18ebc48af
type=vpn
autoconnect=false
permissions=

[vpn]
ca=/etc/openvpn/client/some-name-ca.crt
cert=/etc/openvpn/client/some-name.crt
cert-pass-flags=0
cipher=BF-CBC
comp-lzo=adaptive
connection-type=password-tls
dev=tun
key=/etc/openvpn/client/some-name.key
ns-cert-type=server
password-flags=0
remote=some-ip:port
username=some-username
service-type=org.freedesktop.NetworkManager.openvpn

[vpn-secrets]
password=some-password

[ipv4]
dns-search=
method=auto
never-default=true

[ipv6]
addr-gen-mode=stable-privacy
dns-search=
ip6-privacy=0
method=auto
never-default=true

-- 
Damien Cassou

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill




Information forwarded to bug-guix@HIDDEN:
bug#39542; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 10 Feb 2020 12:32:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 10 07:32:04 2020
Received: from localhost ([127.0.0.1]:53790 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j18EO-0003ah-DM
	for submit <at> debbugs.gnu.org; Mon, 10 Feb 2020 07:32:04 -0500
Received: from lists.gnu.org ([209.51.188.17]:57349)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <julien@HIDDEN>) id 1j18EM-0003Yp-53
 for submit <at> debbugs.gnu.org; Mon, 10 Feb 2020 07:32:03 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:41218)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <julien@HIDDEN>) id 1j18EK-0005v5-I2
 for bug-guix@HIDDEN; Mon, 10 Feb 2020 07:32:01 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <julien@HIDDEN>) id 1j18EH-00083S-5n
 for bug-guix@HIDDEN; Mon, 10 Feb 2020 07:31:59 -0500
Received: from lepiller.eu ([89.234.186.109]:46280)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <julien@HIDDEN>) id 1j18EG-00081L-Hc
 for bug-guix@HIDDEN; Mon, 10 Feb 2020 07:31:57 -0500
Received: from lepiller.eu (localhost [127.0.0.1])
 by lepiller.eu (OpenSMTPD) with ESMTP id f480b884;
 Mon, 10 Feb 2020 12:31:52 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=lepiller.eu; h=date
 :in-reply-to:references:mime-version:content-type
 :content-transfer-encoding:subject:to:from:message-id; s=dkim;
 bh=EkCCq9VRuNTimN2QAe20fw5qPuo=; b=PnCoBLxfFlvoldRJ7OXkCr6iRwvX
 rRclLJUQQOeiFz7Gu1UfRswp/3vmiVzeNLKmywjOYFahds9w4qNNBq9kFLUDxbSp
 w6XT3kZzMWbD0zdWCZWQwkRZBISrsbOvp4pTf4dUMD//WElS+pSjOpEa5bSip0DI
 nsB1+Si5QEyKrNczaXgSMrkHa2MG3ZnDUkocb2aUHb/n3Y+5Rc/5RR85ngjUAhpZ
 eTw06pEwF9N96NESC/Pqio6Bl/Eab740s2+qHSdg3yV7RElKoC1RNj/0Su2A+bUS
 fjRa18ToLuGSdDN1BdUs1tilUOXB2bYU0woHh1iG2qZyI3YxvM1fG7XMkw==
Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 1189f322
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); 
 Mon, 10 Feb 2020 12:31:51 +0000 (UTC)
Date: Mon, 10 Feb 2020 07:31:21 -0500
User-Agent: K-9 Mail for Android
In-Reply-To: <87blq63hyj.fsf@HIDDEN>
References: <87blq63hyj.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable
Subject: Re: bug#39542: Adding openvpn client configurations to guix system
To: bug-guix@HIDDEN,Damien Cassou <damien@HIDDEN>,39542 <at> debbugs.gnu.org
From: Julien Lepiller <julien@HIDDEN>
Message-ID: <1BD29F0F-1268-4526-828D-C2AC25CFE2E5@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 89.234.186.109
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Le 10 f=C3=A9vrier 2020 04:33:08 GMT-05:00, Damien Cassou <damien@cassou=2E=
me> a =C3=A9crit :
>Hi,
>
>both OpenVPN and NetworkManager read network configurations from
>/etc=2E This should make it possible to configure your favorite VPN
>client
>configurations (and maybe wifi access points) in your /etc/config=2Escm=
=2E
>
>An OpenVPN client connection typically consists of *=2Ekey files, *=2Epem
>files and *=2Ecrt files=2E These should be placed under
>/etc/openvpn/client/=2E
>
>Each OpenVPN client connection must be declared at the Network manager
>level too=2E This means adding a *=2Enmconnection file in
>/etc/NetworkManager/system-connections/=2E
>
>It would be great if Guix could make that possible from my
>/etc/config=2Escm file=2E
>
>Thank you for your great work!

Hi,

We already have an openvpn-client-service-type and an openvpn-server-servi=
ce-type=2E It's not linked to network manager though, I have no idea what i=
t expects there=2E What do you need exactly?

https://guix=2Egnu=2Eorg/manual/devel/en/html_node/VPN-Services=2Ehtml#VPN=
-Services




Information forwarded to bug-guix@HIDDEN:
bug#39542; Package guix. Full text available.

Message received at 39542 <at> debbugs.gnu.org:


Received: (at 39542) by debbugs.gnu.org; 10 Feb 2020 12:31:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 10 07:31:57 2020
Received: from localhost ([127.0.0.1]:53786 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j18EH-0003Ue-3T
	for submit <at> debbugs.gnu.org; Mon, 10 Feb 2020 07:31:57 -0500
Received: from lepiller.eu ([89.234.186.109]:40366)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <julien@HIDDEN>) id 1j18EE-0003Rw-Gr
 for 39542 <at> debbugs.gnu.org; Mon, 10 Feb 2020 07:31:55 -0500
Received: from lepiller.eu (localhost [127.0.0.1])
 by lepiller.eu (OpenSMTPD) with ESMTP id f480b884;
 Mon, 10 Feb 2020 12:31:52 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=lepiller.eu; h=date
 :in-reply-to:references:mime-version:content-type
 :content-transfer-encoding:subject:to:from:message-id; s=dkim;
 bh=EkCCq9VRuNTimN2QAe20fw5qPuo=; b=PnCoBLxfFlvoldRJ7OXkCr6iRwvX
 rRclLJUQQOeiFz7Gu1UfRswp/3vmiVzeNLKmywjOYFahds9w4qNNBq9kFLUDxbSp
 w6XT3kZzMWbD0zdWCZWQwkRZBISrsbOvp4pTf4dUMD//WElS+pSjOpEa5bSip0DI
 nsB1+Si5QEyKrNczaXgSMrkHa2MG3ZnDUkocb2aUHb/n3Y+5Rc/5RR85ngjUAhpZ
 eTw06pEwF9N96NESC/Pqio6Bl/Eab740s2+qHSdg3yV7RElKoC1RNj/0Su2A+bUS
 fjRa18ToLuGSdDN1BdUs1tilUOXB2bYU0woHh1iG2qZyI3YxvM1fG7XMkw==
Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 1189f322
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); 
 Mon, 10 Feb 2020 12:31:51 +0000 (UTC)
Date: Mon, 10 Feb 2020 07:31:21 -0500
User-Agent: K-9 Mail for Android
In-Reply-To: <87blq63hyj.fsf@HIDDEN>
References: <87blq63hyj.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable
Subject: Re: bug#39542: Adding openvpn client configurations to guix system
To: bug-guix@HIDDEN,Damien Cassou <damien@HIDDEN>,39542 <at> debbugs.gnu.org
From: Julien Lepiller <julien@HIDDEN>
Message-ID: <1BD29F0F-1268-4526-828D-C2AC25CFE2E5@HIDDEN>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 39542
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Le 10 f=C3=A9vrier 2020 04:33:08 GMT-05:00, Damien Cassou <damien@cassou=2E=
me> a =C3=A9crit :
>Hi,
>
>both OpenVPN and NetworkManager read network configurations from
>/etc=2E This should make it possible to configure your favorite VPN
>client
>configurations (and maybe wifi access points) in your /etc/config=2Escm=
=2E
>
>An OpenVPN client connection typically consists of *=2Ekey files, *=2Epem
>files and *=2Ecrt files=2E These should be placed under
>/etc/openvpn/client/=2E
>
>Each OpenVPN client connection must be declared at the Network manager
>level too=2E This means adding a *=2Enmconnection file in
>/etc/NetworkManager/system-connections/=2E
>
>It would be great if Guix could make that possible from my
>/etc/config=2Escm file=2E
>
>Thank you for your great work!

Hi,

We already have an openvpn-client-service-type and an openvpn-server-servi=
ce-type=2E It's not linked to network manager though, I have no idea what i=
t expects there=2E What do you need exactly?

https://guix=2Egnu=2Eorg/manual/devel/en/html_node/VPN-Services=2Ehtml#VPN=
-Services




Information forwarded to bug-guix@HIDDEN:
bug#39542; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 10 Feb 2020 09:33:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 10 04:33:17 2020
Received: from localhost ([127.0.0.1]:53708 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j15RN-0004Eo-DC
	for submit <at> debbugs.gnu.org; Mon, 10 Feb 2020 04:33:17 -0500
Received: from lists.gnu.org ([209.51.188.17]:36056)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <damien@HIDDEN>) id 1j15RL-0004Eg-Tw
 for submit <at> debbugs.gnu.org; Mon, 10 Feb 2020 04:33:16 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:45145)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <damien@HIDDEN>) id 1j15RK-00057K-96
 for bug-guix@HIDDEN; Mon, 10 Feb 2020 04:33:15 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <damien@HIDDEN>) id 1j15RJ-00025T-BK
 for bug-guix@HIDDEN; Mon, 10 Feb 2020 04:33:14 -0500
Received: from mail.choca.pics ([80.67.172.235]:37066)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <damien@HIDDEN>) id 1j15RJ-00022s-4x
 for bug-guix@HIDDEN; Mon, 10 Feb 2020 04:33:13 -0500
Received: from localhost (localhost.localdomain [IPv6:::1])
 by mail.choca.pics (Postfix) with ESMTP id 01A72181929E0
 for <bug-guix@HIDDEN>; Mon, 10 Feb 2020 10:33:11 +0100 (CET)
Received: from mail.choca.pics ([IPv6:::1])
 by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10032)
 with ESMTP id DgJwouKsyUm2 for <bug-guix@HIDDEN>;
 Mon, 10 Feb 2020 10:33:10 +0100 (CET)
Received: from localhost (localhost.localdomain [IPv6:::1])
 by mail.choca.pics (Postfix) with ESMTP id 910C8181929C9
 for <bug-guix@HIDDEN>; Mon, 10 Feb 2020 10:33:10 +0100 (CET)
X-Virus-Scanned: amavisd-new at choca.pics
Received: from mail.choca.pics ([IPv6:::1])
 by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10026)
 with ESMTP id X-5dqbTxJYsu for <bug-guix@HIDDEN>;
 Mon, 10 Feb 2020 10:33:10 +0100 (CET)
Received: from luz4 (lfbn-ren-1-1414-74.w90-27.abo.wanadoo.fr [90.27.133.74])
 by mail.choca.pics (Postfix) with ESMTPSA id 5A7EB18192B26
 for <bug-guix@HIDDEN>; Mon, 10 Feb 2020 10:33:10 +0100 (CET)
From: Damien Cassou <damien@HIDDEN>
To: bug-guix@HIDDEN
Subject: Adding openvpn client configurations to guix system
Date: Mon, 10 Feb 2020 10:33:08 +0100
Message-ID: <87blq63hyj.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 80.67.172.235
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.8 (/)

Hi,

both OpenVPN and NetworkManager read network configurations from
/etc. This should make it possible to configure your favorite VPN client
configurations (and maybe wifi access points) in your /etc/config.scm.

An OpenVPN client connection typically consists of *.key files, *.pem
files and *.crt files. These should be placed under /etc/openvpn/client/.

Each OpenVPN client connection must be declared at the Network manager
level too. This means adding a *.nmconnection file in
/etc/NetworkManager/system-connections/.

It would be great if Guix could make that possible from my
/etc/config.scm file.

Thank you for your great work!

-- 
Damien Cassou

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill




Acknowledgement sent to Damien Cassou <damien@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#39542; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 10 Feb 2020 16:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.