How to filters MIME types, block audio, video

How to filters MIME types, block audio, video?

Thank you

1 Like

Hi @Ya_Ley in the module content filters you can do.


1 Like

Hi Jose
Thank you so much
If I add file extension like a .FLV .MPEG .WMV .MOV .mp3 .mp4 and ete… , it means, Block Multimedia Streaming (website movies online ) ?

Indeed if to open a link that plays a video in flv format, mpg and these extensions are blocked should not open.

you’re welcome @Ya_Ley

1 Like


Here is my list of blocked file extension


But I can not block some website video


What kind of extension that they used?


@Ya_Ley these pages and should be blocked, are pornos pages, I can not find the logic, to leave non-blocking, and only block the extensions of your videos

You check if you have this selected this option in each web content filter?



I am edit and add some parameters in file configure squidGuard.conf and
file /var/squidGuard/blacklists/custom/builtin/expressions by manual
and next day the config files were roll back to default as I was configure in Nethserver web interface. How to fix ?


Hi Friend,

Before making manual changes, make a backup of the original file. Then it executes:

signal-event nethserver-squidguard-save



you mean, first executes the command " signal-event nethserver-squidguard-save" and then making manual changes, after that the config files “squidGuard.conf” and file in “/var/squidGuard/blacklists/custom/builtin/expressions” won’t be rollback again, right?

anyway, about filters file “.mp3” some website can be bypass filters(can listens and download file mp3)
just sample for website, not promote:



First edit the file and then execute the command

You are editing the file using vi?


Yes, vi
For the command “signal-event nethserver-squidguard-save” ,it is not work( I edited the files and run the command and restart services, then checking the files, it is lose all parameters that I added.

You can send us your edits?

vi /var/squidGuard/blacklists/custom/builtin/expressions

(proxy|Proxies|free proxy|vpn|VPN|bypass|web anonymously)

Check this template.



Thank you so much

For template. /etc/e-smith/templates/etc/squid/squidGuard.conf/40src
How to edit to external LDAP profile
src src_staffprofile {
ldapusersearch ldap://xx.xx.xx.xx/cn=…)

a question, the case of expressions resolved?

ns joined to an AD?

No, openldap

It is the same topic

Yes , but no one answer with clearly like you

1 Like