Cisco VPN Concentrator 3000 & vpnc

I’ve run into the problem with disconnecting vpnc (version 0.5.3) from Cisco VPN Concentrator 3000. The connection was dropped and vpnc process was dying with message:

— cut here —
Oct 12 20:04:52 server vpnc[26143]: connection terminated by dead peer detection
— cut here —

The solution is very simple and took me a while to Google it.

To prevent VPN tunnel from disconnection one must add

DPD idle timeout (our side) 0

to vpn configuration file e.g /etc/vpnc/example.conf

or run vpnc client with

vpnc –dpd-idle 0 example.conf

Cisco VPN Concentrator 3000 & vpnc