Saturday, September 5, 2020

Snapchat Block Layer 7 Mikrotik

Snapchat access is restricted in almost every corporate network. Usually, if we apply the restriction using the firewall of mikrotik router, then the users will be blocked from the web access of snapchat, but they will get access with snapchat apps.

To block snapchat apps we need to take the help of mikrotik's "layer-7 protocol" feature. There some kind  of "RegExp Code" is written. Later,  restrictions are applied using those code. One screenshot is given below.


The regexp code for blocking "Snapchat" apps is given below: -


^.+(feelinsonice.appspot.com|appspot.l.google.com|data.flurry.com|appspot.com|.appspot|appspot.|feelinsonice-hrd.appspot.com|data.flurry.com|snapchat.com|snap.net|www.snapchat.com|www.feelinsonice.com|feelinsonice.com|www.snap.net|.snap.net.).*$


How to block "Snapchat" apps using layer-7 protocol is discussed step by step below.

First we will go to the layer-7 protocol from the firewall.


Now we will create a rule and will give a name for “Layer-7 protocol”, then we will write the regexp code and then "apply" and then "OK".


Now we will create a filter rule from the firewall and will go to the “Advanced” tab.


Now we will select the rule we created in “Layer 7 Protocol”. 


Then we will select “Drop” from “Action”.


Finally we will click on "apply" and then click on "OK". From now on snapchat web access will be blocked as well as access through apps will be blocked.

No comments:

Post a Comment