building openvpn from source code, Ubuntu 18.04 and Raspbian Buster

This is the forum to post your config. Include diagrams, usage graphs, and all the other goodies to show off your network.
Post Reply
john56477
OpenVPN User
Posts: 26
Joined: Tue Nov 06, 2012 12:02 am

building openvpn from source code, Ubuntu 18.04 and Raspbian Buster

Post by john56477 » Wed Jul 17, 2019 3:08 pm

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

john56477
OpenVPN User
Posts: 26
Joined: Tue Nov 06, 2012 12:02 am

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

Post by john56477 » Tue Jul 30, 2019 9:34 am

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 ?

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 5863
Joined: Fri Jun 03, 2016 1:17 pm

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

Post by TinCanTech » Tue Jul 30, 2019 12:00 pm

Try using one of these unit files:
/lib/systemd/system/openvpn-client@.service
/lib/systemd/system/openvpn-server@.service

Post Reply