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

    SquidGuard - Filtering multiple usernames in group ACL not working.

    Scheduled Pinned Locked Moved Cache/Proxy
    2 Posts 1 Posters 563 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.
    • R
      remzej
      last edited by

      I'm trying to filter multiple usernames and vouchers in our network using SquidGuard via Group ACL. I created a group for usernames and vouchers codes to be filter out and this is the settings created after saving the settings.

      # Access control for Guest
      src guest_users{
      	user   guest1
      	user   guest2
      	user   guest3
      	user   guest4
      	user   guest5
      	user   guest6
      	user   guest7
      	user   guest8
      	user   guest9
      	user   guest10
      	log block.log
      }
      

      The settings above doesn't work and bypasses other rules created. But when filtering multiples users by creating 1 rule for each user it works like the code below.

      # Access control for Guest1
      src guest1{
      	user   guest1
      	log block.log
      }
      
      [code]# Access control for Guest2
      src guest2{
      	user   guest2
      	log block.log
      }
      
      [code]# Access control for Guest3
      src guest3{
      	user   guest3
      	log block.log
      }[/code]
      
      I want to create only 1 rule for several users not 1 rule for each user to minimize the rules to be created. Anyone successfully created 1 rule to filter out multiple users?
      
      Thanks!
      [/code]
      
      1 Reply Last reply Reply Quote 0
      • R
        remzej
        last edited by

        looks like this is gonna be a manual process by editing the squidguard.conf manually but still won't work because we cannot edit the squidGuard.conf because it is generated automatically with SquidGuard configurator.

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