BobAGI
I have just installed openvpn via apt on a Raspbian Buster system to run as a server. I got version 2.4.7.
When I went to /etc/openvpn to edit the conf file I did not find it in its usual place, instead there were two sub-directories "client" and "server" respectively.
I have notes on how to set up an OpenVPN system and these include editing the /etc/openvpn/server.conf file and then also /etc/default/openvpn where the services are defined.
Questions:
Where should I now put my server.conf file?
And should there be a path added to the conf file in the /etc/default/openvpn, like:
AUTOSTART="server/server" (assuming starting at /etc/openvpn)
or will the system know that the conf file has moved to a subdirectory?
BobAGI
ANSWER TO MYSELF:
It turns out that the extra directories in /etc/openvpn named client and server respectively are just to confuse the viewer!
I moved the server.conf file back up to /etc/openvpn and restarted the service.
Now it is finally running.
I wonder why someone decided to let the install create these extra confusing directories?
TinCanTech
Openvpn on Linux with systemd has moved to using /etc/openvpn/{server and client}
Your distro has not caught up yet.
BobAGI
So after a while it will start looking for the conf in /etc/openvpn/server instead?
Will an apt upgrade potentially break the working OpenVPN server then?
Too bad, because access to this box will be ONLY remote via VPN...
TinCanTech
Systemd, love or hate it... is here to stay, so learn how to use it.