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

    Adding acls in squid

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 2 Posters 2.5k 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.
    • S
      shalib2
      last edited by

      How to add manual rules in squid ? i need to add a block rule for file types i have created a file like

      .[Ee][Xx][Ee]$
      .[Ee][Xx][Ee][??]$
      .[Aa][Vv][Ii]$
      .[Aa][Vv][Ii][??]$
      .[Mm][Pp][Gg]$
      .[Mm][Pp][Gg][??]$
      .[Mm][Pp][Ee][Gg]$
      .[Mm][Pp][Ee][Gg][??]$
      .[Mm][Pp]3$
      .[Mm][Pp]3[??]$
      .[Ww][Aa][Vv]$
      .[Ww][Aa][Vv][??]$
      .[Oo][Rr][Rr][Ee][Nn]$
      .[Oo][Rr][Rr][Ee][Nn][??]$

      and add

      acl blockfiles url_regex "/var/squid/acl/blocks.files.acl";
      http_access deny blockfiles;
      in squid custom options and restarted squid but squid not working, any idea??/

      1 Reply Last reply Reply Quote 0
      • S
        shalib2
        last edited by

        i got a solution to block file types using squidguard Destination -> expressions ->.mp3|.exe|.avi|.mpg|.mpeg|.mp4|.3gp

        its working fine :)

        1 Reply Last reply Reply Quote 0
        • E
          elf
          last edited by

          Can I block "https" domain please?

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.