Multiple Src. Address Lists

Is it possible to add multiple lists in this field?

Regards
src_address_list.png

Nope. Just create aggregate lists that have all the IPs. It would be a neat feature to be able to have nested address lists, but its not a big deal to have extra lists.

Oh no, now I need to reconfigure everything. :frowning:

Anyway, thanks for the prompt reply. :smiley:

You dont need to reconfigure everything.

Lets say you have 192.168.1.0/24, 192.168.2.0/.24, 192.168.3.0/24. LANA, LANB, LANC address lists.

Create the 3 address lists, then create one more call LANALL with all 3 subnets in it. Works fine.

And if you need to combine all existing address lists entries from multiple lists into one list, the below should work:

:foreach ENTRY in=[/ip firewall address-list find] do={
  /ip firewall address-list add list=CombinedListName address=[/ip firewall address-list get $ENTRY address]
}

Okey, thanks for you answer. :smiley:

Hello,

I also have the same problem - I have two adress lists and when I use two rules (for every address list one rule) the traffic can’t be filtered well.

How can I create a combined address list that contains all IP addresses of list A and list B which is also always synchronous?