Page 1 of 1

[ASK] how to add multiple firewall ip address list?

Posted: Wed Aug 15, 2012 10:35 am
by atut
Hi, I have a question on how to add custom and multiple ip address list in firewall?
For example:
Name: Allowed
Ip address: 192.168.1.2, 192.168.1.26, 192.168.1.75, 192.168.113, 192.168.1.199, 192.168.1.244

I know we can use ip range like 192.168.1.2-192.168.1.244
But I only want the above ip address to be assigned.

How to do that? I am using RouterOS v5.6
Thanks in advance....

Re: [ASK] how to add multiple firewall ip address list?

Posted: Wed Aug 15, 2012 10:46 am
by mrz

Re: [ASK] how to add multiple firewall ip address list?

Posted: Wed Aug 15, 2012 10:57 am
by atut
the link you refer to shows adding only 1 ip address to 1 single name

how to add multiple ip addresses to 1 single name?

Re: [ASK] how to add multiple firewall ip address list?

Posted: Wed Aug 15, 2012 11:27 am
by mrz
the same as adding one address
/ip firewall address-list 
add list=drop_traffic address=192.0.34.166/32
add list=drop_traffic address=192.0.35.167/24
add list=drop_traffic address=192.0.36.2-192.0.37.10