k-szuster / luci-access-control

OpenWrt internet access scheduler
Apache License 2.0
151 stars 48 forks source link

Rules with times set stopped working on firewall 2017-05-09 up due to kerneltz #12

Closed shemgp closed 5 years ago

shemgp commented 7 years ago

As seen here: https://forum.lede-project.org/t/firewall-and-kerneltz-issues/4052/3 rules with times set don't get added to iptables because of the problem of using kerneltz.

The fix is to comment out the line s_rule.defaults.extra = "--kerneltz" in the file /usr/lib/lua/luci/model/cbi/access_control.lua on these new firewall versions.

Didn't create a pull request as I'm not sure how to make it work for both old and new firewalls.

peppelorum commented 6 years ago

Seeing the same behavior here, and the same fix works here too.

k-szuster commented 6 years ago

There is a new release available, which corrects Lede-17 problems: 0.4.2. Please upgrade.