Page 1 of 1

[Resolved] lauch open VPN Server at boot (build from source)

Posted: Tue Sep 24, 2013 7:29 pm
by steven28
HI Guy's,

i not a Linux Prob and so i'M now a little stuck:
I'm using ubuntu server 13.04 (raring).
As Ubuntu always has old releases of open vpn in their repos i tried to add one of the open vpn Repos. But i failed, no idea why.
So i decided to build it from source instead of wasting my time.

the open vpn servery basicly works if i start it by openvpn /etc/openvpn/openvpn.conf and i can connect to it over the internet.
But it does not automatically start on boot.
i tried to add the line above into the rc.local script but it wont start :(.
I'm not really familiar with upstart ( or even init scripts).
Is there a easy way to get it working?

regards.
Stefan

Re: lauch open VPN Server at boot (build from source)

Posted: Wed Sep 25, 2013 5:31 pm
by steven28
ok

got it fixed by myself, wrote a small upstart script wich
starts the openvpn executable.

seems that the rc.local script ran before the network was up and so it could not start.

regards