Community discussions

MikroTik App
 
servaris
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 67
Joined: Tue May 20, 2014 4:30 pm
Location: Planet Earth
Contact:

How to block many IP subnets

Mon May 26, 2014 1:54 am

Hi,
In a previous firewall system we blocked many subnets using a simple text file which has each x.x.x.x/x or /xx per line.
We are using the RB2011UiAS now.
Example:
x.x.x.x/16
x.x.x.x/24
x.x.x.x/12
Is there a way to just import a file like that? If not, how do we add all subnets in order to block them from our network?


Thanks.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12570
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: How to block many IP subnets

Mon May 26, 2014 2:18 am

create one address-list that contain all subnet you want to block, and add that address list as src-list for forward drop rule...

Who is online

Users browsing this forum: Fogga, raquingi and 35 guests