Dear, currently a client/user can be controlled to have access or permission at certain times.
For example, activating or deactivating the user when necessary.
Thank you
Robert
User Control
- openvpn_inc
- OpenVPN Inc.
- Posts: 1333
- Joined: Tue Feb 16, 2021 10:41 am
Re: User Control
Hello Robert,
No. But if you wanted to do this, you could easily script it with the command line tools. You could do something like:
/usr/local/openvpn_as/scripts/sacli --user "theuser" --key "prop_deny" --value "true" UserPropPut
/usr/local/openvpn_as/scripts/sacli --user "theuser" --client_reason "Curfew going into effect!" DisconnectUser
And then the lift the restriction:
/usr/local/openvpn_as/scripts/sacli --user "theuser" --key "prop_deny" --value "false" UserPropPut
And put those in a cronjob.
Kind regards,
Johan
No. But if you wanted to do this, you could easily script it with the command line tools. You could do something like:
/usr/local/openvpn_as/scripts/sacli --user "theuser" --key "prop_deny" --value "true" UserPropPut
/usr/local/openvpn_as/scripts/sacli --user "theuser" --client_reason "Curfew going into effect!" DisconnectUser
And then the lift the restriction:
/usr/local/openvpn_as/scripts/sacli --user "theuser" --key "prop_deny" --value "false" UserPropPut
And put those in a cronjob.
Kind regards,
Johan
OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support