• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

SquidGuard block files by extension

Scheduled Pinned Locked Moved Cache/Proxy
2 Posts 1 Posters 565 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    Jdwind
    last edited by Sep 16, 2021, 2:09 AM

    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.

    J 1 Reply Last reply Sep 16, 2021, 7:38 AM Reply Quote 0
    • J
      Jdwind @Jdwind
      last edited by Sep 16, 2021, 7:38 AM

      EDIT:
      This part "(./..(rar|mp3|exe|vpu))" doesn't work, rest of settings, i.e. radio|teamviewer works fine, sites are blocked.

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received