Parameter in --client-disconnect
Posted: Mon Mar 18, 2013 7:40 am
Hi. I'm new to OpenVPN programming.
Simply, I want to write a log to mysql after client disconnected, including user name, tx and rx for this disconnected connection. How can I get these parameters within my script?
is there any document about this script? or a simple demo would be fine.
Thanks a lot.
Simply, I want to write a log to mysql after client disconnected, including user name, tx and rx for this disconnected connection. How can I get these parameters within my script?
is there any document about this script? or a simple demo would be fine.
Thanks a lot.