I have been looking for information and investigating.
I already have a functional Scritp that controls the consumption of a WireGuard peer with the functionality of suspension due to time or traffic consumption, very similar to UserManager with L2TP.
It would be very useful if the RouterOS Development Group integrated this functionality from the UserManager to control users in terms of time and transfer in sales of VPN services.
I leave you some screenshots of the service working.
It uses:
- Peers WireGuard
- Brigue
- Mangrove
- Scheduler
-Scritp