Re: Client history

Peter Davis via Openvpn-users <[email protected]>
Newsgroups gmane.network.openvpn.user
Message-ID <BNl_zgpAYM0bOrs1-PXoA-sEx1eGTxhyPobJZighrC-WrWMctC-pnJmv8FbTQUndLP5tzq08HL3qsYoaYQ8gqN36I3x6P55aPXmJ6DXYhrQ=@proton.me>
> On Tuesday, February 13th, 2024 at 9:58 PM, mike tancsa <[email protected]> wrote:

> On 2/13/2024 1:13 PM, Peter Davis via Openvpn-users wrote:
>
>> Hello,
>> 1- Is there a way to report when clients connect and disconnect?
>>
>> 2- Is it possible to notify the connection of a specific client to the server through email?
>
> On the server, you can use the client-connect/disconnect config. Just fire whatever script you want from there to do whatever notification you want. Various environment vars get populated (e.g. X509_0_CN) that you can save as needed and tune your notifications to match what you need.
>
> client-connect "/usr/local/etc/openvpn/connect.sh"
> client-disconnect "/usr/local/etc/openvpn/disconnect.sh"
>
> ---Mike
>
>> Thank you.
>>
>> _______________________________________________
>> Openvpn-users mailing list
>> [email protected]
>>
>> https://lists.sourceforge.net/lists/listinfo/openvpn-users

Hi,
Thank you.
I mean, does OpenVPN itself have the ability to keep the IP address of the client and the time it is connected to the server somewhere for reporting?

_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.