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 557 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

      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 Reply Quote 0
      • J
        Jdwind @Jdwind
        last edited by

        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
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.