Mikrotik Blocking Web

 Mikrotik Blocking WebMikrotik Blocking Web

This example will explain you “How to Block Web Sites” & “How to Stop Downloading”. I have use Web-Proxy test Package.First, Configure Proxy.

/ip proxy
enabled: yes
src-address: 0.0.0.0
port: 8080
parent-proxy: 0.0.0.0:0
cache-drive: system
cache-administrator: “ASHISH PATEL”
max-disk-cache-size: none
max-ram-cache-size: none
cache-only-on-disk: no
maximal-client-connections: 1000
maximal-server-connections: 1000
max-object-size: 512KiB
max-fresh-time: 3d

Now, Make it Transparent

/ip firewall nat
chain=dstnat protocol=tcp dst-port=80 action=redirect to-ports=8080

Make sure that your proxy is NOT a Open Proxy

/ip firewall filter
chain=input in-interface= src-address=0.0.0.0/0 protocol=tcp dst-port=8080 action=drop

Now for Blocking Websites

/ip proxy access
dst-host=www.blockedsite.com action=deny

It will block website http://www.blockedsite.com, We can always block the same for different networks by giving src-address. It will block for particular source address.

We can also stop downloading files like.mp3, .exe, .dat, .avi,…etc.

/ip proxy access
path=*.exe action=deny
path=*.mp3 action=deny
path=*.zip action=deny
path=*.rar action=deny.

Try with this also

/ip proxy access
dst-host=:mail action=deny

This will block all the websites contain word “mail” in url.

Example: It will block mail.gmail.com, mail.yahoo.com,

ENJOY BLOCKING…….

ref : satrianet.wordpress.com

Related Posts
  • VLAN MIKROTIK TUTORIAL
  • Mikrotik Traffic Load Balancing Tutorial
  • Mikrotik Simple Firewall Tutorial
  • Mikrotik Hotspot and RADIUS Server Tutorial
  • Mikrotik Bandwidth Test Tutorial
  • Hardware Reset Mikrotik Tutorial
  • Create Server Dota Game Online in Mikrotik Tutorial
  • The Dude Network Monitoring From Mikrotik Tutorial
  • Load-balancing and Fail-over in MikroTik Tutorial
  • Setup Queue Tree Mikrotik with more than Two Interfaces Tutorial

2 comments

  1. feto says:

    nice posting mas..thanks ya atas informasinya..:D

    silakan mampir yaa ke sini dan jika mau arikel menarik lainnya silakan berkunjung ke sini yaaa…

  2. Melon says:

    kalo ada tunnel mt ke mt terbentuk khusus webproxy ini apakah hanya memblok content exe dll dari internet atau dengan tunnel juga berlaku

Leave a Reply