there seems to be a bug in UCI when applying firewall rules with both time and multiple weekdays specified. it only seems to add a rule for the first day listed.
eg
config rule
option src 'lan'
option dest 'wan'
option target 'REJECT'
option name 'some weekday'
list proto 'all'
list src_ip '192.168.1.242'
list src_ip '192.168.1.181'
option start_time '00:00:00'
option stop_time '23:59:59'
option weekdays 'Mon Tue Wed Thu Fri'
results in the following in iptables:
zone_wan_dest_REJECT all -- some.ip anywhere TIME from 04:00:00 to 08:00:00 on Mon /* !fw3: some weekday */
zone_wan_dest_REJECT all -- someother.ip anywhere TIME from 04:00:00 to 08:00:00 on Mon /* !fw3: some weekday */
i've already done a forum search and read the topics that seemed relevant, is there a specific post that you think addresses this problem that i've missed?
if you ask me the resulting iptables rules look pretty obviously wrong, as does the fw3 print output:
iptables -t filter -A zone_lan_forward -s 192.168.1.242/255.255.255.255 -m time --timestart 04:00:00 --timestop 08:00:00 --weekdays Mon --kerneltz -m comment --comment "!fw3: some weekday" -j zone_wan_dest_REJECT
iptables -t filter -A zone_lan_forward -s 192.168.1.181/255.255.255.255 -m time --timestart 04:00:00 --timestop 08:00:00 --weekdays Mon --kerneltz -m comment --comment "!fw3: some weekday" -j zone_wan_dest_REJECT
fyi for my particular use case I don't care about established connections either, my kids are young and thus unlikely to have active connections at 4am in the morning (i hope!).
I am on firewall - 2020-09-05-8c2f9fad-1 too. And, I have exactly your same issue. As you I solved it moving my rules to firewall.user, thought like sharing.