I finished configuring OpenVPN on my OpenVZ vps. When I run
service openvpn restart I get the following error output:
* Stopping virtual private network daemon(s)... * No VPN is running. * Starting virtual private network daemon(s)... * Autostarting VPN 'client' * Autostarting VPN 'server' SIOCSIFADDR: No such device : ERROR while getting interface flags: No such device SIOCSIFDSTADDR: No such device : ERROR while getting interface flags: No such device SIOCSIFMTU: No such device
I have a gut feeling that it is something to do with the fact that an OpenVZ machine does not have an eth0 device but a venet0:0 interface instead. I looked through all the config files I had to edit and made sure there was no reference to eth0 though. I configured it to this tutorial that I am finishing up (will be finished once I have the solution from here).
Please let me know how I need to change my configuration so that OpenVPN can start successfully.