Hey,
I ended up creating a simple startup script which gets the job done…
Just create a script:
sudo vi /etc/init.d/startOpenVPN
with
#! /bin/sh
# /etc/init.d/startOpenVPN
### BEGIN INIT INFO
# Provides: openVPN
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Simple script to start a program at boot
# Description: Start / stop OpenVPN at boot / shutdown.
### END INIT INFO
openvpn /{YOUR_PATH}/{yourOwn}.ovpn
(edit the last line and make sure the path to your .ovpn file is correct)
and just make executable:
sudo chmod 755 /etc/init.d/startOpenVPN
and register it to start at startup:
sudo update-rc.d startOpenVPN defaults
reboot the Pi and check if it has started:
ps aux | grep openvpn
For what I need, it gets the job done. Thanks, again, to the OP for his tweaks!