Monitor OpenVPN User Bandwidth Usage
7,615
Solution 1
I monitor and log the user bandwith storing the information from openvpn-status.log using the script below
https://github.com/jofrep/scripts/blob/master/openvpn/log-openvpn-users.pl
Solution 2
I wrote a Server Density plugin to monitor OpenVPN users and bandwidth. Bandwidth is global, and not per user basis:
https://github.com/bencer/sd-agent-plugins/blob/openvpn/OpenVPN/OpenVPN.py
Related videos on Youtube
Author by
ηapalm
Updated on September 18, 2022Comments
-
ηapalm over 1 year
So i've been researching this as much as possible and i haven't found a specific result.
I'm trying to monitor the incoming and outgoing bandwidth of OpenVPN users, i'm removing as many logs as possible for security reasons on the server, so how can i still monitor and limit the bandwidth of a user without monitoring what they're doing, etc.
-
user9517 about 8 yearsWhat are you trying to achieve by not monitoring the users?
-
ηapalm about 8 yearsI want to limit the bandwidth that a user can use, other than that i need to keep everything that doesn't need to be there... removed
-
-
ηapalm about 8 yearsSo how would i intergrate this?