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

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.