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