Mikrotik filter multiple addreses

In order to filter out traffic coming from and/or going to multiple IP addresses you need to create an address list containing all IP’s you want to filter:

address_list

Next step is to put the list to use:

1. Add a filter rule in your firewall:

firewall1

2. On advanced select the Src. Address List

firewall2

3. In the Action tab select the Action: drop

firewall3

Note: You can also put action “reject” and it will send back that the host is not reachable and cut the connection (faster) – I usually use this for internal network filters.

Add another filter the same as the previous one but on point 2. put the list on Dst. Address List.

That’s all. and if you want to put more IP’s in the list just add them, no need to modify the filter rules. Also you can disable single IP’s.

Advice: Comment the IP that you add.

Leave a Reply