Tips Block Access to Downloads n Browsing at Mikrotik with Schedule

This is one personal note, where I got confused to block access to sites or download certain files and at certain hours. To do this blocking I use a web proxy in mikrotik OS.

The way that I do:

Create a nat rule for WebProxy
/ip firewall nat add chain=dstnat protocol=tcp dst-port=80 action=redirect to-ports=8080

enable webproxy-nya

ip web-proxy set enabled=yes

masukkan content yang ingin di blok

/ip web-proxy access add src-address=0.0.0.0/0 dst-address=0.0.0.0/0 url=*.facebook.com* action=deny comment=situs

Then create the script (system >> script)

Name : bmorning
Policy : write, read, policy (section checked)
Source:
/ip web-proxy access enable [/ip web-proxy access find comment=site]
Name : bnight
Policy : write, read, policy (section checked)
Source:
/ip web-proxy access disable [/ip web-proxy access find comment=site]

Create a scheduler time we want (system >> scheduler).

name=blockmorning
start-date=Jan/01/2010
start-time=08:30:00
interval=1d 00:00:00
on-event= morning

name=blocknight
start-date=Jan/01/2010
start-time=18:30:00
interval=1d 00:00:00
on-event= night

Well after that, then see aja result, the sites that we include them in the list on the web proxy will be blocked. If there are many sites or address or a file that we wish to block, then add on the list in WebProxy and given the same comment (in this case I use the comment = site), then at the same time all the existing sites would be blocked.

For example:

/ip web-proxy access add src-address=0.0.0.0/0 dst-address=0.0.0.0/0 url=*.youtube* action=deny comment=site
/ip web-proxy access add src-address=0.0.0.0/0 dst-address=0.0.0.0/0 url=*mpeg* action=deny comment=site
/ip web-proxy access add src-address=0.0.0.0/0 dst-address=0.0.0.0/0 url=*exe* action=deny comment=site

Popular Tags for the article:

Mikrotik HttpProxy, Mikrotik HttpProxy facebook, block facebook di mikrotik dengan web proxy, block youtube mikrotik, mikrotik block youtube, block youtube di mikrotik, mikrotik block facebook, how to block facebook on mikrotik, block download mikrotik, mikrotik scheduler, block download di mikrotik, block facebook mikrotik, blok ip di mikrotik, Mikrotik block facebook 2010, mikrotik Http Proxy

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • BlinkList
  • blogmarks
  • Blogosphere News
  • connotea
  • LinkaGoGo
  • LinkedIn
  • Live
  • MyShare
  • MySpace
  • RSS
  • StumbleUpon
  • Technorati
  • Webnews.de
  • Yahoo! Bookmarks
  • Yahoo! Buzz

Related posts:

  1. Tips Use Google Public DNS to Improve Browsing Speed
  2. Membuat Hotspot dengan Mikrotik
  3. Tips Block Certain Sites Through Linksys Router
  4. Tips To Reset Password Mikrotik Router
  5. Speed Up Your Wireless Internet Connection with Access Your Motorola Canopy

6 Responses to “Tips Block Access to Downloads n Browsing at Mikrotik with Schedule”

  1. Phoebe Clarke Says:

    For me, the best operating system is Linux because it rarely hangs.-:*

  2. Tyron Denholm Says:

    I suppose proxies absolutely interesting way to avoid Internet interferences especially when you live in a country at what ISPs block some sites networks…

  3. Sleep Aid : Says:

    Linux is still the best when it comes to stability and Windows for ergonomics:;~

  4. homepage werbung Says:

    Yes, it comes as a shocker to me, to pronounce discernible that some of those categorically popular and marvellously known websites are rally wordpress! Moral goes to lay you, how mythical of a blog publishing software wordpress really is! And past the relocate, that circle 11 million is staggering transfer sure!

  5. Nursery Decoration Says:

    there are many different operating systems but of course i would still prefer to use linux for stability ~;-

  6. free proxies Says:

    I will immediately seize your rss feed as I can’t find your email subscription link or e-newsletter service. Do you have any? Please permit me recognize in order that I could subscribe. Thanks.

Leave a Reply