Professional Documents
Culture Documents
Home
MIKROTIK HOW TO
Mikrotik Network Tutorial | Mikrotik How To | Laern
Mikrotik
Home / mikrotik firewall / Restricts and Limiting Video Streaming with Mikrotik Popular Posts
Restricts and Limiting Video Streaming with Mikrotik Mikrotik MTCNA Sample Exam Chapter III
1. Two hosts, A and B, are connected to a broadcast
Posted by Ragam Kuliner Monday, June 18, 2012 1 comments LAN. Select all the answers showing pairs of IP
address/mask which would allow IP c...
If you have a proxy server, you can restrict video streaming access using access control list or using
contents filtering program such as squidGuard, DansGuardian, etc. But there are many websites with Mikrotik MTCNA Sample Exam Chapter I
embedded video that has not been filtered yet. Mikrotik can help you overcome this problem and 1. Action=redirect is applied in A. chain=srcnat B.
restrict access to embedded streaming video with ease. chain=dstnat C. chain=forward 2. You have 802.11b/g
wireless card. What frequenc...
Mikrotik MTCNA Sample Exam Chapter II
1. If you need to make sure that one computer in your
HotSpot network can access the Internet without
HotSpot authentication, which men...
Tunning Wireless Interface To Increase Throughput
Tunning Wireless Interface To Increase Throughput To
increase the troughput of the mikrotik wireless link, i
have did this way. Enter in...
Mikrotik Layer 7 Firewall Setup
Restrict bandwidth usage for embedded video streaming Mikrotik Layer 7 Firewall Setup Layer 7 is the
application layer of the OSi system model and allows
You can use the following script to limit bandwidth usage for sites that embedding video streaming such
the Mikrotik router to analyze each a...
YouTube, Metacafe, Tube8, etc. I’m personally already tested this script and works fine.
The scenario is using mikrotik builtin Layer7 Protocol to detects embedded video streaming on any Mikrotik Load Balancing With NTH For 3 Line
websites, marking the data packets, then defining bandwidth limit using Simple Queue rule. Internet Source
First, add a video content filter at Layer7 protocol: This is my firewall mangle, Nat, and Routing Rules for
Load Balance with NTH metod at mikrotik 3.x. With This
Rules, we can optimize if we ...
/ip firewall layer7protocol add name=httpvideo regexp="http/(0.9|1.0|1.1)[x09x0d ][15][09][09] Mikrotik + Squid Web Proxy
[x09x0d ~]*(contenttype: video)" Mikrotik + Squid Web Proxy Ip Addrees Configuration :
1. IP Mikrotik: 192.168.10.15 = to local 192.168.12.15
= to squid proxy ...
Second, marking data packets using firewall mangle:
Powered by Blogger.
/ip firewall mangle add action=markpacket chain=prerouting comment="httpvideo markpacket"
disabled=no layer7protocol=httpvideo newpacketmark=httpvideo passthrough=no
Then finally, add new rule in simple queue to limit bandwidth usage for httpvideo packets (in this
example, download for embedded video streaming was capped at 64kbps, you can define this to suite
your needs).
/queue simple add maxlimit=0/64000 name=httpvideo packetmarks=httpvideo
Blocking embedded video streaming with mikrotik
We previously able to apply bandwidth restrictions for embedded streaming video, how about block any
http://mikrotikz.blogspot.com/2012/06/restricts-and-limiting-video-streaming.html 1/3
5/21/2015 Restricts and Limiting Video Streaming with Mikrotik | Mikrotik How To
embedded streaming videos so clients will not able to play embedded video streaming. In this scenario,
any websites that is embedding streaming video can still be accessed and browsed as usual, but when
playing streaming video, it will not be in loaded at all.
This useful when implemented at the office environment, where users can browse internet, but cannot
watch video streaming at all :)
The scenario is similar as above, but with a little adjustment : all embedded video streaming packets
will be dropped.
First, add a video content filter at Layer7 protocol:
/ip firewall layer7protocol add name=httpvideo regexp="http/(0.9|1.0|1.1)[x09x0d ][15][09][09]
[x09x0d ~]*(contenttype: video)"
Second, marking data packets using firewall mangle:
/ip firewall mangle add action=markpacket chain=prerouting comment="httpvideo markpacket"
disabled=no layer7protocol=httpvideo newpacketmark=httpvideo passthrough=no
Finally, drop all httpvideo packets :)
/ip firewall filter add action=drop chain=forward comment="httpvideo blocking" packetmark=http
video
Just give a try : open any video on Youtube, and see what happens. All videos should not able to
loaded properly since the data packets is dropped at mikrotik firewall.
(fazar.net)
Categories: firewall, layer 7 protocol, mangle, mikrotik firewall
If You Like This Post, Share it With Your Friends
1 comments:
Sanket Bijlani said...
what is the configuration if we want to allow some users to watch streaming video??
June 3, 2014 at 2:11 PM
Post a Comment
Enter your comment...
Publish Preview Notify me
http://mikrotikz.blogspot.com/2012/06/restricts-and-limiting-video-streaming.html 2/3
5/21/2015 Restricts and Limiting Video Streaming with Mikrotik | Mikrotik How To
mikrotik wireless (5) ▼ 2012 (15)
router mikrotik (8) ► July (1)
routerboard (17) ▼ June (4)
wireless (13) Mikrotik New Product
RB2011L
Restricts and Limiting Video
Streaming with Mikrot...
Mikrotik RouterBoard RB800
Review
Mikrotik V5.17 Router OS
Release
► May (2)
► March (1)
► February (3)
► January (4)
► 2011 (38)
► 2010 (14)
Copyright © Mikrotik How To. All rights reserved.
http://mikrotikz.blogspot.com/2012/06/restricts-and-limiting-video-streaming.html 3/3