Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


OpenVPN autostart problem
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

OpenVPN autostart problem

trexostrexos Member
Hello,

I used this OpenVPN autoinstaller: http://lowendtalk.com/discussion/6106/openvpn-community-software-auto-installer-for-centos-5-6-debian-6-and-ubuntu-10-10/p1 and everything works fine, until I reboot. The server doesn't start with the system boot and I can't find init.d scripts. Does anyone have these problems too?

I've already googled but the only solutions that I've found required init.d scripts, and obviously I don't have them.

Thanks in advance for your help! :)

Comments

  • seriesnseriesn Member
    What os?
  • trexostrexos Member
    Debian 6.0.7 64 Bit
  • SpiritSpirit Member
    edited May 2013
    You can use also rc.local or crontab on @reboot.

    Simple @reboot script example:

    nano openvpn.sh and enter:
    #!/bin/sh
    /etc/init.d/openvpn start

    chmod 700 openvpn.sh

    export EDITOR=nano
    crontab -e
    @reboot cd /root; ./openvpn.sh >/dev/null 2>&1


  • trexostrexos Member
    the problem is I don't have this init.d entry :(
  • trexostrexos Member

    No idea?:(

Sign In or Register to comment.