Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Add a reconnect delay

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 1.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      LA_FORGE
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • N
        Nachtfalke
        last edited by

        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
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.