You are not logged in.
At /etc/openvpn I have this config file:
-rw-r--r-- 1 root root 426 May 18 10:38 server.confWhen I'm trying to start the server,
sudo systemctl start openvpn-server@server.serviceI'm getting "Error opening configuration file: server.conf"
Offline
https://www.archlinux.org/news/openvpn- … teraction/
The wiki has all the information you need.
Last edited by Slithery (2017-05-18 11:00:19)
Offline
still won't start
sudo mv server.conf server
sudo systemctl start openvpn-server@server.servicehowever, an error now is " openvpn-server@server.service: Main process exited, code=exited, status=1/FAILURE"
in the server.conf I've set absolute paths to "ca", "cert" and other files, although they aren't in the "server" directory.
for now they're in "/etc/openvpn/easy-rsa/pki" for the sake of simplicity. does it matter?
Offline
does it matter?
I couldn't tell you. Have you tried using the recommended location?
Follow the steps in the systemd service troubleshooting section of the wiki and post the outputs.
https://wiki.archlinux.org/index.php/Sy … emd_errors
Offline
>Have you tried using the recommended location?
no, because one article in the documentation recommends "server" and "client" directories, another "keys". which should I use?
Last edited by kankoshi (2017-05-18 12:17:15)
Offline
this tells to use /etc/openvpn/easy-rsa/keys/*
https://wiki.archlinux.org/index.php/Op … list_Guide
*journalctl -xe* didn't tell me anything new
in logs there're nothing.
Last edited by kankoshi (2017-05-18 12:18:49)
Offline
I've moved them to the "server" and still it doesn't work.
Offline
Try running openvpn manually to see if it gives you any clues...
openvpn --verb 3 --config /etc/openvpn/server/server.confYou can up the verbosity to as high as 11 if 3 isn't giving you any useful information.
Last edited by Slithery (2017-05-18 12:32:29)
Offline
I'm using it with sudo
sudo openvpn --verb 3 --config /etc/openvpn/server/server.conf
no output at all.
ps aux | grep "openvpn*" -- nothing
Last edited by kankoshi (2017-05-18 12:41:53)
Offline
(del)
Last edited by kankoshi (2017-05-18 16:00:20)
Offline