scegg 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.
scegg and. --client-disconnect not like --client-connect which has a script name after this option. How can I pass the script file name to openvpn for client-disconnect?
scegg it seems that the original document (http://openvpn.net/index.php/open-source/documentation/manuals/65-openvpn-20x-manpage.html) has some mistake. the client-disconnect does have an additional parameter "script".