Firewall Rule create on Mikrotik Router:
Firewall: A firewall is a network security process that controls the outgoing and incoming network traffic, which is controlled by Mikrotik Router. Today we will learn how to block website and website filtering. we can block specific website in our network. Today we will show how to Facebook and YouTube will be denied in our network.
Step 1: IP > Firewall > Layer 7 protocols + Name=Block site > Regexp ^.+(facebook|youtube).*$ Apply>OK
Step 2: IP > Firewall > Filter Rules + General > Chain=Forward > Src. Address=172.16.0.100 Apply> OK
Step 3: IP > Firewall > Filter Rules + Advance > 7 Layer protocol= select Block site > Apply > OK
Now everything is completely setup. Now you can set your Laptop IP 172.16.0.100 and browse the Facebook and YouTube.
When you browse Facebook and YouTube then it will show access denied.
How to individual IP will be allowed: if you want create individual IP address will get browse every site than you can create below this rule
Step1: IP > Firewall > Filter Rules + General > Chain=Forward > Src Address=192.168.1.98 > Apply > OK
step2: IP > Firewall >Action =Accept > Apply >OK
step3: IP >Firewall >Filter Rules > click and drag on accept Rule( must be above accept rule)