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

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Locked
steven28
OpenVpn Newbie
Posts: 2
Joined: Tue Sep 24, 2013 7:20 pm

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

Post by steven28 » Tue Sep 24, 2013 7:29 pm

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
Last edited by debbie10t on Tue Feb 11, 2014 3:51 pm, edited 1 time in total.
Reason: [Resolved / closed]

steven28
OpenVpn Newbie
Posts: 2
Joined: Tue Sep 24, 2013 7:20 pm

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

Post by steven28 » Wed Sep 25, 2013 5:31 pm

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

Locked