OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: opn.spl on June 06, 2023, 02:25:38 PM

Title: Time limit of a client / client group
Post by: opn.spl on June 06, 2023, 02:25:38 PM
Hello people!
I want to time limit a client and / or a client group (from ... to) and also the internet usage. A super simple thing, unfortunately the setting is somehow cumbersome ... Maybe someone has already dealt with this and can give me a useful info (link) about it? Thanks!!!
Title: Re: Time limit of a client / client group
Post by: zan on June 06, 2023, 02:56:45 PM
You can use schedule-based rules.

Basically you create a schedule that you want to allow(or restrict) clients to use internet (Firewall>Settings>Schedules), then you attach the schedule to the allow/block rule.

Edit: Found this https://www.provya.com/blog/opnsense-time-based-rules/
Title: Re: Time limit of a client / client group
Post by: chemlud on June 06, 2023, 03:08:33 PM
https://forum.opnsense.org/index.php?topic=7897.msg165340#msg165340
Title: Re: Time limit of a client / client group
Post by: opn.spl on June 07, 2023, 11:04:51 AM
Thanks for the quick response! 🙌
Very cumbersome procedure and the duration of use, so for example 3 hours/day I can not set in OPNSense. Must come up with something else :)