[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Configuring VPN
From: |
Joshua Branson |
Subject: |
Re: Configuring VPN |
Date: |
Sun, 23 Feb 2020 13:18:36 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Julien Lepiller <address@hidden> writes:
> Le 22 février 2020 07:09:46 GMT-05:00, Raghav Gururajan <address@hidden> a
> écrit :
>>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