On 18/08/2014 8:46 PM, Leonardo Rodrigues wrote:
> On 18/08/14 06:03, Dmitry Korzhevin wrote:
>> Hi,
>>
>> 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.
> However, using client-connect and client-disconnect, you could easily
> call your scripts that save the avaialble data however you want, MySQL
> included.
>
>


Yes, at a previous job I wrote php client-connect and -disconnect 
scripts to write data into mysql tables. It was simple and effective.

-- 
Regards,

Mark Dods, VK3ZR mad...@optusnet.com.au
QF22NE

------------------------------------------------------------------------------
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to