I’m not aware if this can be solved via OpenVPN Server configuration. Maybe it could.
However, AFAIK currently Nethserver does not allow from the OpenVPN Server configuration manage time conditions for allowing connections.
So i suggested something that might help you achieve the result, even through a different path from the one you’re looking into it. I’m not currently aware on how “reserve” the IP of the OpenVPN connection for a specific user.
Because firewall chews only ip addresses, nor users, nor macaddresses, nor hostnames.
I think the idea is good, but how do I go about it? I’ve never done this before…
I would like to solve it so that everyone is logged out before the backup starts and cannot log back in from the VPN connection until the backup is finished…
So create one user test, with one IP reservation AND the objects. Then… do the tests
When you’ll figure out how to to the thing, you’ll reserve to user the IPs, you will create an IP group then you will change the source of the rule.