OpenVpn AS Server doesn't restart after boot

  • Hi Guys,


    I managed to get the OpenVpn AS plugin running and the VPN connection works really fine.


    Only huge problem I face is that when I do a restart of the NAS I can't reach the Service anymore.


    I checked the system status which is green.


    Actually the work around is that I have to do a manual restart

    Code
    sudo service openvpnas restart

    every time. Which is of course not possible when I'm abroad.


    Any idea what I can do to get around that problem?


    best regards
    openalf

  • There was a conflict or a service needed by the Admin UI was not ready in time when the OpenVPN AS server was started normally. OpenVPN AS was running but the Admin UI site was not. The solution/fix for this user is below.


    edit this file:
    /etc/rc.local


    and put this before the "exit 0" line:
    /etc/init.d/openvpnas restart


    Then the OpenVPN AS server would always be running properly after the machine booted up.


    If you think the OpenVPN AS server is running but you cannot pull up the Admin UI in your browser this is an easy way to check if the Admin UI is listening as it should be:


    netstat -tulpn | grep 943


    If you pull up nothing with that command the Admin UI site is not listening, or running, as it should.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!