SquidGuard - Filtering multiple usernames in group ACL not working.



  • 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]
    


  • 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.


Log in to reply