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.
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.
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
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.