Hi Jan, did you see the following paragraph from README.Debian, and doesn't that fulfill your need?
| You may place commands to be run on connect to or disconnect from the | VPN server in /etc/vpnc/vpnc-script-connect-action and | /etc/vpnc/vpnc-script-disconnect-action respectively. These scripts | are sourced by /etc/vpnc/vpnc-script, see the comments at the top of | that file for the environment variables you have access to. There are | also possible /etc/vpnc/vpnc-script-post-connect-action and | /etc/vpnc/vpnc-script-post-disconnect-action executed after the link | configuration or shutdown. Florian -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org