How to reset OpenWrt firewall?

I'd like to restore only the firewall to the default OpenWrt initial state/rules. Any idea?

The default file can be found in the /rom directory tree. Copy it over to your live directory tree.
cp /rom/etc/config/firewall /etc/config/firewall
This will only work for routers with a rom + overlay filesystem, e.g. not x86.

5 Likes

Worked, thanks a lot.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.