How to add multiple interfaces to firewall zone w/ uci


uci set'interface1' 'interface2'

returns with the man page for uci, clearly not formatted correct.

uci set'interface1' sets the covered network of my_zone to exclusively interface1. Then running uci set'interface2' sets the covered network to exclusively interface2.

how do we add multiple interfaces to a firewall zone using uci cli?

Use multiple uci add_list'interface1' commands.

1 Like

I was missing add_list in place of set. Thanks!

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