Hi, (I haven't seen the original question, so responding to the reply)
On Mon, Aug 18, 2014 at 07:46:51AM -0300, Leonardo Rodrigues wrote: > On 18/08/14 06:03, Dmitry Korzhevin wrote: > > I use 'log-append' directive in server side config file, to write all > > log data to specified file. > > > > My question - is there any way to log all connection info to mysql > > database? > > Not directly, as OpenVPN does not have MySQL support of any kind. You could use the management interface for that - talk to the openvpn server via management interface, receive all the log lines from there, save to MySQL database. Depending on what you're interested in, --client-connect etc. might give the needed bits as well, and is certainly more simple to implement. gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany g...@greenie.muc.de fax: +49-89-35655025 g...@net.informatik.tu-muenchen.de
pgpSWjRypelK7.pgp
Description: PGP signature
------------------------------------------------------------------------------
_______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users