Browse Source

openvpn: Work around OpenVPN connect-retry connection starvation bug.

  See https://community.openvpn.net/openvpn/ticket/1010

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
Maximilian Wilhelm 6 years ago
parent
commit
0403fe8bec
1 changed files with 3 additions and 0 deletions
  1. 3 0
      openvpn/openvpn.conf.tmpl

+ 3 - 0
openvpn/openvpn.conf.tmpl

@@ -43,6 +43,9 @@ up      /etc/openvpn/ifup
 down    /etc/openvpn/ifdown
 
 keepalive 10 30
+{%- if 'server' in mode %}
+connect-retry 1 1
+{%- endif %}
 
 comp-lzo