How to Block Any Website Address/URL With MikroTik Filter Rule Terbaru 2019

How to Block Any Website Address/URL With MikroTik Filter Rule.

Block Website With MikroTik. You can use a MikroTik to block website addresses in order that they can't be accessed by means of Internet customers on the community. A community admin must recognise this method so that it will cozy all users from undesirable web pages. Or simply block certain web addresses, such as Facebook, YouTube, or different matters that youngsters do no longer should get right of entry to it. MikroTik is a powerful tool for coping with networks nowadays, so that you do not have to hassle doing something else. The manner it works is quite simple. Basically, MikroTik will disconnect while the blocked web page is accessed through the purchaser on the community. you simplest make a few settings at the MikroTik Firewall.
How MikroTik Firewall Blocks URL on the networks? The Mikrotik Firewall block the internet site deal with the use of filter out rule. There are two-components of Mikrotik rule. 
  • Conditional part. 
    • In this segment will take numerous conditional properties, inclusive of Source Address, Protocol type, Chain price, Source Port, Destination Address, Layer7 Protocol price, Destination Port, and many others. To in shape conditions.
  • Action.
    • It will take only drop action to block any internet site.
MikroTik firewall will drop the Internet connections if a filter out rule matched. So, all the client linked to the network cannot access and open the net address. 

How to Block Facebook or Youtube Website Via MikroTik?

This is just an instance, you may follow to other website addresses apart from those mentioned above. See the following steps cautiously.

First Step. Creating Layer 7 Protocol From Firewall.

Before you create a Filter Rule, you want to create Layer7 Protocol with Regex due to the fact this Layer7 Protocol will be utilized by Filter Rule to fit any key-word in URL. Now, see the following step to create Layer7 Protocol with Regex.
  1. Open the Winbox to far flung MikroTik and Login with your Login credential.
    Winbox Login
    Winbox Login
  2. Then Go to IP menu > Firewall and then click on Layer7 Protocols.
    IP Firewall Mikrotik
    IP Firewall Mikrotik
  3. Now, Click on Plus Sign (+) to create a new Layer7 Protocol with Regex. This will open a brand new firewall layer 7 protocol.
  4. Now, placed a meaningful name which include Youtube in a Name enter field.
    ytb.jpg
  5. Now positioned  www.youtube.com Regex in Regexp text region enter field in case you want to block Facebook. If you have an interest to understand Perl Regex,
  6. Then, Now click on on Apply and OK

Second Step. Creating Filter Rule to Block the Website.

  1. Now click on on Filter Rules tab under Firewall Window.
  2. Then click on on Plus Sign  (+) to create a new Filter Rule. 
  3. It will open the Firewall Rule window. 
  4. In General tab, choose forward from Chain drop-down menu. 
    tab general firewall filter rule
    tab general firewall filter rule
  5. We are retaining untouched each Src. Address and Dst. Address because we want to block all patron.
  6. If you want to block for a specific consumer, put their IP cope with in Src. Address input container 
  7. If you want to block for an IP block, positioned that IP block in the Src. Address input container. 
  8. Now, click on at the Protocol drop-down menu and select 6 (TCP) 
  9. Then. Put port 80,443 in Port input box. (Value need to be comma separated).
  10. Click on Advanced tab and then select the Layer7 Protocol that you created earlier than from Layer7 Protocol drop-down menu. 
    tab superior clear out rule
    tab superior clear out rule
  11. Then, click on Action tab and pick drop from Action drop-down menu. Click Apply and OK
    action tab drop
    action tab drop
Video Guide.

How to Block Any Website Address/URL With MikroTik Filter Rule Terbaru 2019How to Block Any Website Address/URL With MikroTik Filter Rule. Block Website With MikroTik.  You can use a MikroTik to block website addre...

Artikel Terkait

Berikan Komentar

  1. Untuk menulis kode gunakan <i>KODE</i>
  2. Untuk menyisipkan kode ke dalam Syntax Highlighter gunakan <em>KODE YANG LEBIH PANJANG</em>
  3. Kode harus di-parse terlebih dulu agar bisa ditulis.
  4. Centang Notify me untuk mendapatkan notifikasi balasan komentar melalui Email.
histats