Page 1 of 1

newbie: be notified by email on client connect

Posted: Sat Sep 17, 2011 10:44 am
by tony
I've got openvpn 2.0.9 running on a centos 4.9 server with successful client connection.
Is it possible to configure openvpn so it will notify me by email everytime a client connects and/or disconnects?

Re: newbie: be notified by email on client connect

Posted: Sat Sep 17, 2011 11:32 am
by Bebop
Yes very possible indeed. It will depend on your Linux/bash skills.

Go here: http://openvpn.net/index.php/open-sourc ... npage.html

and Ctrl+F search for: --client-connect script

You will need to use a command line email send from the script.