How to show zones with OpenWrt

Hello,
I have just started with openwrt.

I am trying to get all the zones of openwrt like "firewall-cmd --get-zones" in ubuntu, but am unable to find it.

can anyone show me how its done in cli.

1 Like

You can get this kind of information from the output:

/etc/init.d/firewall reload
uci show firewall | grep -e zone
fw3 print | grep -o -e "zone_[^_]*" | sort -u
2 Likes

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