SquidGuard block files by extension
-
Hi, how can I set SG to blocking files downloads by extensions, i.e. .exe .mp3? From documentations I tried like this:
(.*\/.*\.(asf|wm|wma|wmv|zip|rar|cab|mp3|avi|mpg|swf|exe|mpeg|mp.|mpv|mp3|wm.|vpu))
and it's not work. Tried this:
(.*\/.*\.(rar|mp3|exe|vpu))|mail|teamviewer|radio|player|wallpaper|\.rsdf$
and not work, but few month's ago worked fine.
-
EDIT:
This part "(./..(rar|mp3|exe|vpu))" doesn't work, rest of settings, i.e. radio|teamviewer works fine, sites are blocked.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.