unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* 2 OpenVPN configurations
@ 2022-11-19 15:21 Pradana Adrinusa AUMARS
  2022-11-19 16:06 ` Remco
  0 siblings, 1 reply; 4+ messages in thread
From: Pradana Adrinusa AUMARS @ 2022-11-19 15:21 UTC (permalink / raw)
  To: help-guix

I need to have 2 OpenVPN configurations: one personal config, another
for university.

The Guix manual does not specify how to have 2 at the same time.

Is the only work-around to this issue 2 different system configs?

Thanks.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2 OpenVPN configurations
  2022-11-19 15:21 2 OpenVPN configurations Pradana Adrinusa AUMARS
@ 2022-11-19 16:06 ` Remco
  2022-11-20 13:40   ` Pradana Adrinusa AUMARS
  0 siblings, 1 reply; 4+ messages in thread
From: Remco @ 2022-11-19 16:06 UTC (permalink / raw)
  To: Pradana Adrinusa AUMARS; +Cc: help-guix

2022/11/19 16:21, Pradana Adrinusa AUMARS:

> I need to have 2 OpenVPN configurations: one personal config, another
> for university.
>
> The Guix manual does not specify how to have 2 at the same time.
>
> Is the only work-around to this issue 2 different system configs?

Did you try network-manager-openvpn instead of using a system config?  I
think this will allow you to have multiple configurations. The system
stuff is more of an always-on type of deal.

HTH.
Remco


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2 OpenVPN configurations
  2022-11-19 16:06 ` Remco
@ 2022-11-20 13:40   ` Pradana Adrinusa AUMARS
  2022-11-22  9:12     ` Efraim Flashner
  0 siblings, 1 reply; 4+ messages in thread
From: Pradana Adrinusa AUMARS @ 2022-11-20 13:40 UTC (permalink / raw)
  To: Remco; +Cc: help-guix

Yes, I already have tried using nmcli with my .opvn file.
I run
$ nmcli c import type openvpn file config.ovpn
and it prints
Unknown VPN plugin "org.freedesktop.NetworkManager.openvpn"

I already have openvpn and network-manager-openvpn installed.
Maybe it's an issue with the file itself?

Le samedi 19 novembre 2022 à 17:06 +0100, Remco a écrit :
> 2022/11/19 16:21, Pradana Adrinusa AUMARS:
> 
> > I need to have 2 OpenVPN configurations: one personal config, another
> > for university.
> > 
> > The Guix manual does not specify how to have 2 at the same time.
> > 
> > Is the only work-around to this issue 2 different system configs?
> 
> Did you try network-manager-openvpn instead of using a system config? 
> I
> think this will allow you to have multiple configurations. The system
> stuff is more of an always-on type of deal.
> 
> HTH.
> Remco



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2 OpenVPN configurations
  2022-11-20 13:40   ` Pradana Adrinusa AUMARS
@ 2022-11-22  9:12     ` Efraim Flashner
  0 siblings, 0 replies; 4+ messages in thread
From: Efraim Flashner @ 2022-11-22  9:12 UTC (permalink / raw)
  To: Pradana Adrinusa AUMARS; +Cc: Remco, help-guix

[-- Attachment #1: Type: text/plain, Size: 1615 bytes --]

Are they both installed in the global profile from your OS config and
not in your user profile? Also do you have the network-manager-service
correctly configured to use the openvpn plugin¹? I'd offer suggestions
about setting that up but it's not something that I've used before.

On Sun, Nov 20, 2022 at 02:40:10PM +0100, Pradana Adrinusa AUMARS wrote:
> Yes, I already have tried using nmcli with my .opvn file.
> I run
> $ nmcli c import type openvpn file config.ovpn
> and it prints
> Unknown VPN plugin "org.freedesktop.NetworkManager.openvpn"
> 
> I already have openvpn and network-manager-openvpn installed.
> Maybe it's an issue with the file itself?
> 
> Le samedi 19 novembre 2022 à 17:06 +0100, Remco a écrit :
> > 2022/11/19 16:21, Pradana Adrinusa AUMARS:
> > 
> > > I need to have 2 OpenVPN configurations: one personal config, another
> > > for university.
> > > 
> > > The Guix manual does not specify how to have 2 at the same time.
> > > 
> > > Is the only work-around to this issue 2 different system configs?
> > 
> > Did you try network-manager-openvpn instead of using a system config? 
> > I
> > think this will allow you to have multiple configurations. The system
> > stuff is more of an always-on type of deal.
> > 
> > HTH.
> > Remco
> 
> 

¹ https://guix.gnu.org/en/manual/devel/en/html_node/Networking-Setup.html#Networking-Setup

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-11-22  9:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-19 15:21 2 OpenVPN configurations Pradana Adrinusa AUMARS
2022-11-19 16:06 ` Remco
2022-11-20 13:40   ` Pradana Adrinusa AUMARS
2022-11-22  9:12     ` Efraim Flashner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).