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.
Parameter in --client-disconnect
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 3
- Joined: Fri Mar 11, 2011 2:08 am
Re: Parameter in --client-disconnect
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?
-
- OpenVpn Newbie
- Posts: 3
- Joined: Fri Mar 11, 2011 2:08 am
Re: Parameter in --client-disconnect
it seems that the original document (http://openvpn.net/index.php/open-sourc ... npage.html) has some mistake. the client-disconnect does have an additional parameter "script".