Hello ,
I want to block video streaming but not the webpage is on
for example : if I’m entering CNN.com - I will be able to read the text - but when not to run the video
or even enter youtube but not to run the video
is it possible to do ?
do I need to run web proxy on the router for this ?
or can I do this with only firewall rules?
Thanks ,
Webproxy works only on HTTP - Youtube for example ir HTTPS! Encrypted traffic cant be filtered with webproxy!
You can try to find L7 filter!
can try mangle the packets and when the connection reaches some limit - for example 8MB then you can assume that is some streaming! Of course it can be also some simple file which is being downloaded!
just some directions to play around…
I have found this
/ip firewall layer7-protocol
add comment="" name=streaming regexp="videoplayback|video"
/ip firewall mangle
add action=mark-packet chain=prerouting comment="Mark Packet Streaming" disabled=no \
layer7-protocol=streaming new-packet-mark=streaming passthrough=no
/queue tree add name="streaming" parent=global packet-mark=streaming limit-at=0 queue=default \
priority=8 max-limit=128k burst-limit=0 burst-threshold=0 burst-time=0s
from my testing it’s working
the speed test is good - D:10M/U:5M
and when I enter youtube it doesn’t run the video (take a lot of time ) - very good
also from what I have seen it work on other sites - is it possiable?
Thanks ,