Jun 17, 2011
OpenVPN - Gentoo Wiki root # /etc/init.d/openvpn start. systemd. root # systemctl start openvpn. If all goes well, this would give you a working OpenVPN server and client connection. Monitoring. While the service is running, there are ways to monitor it. Syslog. OpenVPN client on Raspberry Pi Feb 17, 2014 How to Run A VPN Client Automatically As A Service Sep 24, 2018
The init script /etc/init.d/openvpn changes into the working directory ($work=/etc/openvpn) and for every "*.conf" file in that directory executes a corresponding "*.sh" script if it exists. The problem is the way the "*.sh" script is executed.
debian - Using OpenVPN with systemd - Unix & Linux Stack The openvpn@.service has evolved greatly between Debians 8 and 9. The original package for Jessie for example fails to systemctl reload openvpn@.To fix these the Stretch version introduces 10 new directives in the systemd-file including PIDFile= to make reload work again.. For Stretch users, I'd suggest going for the backport, and if not possible to do that, at least get the systemd-file from openvpn init script? - LinuxQuestions.org
Configure Linux Clients to Connect to OpenVPN Server
Now start the OpenVPN in client $ /etc/init.d/openvpn start * Starting virtual private network daemon(s) * Autostarting VPN 'client' $ ifconfig tun0 tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:10.8.0.6 P-t-P:10.8.0.5 Mask:255.255.255.255 10. Test the VPN Setup