building openvpn from source code, Ubuntu 18.04 and Raspbian Buster
Posted: 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
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