-
-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request — Client History Logs #27
Comments
Currently we don't require any storage, and we don't save state anywhere. This would require a db to store the records, and an external program that constantly polls the management interface for the information (e.g. run by cron). |
+1 |
2 similar comments
+1 |
+1 |
This can't be done in a robust way from the OpenVPN management interface (which is how openvpn-monitor connects to the server). For starters:
The far better way is to use OpenVPN's hooks to have it log when users connect/disconnect. It's trivial to write a script that reads env vars and writes them to a log file. Just add that script to OpenVPN's config file as: |
What should the scripts contain? |
this is not a necessary feature but it would be great if it will be added to openvpn-monitoring since admins of openvpn is not 24/7 online so they can't always trace or see if there are client who shares their account and use it at the same time. :)
reference from Chocobozzz
:)
The text was updated successfully, but these errors were encountered: