From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joshua Branson Subject: Re: Configuring VPN Date: Sun, 23 Feb 2020 13:18:36 -0500 Message-ID: <86pne59ngj.fsf@dismail.de> References: <0b86320e48cf2910189bf14c5bde0ca0c3c8dc6d.camel@disroot.org> <684e39e52585e662b89be19df5f04b7e066980d4.camel@disroot.org> <72698D7E-7998-482B-BC98-7D5E183BA2A3@lepiller.eu> <5626530fae735729cfb00a05367dd16d@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:40768) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5vq0-0006yt-Q9 for help-guix@gnu.org; Sun, 23 Feb 2020 13:18:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j5vpz-0004J1-29 for help-guix@gnu.org; Sun, 23 Feb 2020 13:18:44 -0500 Received: from mx2.dismail.de ([159.69.191.136]:15815) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j5vpy-0004IQ-GS for help-guix@gnu.org; Sun, 23 Feb 2020 13:18:43 -0500 Received: from mx2.dismail.de (localhost [127.0.0.1]) by mx2.dismail.de (OpenSMTPD) with ESMTP id f91d8809 for ; Sun, 23 Feb 2020 19:18:39 +0100 (CET) Received: from smtp1.dismail.de ( [10.240.26.11]) by mx2.dismail.de (OpenSMTPD) with ESMTP id ab20bab5 for ; Sun, 23 Feb 2020 19:18:39 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id a02cadef for ; Sun, 23 Feb 2020 19:18:39 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 5ecdfe6f (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Sun, 23 Feb 2020 19:18:38 +0100 (CET) In-Reply-To: (Julien Lepiller's message of "Sat, 22 Feb 2020 08:08:05 -0500") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org Julien Lepiller writes: > Le 22 f=C3=A9vrier 2020 07:09:46 GMT-05:00, Raghav Gururajan a =C3=A9crit : >>Hi Julien! >> > > Unless I'm mistaken, I've pushed a patch to add auth-user-pass which > is what you need. If that's not it, can you share the target > configuration? > Here's an example configuration. #+BEGIN_SRC scheme (openvpn-client-service #:config (let ([base-dir "/home/joshua/prog/guile/guix-config/vpn/"]) (openvpn-client-configuration (auth-user-pass (string-append base-dir "login.conf")) (ca (string-append base-dir "ca2.crt")) (cert (string-append base-dir "client.crt")) (key (string-append base-dir "client.key")) ;; the expressvpn file I use disables lzo compression (comp-lzo? #f) (fast-io? #t) (remote (list (openvpn-remote-configuration (name "name-of-remote-host.com") (port 1195))))))) #+END "login.conf" looks like #+BEGIN_SRC text username password #+END_SRC Best of luck! -- Joshua Branson Sent from Emacs and Gnus