English
+370 5 205 5502 sales@monovm.com

20

Feb, 19

Block IP or Network in MikroTik

To block or accept traffic in mikrotik, follow below steps:

  • At first we should login to the router OS. Open router login page (use winbox or web access), enter IP, username and password and click connect. ( as shown below )
    1
  • In opened windows, click on “IP” menu and select firewall in submenu. Select the first tab named as “Filter Rules”.
    2

Note: when list is empty, all IP and networks can access to the router. If you add only one rule, all traffic will be re-arranged based on this rule.

  • Click on add (blue plus item) to insert new rule. In opened windows you can identify the properties of the rule. Click on General tab to define general specification of the rule. In “chain” drop down list you can select the type of traffic. It is input or output or even forwarded. Then enter the source address or destination address of traffic packets. These two steps is enough to define a basic rule and you can select other properties like protocol or source port and destination port.
    52
  • Then go to “action” tab to select what the router will do with this traffic.  Select the options which are available in action drop down list. Select 'drop' to deny the traffic or select 'accept' to allow the traffic.
    4

Oliver K

I’m Oliver k. I have MS degree in Computer Engineering. For nearly 5 years that I have been working on web programing and also in last 2 years I have worked on windows and Linux VPS. This is my honor to share my experiences with a new community.