IMHO the man page is not very clear about the option "down-pre". And if the option "down-pre" is used without a the "down" parameter, OpenVPN is not complaining (it should IMHO). E.g.:
down-pre /path/to/script.sh is accepted, but not executed. I just posted this on the users list: ################################################################## <quote> [..] > in other words, you have to specify > down /etc/openvpn/down/down.script.sh > down-pre > to get the 'down' script to be called before the TAP device is closed. "down-pre: to get the 'down' script to be called before the TAP device is closed" Apparently you read other things than I do. I don't read here: "down-pre: to get the 'down' script to be called before the TAP device is closed. This option is an option without parameters and must be used in conjunction with the "down" parameter" An example would certainly tell more than a thousand words: down /path/to/script.sh down-pre Another thing: normally OpenVPN refuses to start when it detects errors in the config file. I'd expect: [ERROR] "down-pre": missing "down" command </quote> ################################################################## I can't find a bugzilla part on your website, so I post it on this list. HTH, R. -- ___________________________________________________________________ It is better to remain silent and be thought a fool, than to speak aloud and remove all doubt. +------------------------------------------------------------------+ | Richard Lucassen, Utrecht | | Public key and email address: | | http://www.lucassen.org/mail-pubkey.html | +------------------------------------------------------------------+