Personally I consider the info/hints in the GUI ambiguous?
View attachment 12537
So I suspect that the Parental Controls Time Schedules do work with
'NAT Acceleration=Auto' but
may not always be
checked/applied in a timely manner?
However, if you check the GUI hint for the
'NAT Acceleration' state, it seems to imply that the firmware will
alter this as required? - although not sure I've ever seen this...
View attachment 12538
So whilst performing diagnostics, then
@D_Day's advice is advised
Disable NAT Acceleration
You should then dump the Parental Control rules in detail for the MAC address that is being incorrectly blocked
e.g.
Code:
Chain FORWARD (policy DROP 0 packets, 0 bytes)
1 0 0 PControls all -- br0 * 0.0.0.0/0 0.0.0.0/0 TIME from 07:00:00 to 10:00:00 on Fri MAC XX:XX:XX:XX:XX:XX
2 0 0 PControls all -- br0 * 0.0.0.0/0 0.0.0.0/0 TIME from 14:00:00 to 17:00:00 on Fri MAC XX:XX:XX:XX:XX:XX
3 0 0 PControls all -- br0 * 0.0.0.0/0 0.0.0.0/0 TIME from 20:00:00 to 21:00:00 on Fri MAC XX:XX:XX:XX:XX:XX
4 0 0 DROP all -- br0 * 0.0.0.0/0 0.0.0.0/0 MAC XX:XX:XX:XX:XX:XX
Chain PControls (2 references)
num pkts bytes target prot opt in out source destination
1 0 0 logdrop all -- * * 0.0.0.0/0 0.0.0.0/0 state INVALID
2 0 0 NSFW all -- * * 0.0.0.0/0 0.0.0.0/0
3 0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0
Now for the debugging example above with three ALLOW periods, (if you have enabled NSFW rules, then this will complicate matters :-( ) you could try adding a logging rule to try and confirm precisely when the MAC is
incorrectly blocked during the ALLOW period(s):
e.g. insert a debugging rule before the DROP rule (position 4 in the example above) for the MAC to be debugged
Code:
iptables -I FORWARD 4 -i br0 -m mac --mac-source XX:XX:XX:XX:XX:XX -j LOG --log-prefix "PControls BLOCK "
Chain FORWARD (policy DROP 0 packets, 0 bytes)
1 0 0 PControls all -- br0 * 0.0.0.0/0 0.0.0.0/0 TIME from 07:00:00 to 10:00:00 on Fri MAC XX:XX:XX:XX:XX:XX
2 0 0 PControls all -- br0 * 0.0.0.0/0 0.0.0.0/0 TIME from 14:00:00 to 17:00:00 on Fri MAC XX:XX:XX:XX:XX:XX
3 0 0 PControls all -- br0 * 0.0.0.0/0 0.0.0.0/0 TIME from 20:00:00 to 21:00:00 on Fri MAC XX:XX:XX:XX:XX:XX
4 0 0 LOG all -- br0 * 0.0.0.0/0 0.0.0.0/0 MAC XX:XX:XX:XX:XX:XX LOG flags 0 level 4 prefix "PControls BLOCK "
5 0 0 DROP all -- br0 * 0.0.0.0/0 0.0.0.0/0 MAC XX:XX:XX:XX:XX:XX
NOTE: You could use a cron script to regularly dump the Parental Controls Schedule rules to ensure that they are not getting corrupted.