• Home
  • Software
  • Wi-Fi
  • Videos
  • About US
  • Contact Us
  • Downloads

Technology at your finger tips

  • Home
  • Privacy Policy
  • Terms and Conditions
  • Disclaimers
  • Contact Us
> Home » How to block Website in Mikrotik Router OS from Winbox [URL & Keywords]

How to block Website in Mikrotik Router OS from Winbox [URL & Keywords]

September 7, 2018 by admin

The simple way to restrict unusual and pornography sites on your Mikrotik router using Firewall filtering rules. Read the full post to know how to use firewall policy to protect network using Mikrotik routers. see here quick user guide for block Website in Mikrotik Router OS from Winbox for beginners.

How to block Website in Mikrotik Router OS from Winbox [URL & Keywords]

Mikrotik router OS one of my favorite device to play with it. If you love to play in networking then you may also like the Mikrotik Router OS because of it’s all in one router software. In this post I am going to share the best feature of Mikrotik firewall filter rules to protect the internet and block any website like Facebook, YouTube. I have already posted several tutorials about Miktorik Hotspot configuration and Mikrotik Hotspot Page design to personalize your login page for your business and brand. In this post, you will get a detailed configuration guide to block any unwanted website using layer7 protocol and MikroTik Firewall filter rule from Winbox software.

  • How to design OTP Based Authentication Hotspot Solution for Coffee Shop

There is no direct URL and content filtering option available like other firewalls and routers. But there is a complete firewall feature that allows you to block IP address, Mac address, URL, and website keywords as well. You should be familiar with router OS to using firewall filtering rules proper and not only block the website but also protect the unauthorized access from outside networks. Mikrotik firewall is a powerful feature and tool to manage all the network access and blocking such as port block, WAN IP blocks, access from different networks and many more. If you are using the Mikrotik Hotspot login page and looking to block YouTube, Facebook page, WhatsApp and any other sites which may waste your time during office hours.

It is not necessary to use Hotspot in Mikrotik to block both types of HTTP and HTTPS websites. The website blocking is the part of layer 7 firewall rules and also can be blocked using the Mikrotik web proxy server. So enjoy the quick user manual to know How to block the Website in Mikrotik Router OS from Winbox.

Read Also:

  • How To Customize MikroTik Hotspot login page with your own Design
  • Mikrotik CAPsMAN Wireless Controller Configuration and Setup

Block YouTube, Facebook, and other websites in Mikrotik Router

To use the content filtering feature in Router OS your Mikrotik device should in router mode and configured with the internet connection using WAN port. Follow the steps to block the Website in Mikrotik Router OS from Winbox.

 

Step1: Connect Router and Login in Winbox Utility.

Just open your router in Winbox via mac address or IP address to manage the firewall rules in your router.

block website mikrotik winbox

Step2: Now you have to go to Mikrotik firewall settings option in router OS.

From the left side, menu Go to IP — Firewall  (ref below image)

 mikrotik маршрутизатор блок сайтів facebook і youtube

Step3: Create the Mikrotik Firewall Website block Rules.

Now to block any website using address and keyword needs to create firewall filtering rules.

There is two part of configuring content filtering in router OS to restrict Facebook, YouTube and other sites.

  • Configure the Layer 7 Protocols
  • Creating Filter Rules

 

  •  Mikrotik RouterOS and Firmware Upgrade Using Winbox [Online/Offline]

1: Layer 7 Protocols Rule Create

Under the Layer 7 option, we create the site URL, Keyword using regular expressions used in Router OS RegExp. Here you can add the website complete URL which you want to block in your networks.

Here I use block Facebook to restrict in my location networks.

  1. Under Firewall find the Layer 7 Protocols in the last tab
  2. Name- type the name you want to give the URL/website going to block.
  3. RefExp – Under Regexp text box type the website name you want to block in your networks.

block website from mikrotik router using web proxy

Note: please use the prefix expression to completely block any website using keywords, URL, and through IP address and a single character.

Layer 7 Firewall – Regular Expression

The expression rules help you to bypass any particular keywords and website you want to only work and others all block. Read the complete expression table to understand blocking rules.

.*(facebook)+.*  (  it will also block all the website content Facebook keywords so hard to unblock Facebook through any third party proxy sites)

 mikrotik website block time schedule

Download website block user manual in pdf

Read more:

  • How to setup QoS to set internet Speed limit for WiFi User
  • The 15 Best Wireless Range Extenders to Boost WiFi signal [Updated]

2: Creating Filter Rules

Now set the URL filtering rules to block the desired website you have added in Regexp table.

Filter rules itself having 3 parts.

  • New filter Rules
  • Advance (Layer 7 Protocol )
  • Action ( to drop the URL)

 

1: Add New Filter Rules

Now go to the first tab “Filter Rules”

Press the plus (+) button to add new rules

General tab – Chain: Forward

Press the Apply button and move to next steps “Advanced”

 block website in mikrotik hotspot

2: Advance (Layer 7 Protocol)

Now go to “Advanced” tab next to filter rules.

Layer 7 Protocol:  select the website you want to block from the list you have created under Layer 7 tab in first steps.

Press Apply and move to Action tab.

mikrotik block facebook

  • How to Website Block in Comcast Xfinity Router

3: Action

This option will let you choose you to want to accept and drop the website you have added in Layer 7 protocols.

Action: Press the down arrow button and choose the “drop” option and press the Apply button.

mikrotik web proxy https

After finish, this setting your filter rules should show Red Cross as shown in below image.

 mikrotik block websites by url

How to Block Website in Mikrotik WAN source IP address

You can also direct block websites in the source IP address of your internet using simply adding your WAN ip to filter rules with forwarding options.

Chain- Forward

Src Address: add your WAN IP address network id here to restrict website in WAN IP itself.

Follow the Advanced, Action settings as done in the above steps as it is.

mikrotik filter rules

After block Website in Mikrotik Router OS from Winbox, you may be required to unblock some websites for personal use. so also know the unblock websites in MikroTik router using winbox in the below steps.

How to unblock website in Mikrotik router from Firewall

After blocking the website if you wish to unblock any website you have to restrict firewall rules. Just follow the steps to unblock sites.

  1. Go to IP-Firewall
  2. Filter Rules
  3. Open the filter rules you have the drop to block the website.
  4. Go to Action tab and change the Action – accept
  5. Press Apply button

mikrotik firewall setup for port block

Check your website should unblock and start working

 Conclusion:

Using the firewall and content filtering is the best way to protect your network from hackers attack and spams and fishing sites. It also provides you a parental control to protect visiting unusual sites. Although blocking a website in Mikrotik routerboard can be done using multiple ways, like web proxy filter, firewall rules, layer 7 protocols. Hope this post “block Website in Mikrotik Router OS from Winbox” easily untestable and helpful you to secure your Mikrotik router from attackers.

 

Related Post:

 

  • 5 Best Long Range Wireless Point to Point Device for Internet and CCTV
  • Protect Network and Wireless Devices from Lighting and Thundering
  • How to Check Tower Height for Long distance Point to Point in Google Earth

Filed Under: MikroTik, WiFi Tagged With: block website mikrotik layer 7, block youtube mikrotik 2019, how to allow website in mikrotik, how to block facebook in mikrotik, mikrotik block youtube for specific ip, mikrotik block youtube https, mikrotik content filtering, mikrotik layer 7 regexp list

  • “Case studies: successful blog posts created with the help of small text generator
  • How To Change Hathway WiFi Password- User Manual
  • 7 Tips to Organize Your Study Space at Home
  • Best WiFi Routers for Gaming in Tri-Band [5GHz+5GHz+2.4GHz]

Categories

  • 192.168.0.100 (1)
  • 192.168.1.245 (1)
  • 192.168.12.1 (1)
  • 192.168.178.1 (1)
  • 192.168.188.253 (1)
  • 192.168.2.1 (1)
  • 3C WiFi Router (1)
  • 4G Hotspot Router (2)
  • 4G LTE Router (1)
  • A2004NS Dual Band (1)
  • AC1200 (1)
  • AC1200 (1)
  • AC1200 (2)
  • Access Point (2)
  • Actiontec DSL Modem (1)
  • ADSL/VDSL Modem (1)
  • Airbrush (1)
  • AirFiber 5X (1)
  • AirGrid (2)
  • Airtel (4)
  • Airtel 4G Router (3)
  • Alexa Echo Show (1)
  • Amazon (1)
  • Android (5)
  • Anti Virus (1)
  • AP200 (1)
  • Apple (1)
  • Applications (4)
  • Archer C5400 (1)
  • Archery Game (1)
  • Arris (2)
  • Asus (3)
  • AT&T (1)
  • AX6000 (1)
  • Baby Monitor (1)
  • Backup & Restore (1)
  • Bandwidth Controll (1)
  • Bandwidth Management (1)
  • Beetel (1)
  • Beetel 77VR1 (1)
  • Belkin (1)
  • Belong (1)
  • Best WiFI router (1)
  • Binatone (7)
  • Block User in Airtel Xstream (1)
  • Blog (1)
  • Blogging (5)
  • Bootable Maker (1)
  • Brovis (1)
  • Business Management Software (1)
  • C20 (3)
  • C24 (2)
  • Cable Modem (2)
  • Canon G1000 (1)
  • Canon Pixma (1)
  • CAPsMAN Controller (1)
  • Captive Portal (1)
  • CCTV (6)
  • CCTV Brands (1)
  • CenturyLink (1)
  • Change WIFI Password (1)
  • Cloud (1)
  • Cloud Core Router (CCR) (2)
  • Comcast (2)
  • Computer Science Help (1)
  • Covr Mesh (1)
  • CP Plus (3)
  • CPE210/CPE220 (2)
  • CPE510 (2)
  • Cyberoam (1)
  • D-Link (3)
  • Data Backup (1)
  • Deco M (1)
  • Digisol (1)
  • Digital Marketing (1)
  • Dir615 (1)
  • Disc lite (1)
  • Drink Label Maker (1)
  • Driver Backup (1)
  • DSL 2750U (1)
  • DVR/NVR (1)
  • EAP2200 (1)
  • EAP225 Ceiling Mount AP (1)
  • EAP225 outdoor AP (1)
  • Educational (3)
  • Email Client (2)
  • Employee Monitoring (1)
  • EnGenius (3)
  • Epson (1)
  • Epson (1)
  • Epson L405 (1)
  • Esports (1)
  • EzyKam (1)
  • Facebook (19)
  • Facebook Game (1)
  • Facebook Reels Downloader (1)
  • Factory Reset Samsung Tab (1)
  • Fiber (3)
  • Fiber OLT (1)
  • Fiber Tools (1)
  • FireStick (1)
  • Firewall (1)
  • Firewall (2)
  • Firmware Upgrade (1)
  • Flying Voice (1)
  • Folder Lock (1)
  • Frontier (1)
  • FTP Client (1)
  • FTTH ONT/ONU (2)
  • Games (2)
  • Gargoyle (1)
  • Gmail (1)
  • Google Adsense (2)
  • Google Map (1)
  • GPON/EPON OLT (1)
  • Grammar check Tool (1)
  • Hap Mini (1)
  • Hathway (1)
  • Heatmap tool (2)
  • Hikvision (1)
  • Home Security (3)
  • Hosting (1)
  • Hotspot (1)
  • Hotspot (2)
  • How to (2)
  • HP (1)
  • HTM Editor (1)
  • HTML Homework Help (1)
  • HTTP to HTTPS (1)
  • Huawei (1)
  • iBall (4)
  • Ink Advantage wireless printer (1)
  • Instant Messenger (1)
  • Internet Meter (1)
  • iPhone (1)
  • ISO to MicroSD Converter (1)
  • Jio (2)
  • JioFi 4G Hotspot (1)
  • JioFiber (1)
  • JioFiber Router Reset (1)
  • Keyboard Shortcut (1)
  • L2 Switch (2)
  • L3 Switch (1)
  • Laptop (1)
  • LB-Link (1)
  • LB-Link Repeater Mode (1)
  • LGH (1)
  • LGH 5 (1)
  • Lightning Protection (1)
  • Linksys (2)
  • Linux (2)
  • LiteBeam (1)
  • Live Streaming (3)
  • Live TV (2)
  • Load Balancer (2)
  • Login IP address List (1)
  • Logo Maker (1)
  • M7350 MiFi (1)
  • Mac (1)
  • Manage Switch (1)
  • Marketing (1)
  • Medialink (1)
  • Mega Shows App (1)
  • Mercusys (3)
  • Mesh System (1)
  • MI (5)
  • MikroTik (15)
  • MIUI (1)
  • Mobile Game (1)
  • Modem login (1)
  • Monitor (1)
  • Motorola (1)
  • MS Office (2)
  • MW325R (1)
  • Nagios (1)
  • NAS Software (1)
  • Netgear (5)
  • Netgear R6220 (1)
  • Netgear WNR614 N300 (1)
  • Netis (1)
  • Network (4)
  • Network Tool (4)
  • Nova MW6 (1)
  • NVR (1)
  • online shoping (1)
  • Online Tool (1)
  • Online Video Maker (1)
  • OpenWRT (9)
  • Operating System (1)
  • Parental Controls (1)
  • Password Recovery (1)
  • PDF Password Remover (1)
  • PDF to Excel (1)
  • PDF to MS converter (1)
  • phone (2)
  • Photo Editor (1)
  • plugins (1)
  • point to Point (1)
  • Point to Point WDS Bridge (2)
  • Power Beam (2)
  • Printer (2)
  • Programming Courses (1)
  • Prosafe Switch (1)
  • Proxy sites (1)
  • QoS Setup (1)
  • Random Video Chat (1)
  • Range Extender (1)
  • Range Extender Mode (2)
  • RB3011 (1)
  • RedMi Note (3)
  • Repeater Mode (1)
  • Reverse PoE Switch (1)
  • Reviews (1)
  • Router reset (1)
  • RPoE Switch (1)
  • Samsung (1)
  • School Management (2)
  • screen recorder (2)
  • Security (5)
  • SEO (2)
  • Signal Booster (1)
  • Single Band Vs Dual Band (1)
  • Site Survey (2)
  • Social Network (20)
  • Software (2)
  • Software (25)
  • Sonicwall (1)
  • Sony (1)
  • Spectrum (1)
  • Surfshark VPN (1)
  • SyroTech (1)
  • Talon AD7200 (1)
  • Teamviewer Alternative (1)
  • Technicolor (1)
  • Technology (1)
  • Tenda (8)
  • Tenda AC10 (1)
  • Tenda ADSL Router (1)
  • Tenda N301 (1)
  • Tenda O6 5GHz (1)
  • Text Generator (1)
  • Time Capsule (1)
  • TL-WA850RE (1)
  • TL-WR743ND (1)
  • TL-WR802N (1)
  • TotoLink (2)
  • TP-Link (28)
  • Trendnet (1)
  • TrendNET N300 (1)
  • Twitter (2)
  • Twitter (2)
  • UAG50 (1)
  • Ubee (2)
  • Ubee DDW320 (1)
  • UBNT (10)
  • Unifi Controller (2)
  • USB Bootable Maker (1)
  • Vaio E Series (1)
  • Video (3)
  • Video Converter (3)
  • Video editor (2)
  • Voip Phone (1)
  • Voltek (1)
  • VPN (1)
  • VPN (2)
  • VPN Router (1)
  • Watermark Removal (1)
  • Wavlink (1)
  • WBS-510 (1)
  • WhatsApp (1)
  • WhatsApp (1)
  • WhatsApp (2)
  • WiFi (17)
  • WiFi Router (15)
  • WiFI router (1)
  • Windows (11)
  • WordPress (1)
  • Wordpress (2)
  • WR-3010N (1)
  • WR1505/WR3005 (2)
  • WR3000N (1)
  • WR820N (1)
  • Xfinity (2)
  • YouTube (4)
  • YouTube Downloader (2)
  • Zyxel (1)
  • How to Delete Facebook Account permanently from Mobile
  • “Case studies: successful blog posts created with the help of small text generator
  • How To Change Hathway WiFi Password- User Manual
  • 7 Tips to Organize Your Study Space at Home
  • Best WiFi Routers for Gaming in Tri-Band [5GHz+5GHz+2.4GHz]

Recent Posts

  • How to Delete Facebook Account permanently from Mobile
  • “Case studies: successful blog posts created with the help of small text generator
  • How To Change Hathway WiFi Password- User Manual
  • 7 Tips to Organize Your Study Space at Home
  • Best WiFi Routers for Gaming in Tri-Band [5GHz+5GHz+2.4GHz]

Tags

192.168 0.101 tenda login admin airtel 4g hotspot connected but no internet airtel 4g hotspot login airtel 4g hotspot no service asus router login best wifi router best wireless router for home binatone router bridge mode binatone dt920w as repeater binatone router cp plus app cp plus camera online view cp plus dvr firmware update download cp plus ip camera cp plus login how to block websites in router tp-link how to block adults websites on my router how to block websites on network how to buy router for home iball baton login mikrotik routerboard netgear modem login netgear modem setup netgear router login netgear support openwrt transparent bridge tenda n300 login tenda router tenda router setup tendawifi.com login tenda wifi tp-link login tp-link router tp-link router login tp-link tl-wr820n as repeater tp-link login username and password tp-link router as repeater tp link tl-mr6400 setup tplinkwifi tp link tl-wr840n range extender ubnt use binatone router dt910w as repeater which wifi router is best for me wifi extender wr1505n3 binatone configuration

Copyright © 2023 & Powered By Genesis Framework