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?
newbie: be notified by email on client connect
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.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 7
- Joined: Sat Sep 17, 2011 10:22 am
- Bebop
- Forum Team
- Posts: 301
- Joined: Wed Dec 15, 2010 9:24 pm
Re: newbie: be notified by email on client connect
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.
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