While reading the docs (--keepalive)

Ralf Hildebrandt via Openvpn-users <[email protected]> Wed, 4 Sep 2024 14:26:37 +0200
Newsgroups gmane.network.openvpn.user
Message-ID <ZthR/cbup/tHYn/[email protected]>
While reading the docs, I noticed this bit:

For example, --keepalive 10 60 expands as follows:

  if mode server:
     ping 10                    # Argument: interval
     ping-restart 120           # Argument: timeout*2
     push "ping 10"             # Argument: interval
     push "ping-restart 60"     # Argument: timeout
  else
     ping 10
     # Argument: interval
     ping-restart 60            # Argument: timeout

So, while both server and client ping each other at least once every
10s, the server uses "ping-restart 120", and the client gets pushed "ping-restart 60"

What the rationale of having both client and server ping each other at
the same interval, but then use ping-restart with different timeouts?

-- 
Ralf Hildebrandt
Charité - Universitätsmedizin Berlin
Geschäftsbereich IT | Abteilung Netz | Netzwerk-Administration
Invalidenstraße 120/121 | D-10115 Berlin

Tel. +49 30 450 570 155
[email protected]
https://www.charite.de


_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users