Community discussions

MikroTik App
 
atut
just joined
Topic Author
Posts: 17
Joined: Fri May 30, 2008 12:43 pm

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

Wed Aug 15, 2012 10:35 am

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....
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7190
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

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

Wed Aug 15, 2012 10:46 am

 
atut
just joined
Topic Author
Posts: 17
Joined: Fri May 30, 2008 12:43 pm

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

Wed Aug 15, 2012 10:57 am

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?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7190
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

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

Wed Aug 15, 2012 11:27 am

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

Who is online

Users browsing this forum: LeahBrock and 32 guests