newbie: be notified by email on client connect

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
tony
OpenVpn Newbie
Posts: 7
Joined: Sat Sep 17, 2011 10:22 am

newbie: be notified by email on client connect

Post by tony » Sat Sep 17, 2011 10:44 am

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?

User avatar
Bebop
Forum Team
Posts: 301
Joined: Wed Dec 15, 2010 9:24 pm

Re: newbie: be notified by email on client connect

Post by Bebop » Sat Sep 17, 2011 11:32 am

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.
The cure for boredom is curiosity

Post Reply