You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The firewall rules created via luci-access-control's UI don't work by default on my router. Manually changing the automatically generated firewall rules' "Protocol" setting from the default value of "0" to "Any" seems to fix them (see demonstration in the gif screen capture below).
OpenWrt version: 22.03.2 r19803-9a599fee93
Router model: TP-Link WR841N version 13.1
The text was updated successfully, but these errors were encountered:
If you have the possibility, I suggest experimenting with the file /usr/lib/lua/luci/model/cbi/acces_control.lua
I think the line 110 is responsible for this -- self.map:set(section, "proto", "0")
And if you can determine what value should be inserted instead of "0", give feedback. As I see the problem occurred in OpenWrt 22.03.
@AlicjaWC
I had the same problem on OpenWrt 22.03.0 r19685-512e76967f
I edited /usr/lib/lua/luci/model/cbi/acces_control.lualine 70
from s_rule.defaults.proto = "0"
to s_rule.defaults.proto = "any"
and it seems to work 👍
The firewall rules created via luci-access-control's UI don't work by default on my router. Manually changing the automatically generated firewall rules' "Protocol" setting from the default value of "0" to "Any" seems to fix them (see demonstration in the gif screen capture below).
OpenWrt version: 22.03.2 r19803-9a599fee93
Router model: TP-Link WR841N version 13.1
The text was updated successfully, but these errors were encountered: