Thursday, March 28, 2019

Mikrotik Content Based Rules Step by Step (Mikrotik Tutorial)

The "Mikrotik" router is very popular among affordable price routers. One of the features of this is to block a specific website. We can do this by implementing a different kind of rules in this router. For example, through content based rules, using a hotspot, through the layer-7 protocol.

Using a content-based rule, how to block a specific website, we will discuss the issue there now. If we select "drop" as an action value from any content-based rule, then everything will be drop is written into the content field. Let's imagine, we have written "youtube" into the "content" field and select "drop" as action value, then "youtube" will be blocked for that particular network or address. Not only "youtube", whatever you write everything will be dropped if the action value select as "drop".


We will use the winbox to do the whole thing.

At first logon your router via winbox. Then select "IP" and then select "Firewall". Select "Filter Rules" tab and click the (+) icon to add a new rule. Select "General" tab and write down your network address or specific IP address (for specific user) into the "Src. Field" also select "Forward" into the "Chain" field. Now click the "Advanced" tab. Write down your keyword into the "Content" Field such as "youtube". Now select "Action" tab. Now select "drop" into the "Action" field.

Now select "Apply" and then click OK.

The entire is shown through the screenshot.

First logon your router and go to "IP" and then "Firewall".




 Select "Filter Rules" tab and add a new rules by clicking (+) icon.



 Now select "General" tab. Select "Forward" from "Chain" field. Input your network address into "Src. Address" field. Network address just like 192.168.1.0/24.




Now click on "Advanced" tab and write down your keyword into the "Content" field.



 Now go to "Action" tab and select "drop" from "Action" field.





At last click on "Apply" and then click "OK".

Now "youtube" will be blocked. If you write "facebook" into the "content" field and select drop as action then facebook will be dropped.

No comments:

Post a Comment