OPNsense Forum

Archive => 22.7 Legacy Series => Topic started by: DoyleChris on August 22, 2022, 02:34:56 am

Title: Turn off internet to kids tablets
Post by: DoyleChris on August 22, 2022, 02:34:56 am
I have a schedule setup for active hours for internet 07:00-19:45.
I created a Alias for there 2 tablets named kids.
I know I need to make a rule.

But when I go to make the rule it doesn't let me select the Alias for the kids as a IP.  I can only select a port.
Any help with a tutorial would be handy.
Title: Re: Turn off internet to kids tablets
Post by: nzkiwi68 on August 22, 2022, 05:07:42 am
Make sure the Alias you created was for HOSTS and not PORTS
Title: Re: Turn off internet to kids tablets
Post by: DoyleChris on August 22, 2022, 10:48:45 pm
So i got it work to deny access.
But the time i want to deny is Sat-Thur 19:45 - 07:00 the next day.
But in the Schedules it wont let me go to the next day.
So i need to setup an allow from 07:00-19:45 Sat-Thur and deny the rest.
I know to do that you put one rule in front of the other but im not sure which one.
Do i put the allow in first with the time of 07:00-19:45, then after that the deny rule.
Or do i try and setup time for the deny and leave the allow alone.
Title: Re: Turn off internet to kids tablets
Post by: nzkiwi68 on August 23, 2022, 12:35:09 am
I'd setup a deny rule first, put it before the allow rule.
Title: Re: Turn off internet to kids tablets
Post by: meyergru on August 23, 2022, 01:16:37 am
Or split up the times in the schedule from 19:45-23:59 and 0:00-7:00, as there can be multiple times.
You only have to make sure that the 0:00-7:00 slice is on the next day (in your case Sunday to Friday).