From 415421c24ac5b62d59fb8f03076521cba6f126cc Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Tue, 24 Jan 2012 12:32:46 +0100 Subject: Add --route-pre-down/OPENVPN_PLUGIN_ROUTE_PREDOWN script/plug-in hook This patchs adds a script/plug-in hook which is called right before the network routes are taken down. This gives external processes a possibility to tear down communication over the VPN before the VPN disappears. One use case can be to mount a networked file system over the VPN via --route-up. And then to unmount this file system via --route-pre-down Signed-off-by: David Sommerseth Acked-by: Gert Doering --- openvpn.8 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openvpn.8') diff --git a/openvpn.8 b/openvpn.8 index 4a86ce7..a6d7567 100644 --- a/openvpn.8 +++ b/openvpn.8 @@ -5194,6 +5194,10 @@ as defined by the option. .\"********************************************************* .TP +.B \-\-route-pre-down +Executed right before the routes are removed. +.\"********************************************************* +.TP .B \-\-client-disconnect Executed in .B \-\-mode server -- cgit