RSHARM
November 28, 2023, 1:44pm
1
I created this rule
accept lan
to this device
from some MACs at top
from reject anyzone
to this device
at bottom
Now Some devices can't get IP via DHCP
if they can some don't get internet
and non can access web page htttps://192.168.1.1 or via SSH.
Any way to fix it before I reset it
OpenWrt v23.05.2
pavelgl
November 28, 2023, 2:36pm
2
Try entering failsafe mode.
1 Like
RSHARM:
I created this rule
accept lan
to this device
from some MACs at top
from reject anyzone
to this device
at bottom
Are you saying you made two rules?
Can you show a screenshot or the actual rule or paste it from /etc/config/firewall
?
It's not clear what you're saying - given you listed both "accept" and "reject".
Yes:
remove the rule; or
connect from the MAC you added to the firewall
1 Like
jow
November 28, 2023, 3:10pm
4
Due to the chain structure, "any zone" rules are processed before specific zone ones, so the reject one will effectively take precedence over the lan one, regardless of the rule ordering.
5 Likes
RSHARM
November 28, 2023, 4:06pm
5
Where are firewall rules stored ? /etc/config/firewall
seems to have default rules. I am in failsafe mode the power led it blinking fast
pavelgl
November 28, 2023, 4:11pm
6
Did you run mount_root
first?
3 Likes
RSHARM
November 28, 2023, 5:18pm
7
Do you mean rules where any zone
is as in "from any zone
" ?
I have reject lan to any zone and my internet works
system
Closed
December 8, 2023, 5:18pm
8
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.