On 06/06/2021 14:33, Gokan Atmaca wrote:
HelloI want to keep the records of all the clients connected to the ovpn ip addresses for 1 year. How can I do that ? Thanks.
Use the --client-connect script hook on the server side. That script will get all the details about connecting clients, and you can store them in a text file, insert into a database or similar things.
More information can be found in the openvpn man page: <https://github.com/OpenVPN/openvpn/blob/master/doc/man-sections/script-options.rst> -- kind regards, David Sommerseth OpenVPN Inc
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users