[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
OpenVPN Service
From: |
Raghav Gururajan |
Subject: |
OpenVPN Service |
Date: |
Tue, 17 Nov 2020 21:36:07 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Icedove/78.4.0 |
Hello Guix!
I am struggling to setup OpenVPN Service Type. Here is my current
configuration.
*** START ***
(service openvpn-client-service-type
(openvpn-client-configuration
(remote
(list
(openvpn-remote-configuration
(name "vpn.riseup.net")
(port 1194))))
(auth-user-pass "/etc/openvpn/Riseup.txt")
(ca "/etc/openvpn/RiseupCA.pem")))
*** END ***
When I do, `sudo herd status vpn-client`, I get:
*** START ***
Status of vpn-client:
It is stopped.
It is enabled.
Provides (vpn-client).
Requires (networking).
Conflicts with ().
Will be respawned.
*** END ***
When I do, `openvpn /gnu/store/[...]-openvpn.conf`, I get:
*** START ***
Options error: --ca fails with '/etc/openvpn/ca.crt': No such file or
directory (errno=2)
Tue Nov 17 21:32:44 2020 WARNING: cannot stat file
'/etc/openvpn/client.key': No such file or directory (errno=2)
Options error: --key fails with '/etc/openvpn/client.key': No such file
or directory (errno=2)
Tue Nov 17 21:32:44 2020 WARNING: file '/etc/openvpn/Riseup.txt' is
group or others accessible
Options error: Please correct these errors.
*** END ***
Could anyone please help me with this?
Regards,
RG.
OpenPGP_0x5F5816647F8BE551.asc
Description: application/pgp-keys
OpenPGP_signature
Description: OpenPGP digital signature
- OpenVPN Service,
Raghav Gururajan <=