Page 1 of 1

building openvpn from source code, Ubuntu 18.04 and Raspbian Buster

Posted: Wed Jul 17, 2019 3:08 pm
by john56477
Can build and install, and get working by manually running openvpn --config server.conf
but can't get systemd working,
Targets Ubuntu 18.04 and Raspbian Buster

On Ubuntu 18.04
If I install from repository with apt-get install openvpn
I see the following.

/lib/systemd/system/openvpn-client@.service
/lib/systemd/system/openvpn-server@.service
/lib/systemd/system/openvpn.service
/lib/systemd/system/openvpn@.service


I saved a copy of these files, Later when I want to install openvpn from source code, I copy these file back,
But how do I get it working, the following is not enough

systemctl enable openvpn.service
systemctl start openvpn.service

Re: building openvpn from source code, Ubuntu 18.04 and Raspbian Buster

Posted: Tue Jul 30, 2019 9:34 am
by john56477
I'm looking for help with systemd after I compile openvpn from source code
why is this appeal for help put into "Braggin' Rights"

can someone help ?

Re: building openvpn from source code, Ubuntu 18.04 and Raspbian Buster

Posted: Tue Jul 30, 2019 12:00 pm
by TinCanTech
Try using one of these unit files:
/lib/systemd/system/openvpn-client@.service
/lib/systemd/system/openvpn-server@.service