Remove keepalive from client.conf, reduce keepalive timeout on server side
This commit is contained in:
parent
7af5226e34
commit
3307b899bc
@ -663,14 +663,13 @@ ncp-disable
|
||||
\end{lstlisting}
|
||||
|
||||
\paragraph{Sitzungsparameter}
|
||||
\textbf{Clientkonfiguration}
|
||||
\begin{lstlisting}
|
||||
keepalive 10 30
|
||||
\end{lstlisting}
|
||||
VPN-Client und VPN-Server sollen zeitnah reagieren, wenn eine Sitzung durch Verlust der Internetverbindung abbricht.
|
||||
Mit \texttt{keepalive} kann auf dem Server konfiguriert werden, in welchem Intervall eine Ping-Nachricht an die Gegenseite geschickt werden soll.
|
||||
Ein zweiter Parameter erlaubt die Definition eines Zeitlimits, nachdem dessen Ablauf eine Sitzung für abgebrochen erklärt wird.
|
||||
|
||||
\textbf{Serverkonfiguration}
|
||||
\begin{lstlisting}
|
||||
keepalive 10 60
|
||||
keepalive 10 30
|
||||
\end{lstlisting}
|
||||
|
||||
\textbf{Clientkonfiguration}
|
||||
|
@ -57,9 +57,6 @@ connect-timeout 20
|
||||
# Try to send notification 3 times (because we're using UDP)
|
||||
explicit-exit-notify 3
|
||||
|
||||
# Send ping message every ten seconds, expect session loss after 30 seconds of no response
|
||||
keepalive 10 30
|
||||
|
||||
# Enable these if you plan to enable running on reduced privileges
|
||||
# These options allow to keep the private key and the virtual network device handle in memory
|
||||
#persist-key
|
||||
|
@ -109,7 +109,7 @@ tls-version-min "1.2"
|
||||
ncp-disable
|
||||
|
||||
# Send ping message every ten seconds, expect session loss after 60 seconds of no response
|
||||
keepalive 10 60
|
||||
keepalive 10 30
|
||||
|
||||
# Notify clients when the server restarts or shuts down.
|
||||
# Default behaviour: Tell clients to try to connect to the same server again.
|
||||
|
Loading…
Reference in New Issue
Block a user