Hi everyone, i'm desperate,i'm a newbie with openwrt and modem, i deleted by mistake all firewall rules (like Windows )and i haven't access to gui anymore, i've an arcadyan aw1000, how can i restore it? Please help me, thank you in advance
The best and easiest way is to simply reset to defaults. You can use failsafe mode to regain access and then reset from there. All the details are here:
https://openwrt.org/docs/guide-user/troubleshooting/failsafe_and_factory_reset
If for some reason you don't want to reset, you still regain access to the device via failsafe and then fix the problem manually using the command line or editing the text files.
Now I read the guide but nothing to restore firewal how can i do? i'm really a newbie, Sorry for bothering
You might be able to restore the OOTB defaults from /rom
In general, the best option is to simply reset to defaults:
firstboot -y && reboot
But, as @anomeome mentions, you can copy the file:
mount_root
cp /rom/etc/config/firewall /etc/config/firewall
Thank you very much, i'll try and i tell you something
nothing, i don't have blinking led, my router ( arcadyan aw1000 ) has snapshot installed on it, any advice ?
What exact steps you undertook to reach here after and/or before resetting firewall?
i've bought an arcadyan aw 1000 with openwrt preinstalled and i deleted all firewall rules, thinking it's like windows style firewall, only when luci interface doesn't boot up, i realized the mistake
If you cannot connect to the router any more and the reset button does not work then see:
https://openwrt.org/docs/guide-user/troubleshooting/failsafe_and_factory_reset
what section in particular?
You have to follow failsafe link in first reply but instead of resetting/trying to fix configuration just sysupgrade to current OpenWRT snapshot without keeping any configuration. Then as soon as 24.10-rcX appears sysupgrade to that.