Results 1 to 2 of 2

Thread: How to autostart Openvpn server at boot ?

  1. #1
    Join Date
    May 2010
    Beans
    13

    How to autostart Openvpn server at boot ?

    Hi

    I configured succesfully openvpn server, but the service won't start at boot !
    I thought openvpn automatically starts al the *.conf files in the /etc/openvpn folder ?

    on my personal laptop the service automatically starts all the .conf files in the folder. But on my server with server.conf file it won't start at boot. I have to start the service as root

  2. #2
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    13,663
    Distro
    Kubuntu 18.04 Bionic Beaver

    Re: How to autostart Openvpn server at boot ?

    Openvpn seems to be one of the services now in "no-man's land" since the arrival of the upstart service manager. A quick test of 10.04 server installation shows that this approach works, though:

    Code:
    sudo update-rc.d openvpn enable 2345
    That will build the symlinks between /etc/init.d/openvpn and the run-level directories /etc/rc*.d/.

    You'd think that the developers would have systematically recreated all the existing daemon service scripts to run with upstart by now. "sudo initctl list" provides a list of all services controlled by upstart; I didn't see openvpn there.
    Last edited by SeijiSensei; October 31st, 2010 at 03:42 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •