I'd like to give users a certain amount of traffic. Let's say user
A gets 1 GB and user
B get 5 GB.
I have a great script which does log all this info, however this script is called when the user disconnects (
Now, my problem is the following: what if user
A uses up 1 GB of data and simply never disconnects? He would be able to use thousands of GB's. Is there any way run a specific script periodically within OpenVPN (so no
crontab, since OpenVPN passes environment variables).