helow everyone
i want to stop downloading some extension like mp3,mp4,3gp in my network
i tried all rules in firewall , layer7 , mangle but i can’t
please help
For example:
/ip firewall filter
add chain=forward action=drop dst-port=80 protocol=tcp place-before=0 content=".mp4" out-interace=WAN
This will drop all outgoing HTTP requests containing “.mp4”. You can fine-tune it to your needs and to consume less router CPU.
[admin@MikroTik] > /ip firewall filter
[admin@MikroTik] /ip firewall filter> add chain=forward action=drop dst-port=80 pr
otocol=tcp place-before=0 content=“.mp4” out-interace=WAN
expected end of command (line 1 column 86)
this shown , nothing happend
Replace WAN with name of your WAN interface in parameter out-interace=WAN.
What version of RouterOS you have?
5.24
I’ve tested this with 6.26 and it works as expected.
But remember that it only works for HTTP and not HTTPS!
I think he is stuck at WAN renaming…
![]()
Maybe in 5.24 there is different syntax? He should update.