Add a reconnect delay



  • Hi,

    can anyone please tell me a file where i can create a delay (sleep 120) for reconnecting the OpenVPN-Client? I receive an auth_failure MSG because i'm reconnecting to fast after my ISP disconnects me.

    Thanks for the help

    Greetings from Germany

    Steve



  • Hi,

    did you play around with the "keepalive x y" command on the client site ?

    http://openvpn.net/index.php/open-source/documentation/howto.html

    # The keepalive directive causes ping-like
    # messages to be sent back and forth over
    # the link so that each side knows when
    # the other side has gone down.
    # Ping every 10 seconds, assume that remote
    # peer is down if no ping received during
    # a 120 second time period.
    keepalive 10 120
    

Log in to reply