How to Set Up Status Logs for Monitoring VPN Client Status with OpenVPN Instanc

Started by hnupsant, January 20, 2025, 10:11:52 AM

Previous topic - Next topic
Hi everyone,

We are currently using OPNsense and have successfully configured status logs to be sent to Prometheus for monitoring our VPN client status through an OpenVPN server. We are tracking key metrics such as traffic throughput, client state (up/down), last connection time, session duration, etc.

Now, we are in the process of migrating from an OpenVPN server to the OpenVPN instance in OPNsense. However, we are unsure of the best way to set up the status log feature on the OpenVPN instance to continue monitoring similar client status metrics.

Can anyone provide guidance on how to configure status logs for OpenVPN instance in OPNsense, specifically for:

VPN client traffic
Client state (up/down)
Time of last connection
Session duration
Any help or pointers to documentation would be greatly appreciated!

Thanks in advance!