Project

General

Profile

Feature #3473

Allow configuration of OpenVPN keepalive

Added by B. Derman over 3 years ago. Updated 9 months ago.

Status:
New
Priority:
Normal
Category:
OpenVPN
Target version:
Start date:
02/19/2014
Due date:
% Done:

0%


Description

The keepalive option is always added to an OpenVPN server configuration.

There are many scenarios where this is not wanted and will prevent the required behavior. In my case, when working with iOS VPN on demand rule-driven behavior, the keepalive had to be removed (by commenting out line 453 in openvpn.inc).

What's even worse is that, with the keepalive option configured, you can't even add options such as ping, ping-exit and inactive (i.e., via OpenVPN's "Advanced configuration") because the server fails to start when you do, citing a conflict with the keepalive option.

I'd suggest that the keepalive option should be an optional item configured via the GUI. A more complete/useful strategy would be to allow configuration of all of the following via the GUI:
- keepalive & both time parameters (should be mutually exclusive with ping/ping-exit)
- ping with time parameter
- ping exit with time parameter
- inactive with time parameter
along with a checkbox-type option to also push any of these to the client.

History

#1 Updated by B. Derman over 3 years ago

Oh, ping-restart should also be added to the list.

#2 Updated by Chris Buechler over 2 years ago

  • Tracker changed from Bug to Feature
  • Subject changed from keepalive always added to OpenVPN server configuration to Allow configuration of OpenVPN keepalive
  • Affected version deleted (2.1)
  • Affected Architecture deleted (i386)

#3 Updated by Renato Botelho 9 months ago

  • Assignee set to Renato Botelho
  • Target version set to 2.4.0

Also available in: Atom PDF