MikroTik Firewall is a powerful security tool that can be used to block unwanted websites. If you are a network administrator, sometimes it may be your requirement to block any website like Facebook, YouTube, Pornographic site and so on. To block these types of websites, you just need to create Firewall Rules that will drop any connection to these websites through your MikroTik Router.
How MikroTik Firewall Blocks Websites Facebook and YouTube
1. Block YouTube
/ip firewall address-listadd address=www.youtube.com list="Block youtube"add address=googlevideo.com list="Block youtube"/ip firewall filteradd action=drop chain=forward dst-address-list="Block youtube"/ip firewall address-listadd address=www.youtube.com list="Block youtube"
2. Block Facebook
/ip firewall address-listadd address=www.facebook.com list=block-facebookadd address=facebook.com list=block-facebookadd address=login.facebook.com list=block-facebookadd address=www.login.facebook.com list=block-facebook/ip firewall address-listadd address=fbcdn.net list=block-facebookadd address=www.fbcdn.net list=block-facebookadd address=fbcdn.com list=block-facebookadd address=www.fbcdn.com comment=www.facebook.com list=block-facebookadd address=static.ak.fbcdn.net list=block-facebookadd address=static.ak.connect.facebook.com list=block-facebookadd address=connect.facebook.net list=block-facebookadd address=www.connect.facebook.net list=block-facebookadd address=apps.facebook.com comment=www.facebook.com list=block-facebook/ip firewall fiadd action=drop chain=forward comment="BLOCK FACEBOOK" dst-address-list=block-facebook
3. How to Allow a Specific User to access a Blocked Website.
/ip firewall fiadd action=accept chain=forward comment="Allow Access" src-address=192.168.30.252
Conclusion
In this post, we have made a step-by-step tutorial on How MikroTik Firewall Blocks Websites Facebook and YouTube?.I hope you liked it and please do share it with your friends and follow our social media for more.
If you face any problems with the code or have any questions, please feel free to ask in the comments section or contact us.
0 Comments