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

    How can i add manual ACL in SquidGuard

    pfSense Packages
    2
    2
    3.2k
    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
      jagnikam
      last edited by

      Hi all ,
      I have Just installed Ipsence, squid & squidGuard & authenticated it by LDAP. Everything is fine but only the security issue. i wanted to devide users in three category 1) freckout users- who have full access 2) Devlopers:- who have limited access, for them i wanna to block porn, Games, unofficial Mail accounts, video sites, yahoo, MSN, or any other sites where they can waste there time 3) normal users :- who have only three to four domain access.

      previously we were using freebsd + pf firewall + squid +squidGuard + LDAP…......there as i mentioned above everything works fine....................... but now wants to move to pfsence

      we added code like this in our previous squidGuard to allow group based access

      source freakout-users {
              userlist /users/conf/squid/freakout-users
      }

      source teamlead-users {
              userlist /users/conf/squid/teamlead-users
      }

      acl {

      freakout-users {
              pass    any
          }
          teamlead-users {
              pass !adv !aggressive !chat !dating !drugs !gamble !hacking !hobby/games !imagehosting !isp !models !movies !music !podcasts !politics !porn !redirector !ringtones !sex/lingerie !socialnet !spyware !violence !warez !weapons !webmail !webphone !webradio !webtv any
              redirect http://192.168.0.3/blocked.php?clientaddr=%a&clientname=%n&clientident=%i&srcclass=%s&targetclass=%t&url=%u
          }
          default {
              pass  allowedsites none
              redirect http://192.168.0.3/blocked.php?clientaddr=%a&clientname=%n&clientident=%i&srcclass=%s&targetclass=%t&url=%u
          }
      }

      How can i add this to squidGuard under PFSENSE ..........? so any assistance would be greatly appreatiated

      1 Reply Last reply Reply Quote 0
      • D
        dvserg
        last edited by

        In current version only modify '/usr/local/pkg/squidguard_configurator.inc' file. Current version not supported Users option, but in near time mabe added

        SquidGuardDoc EN  RU Tutorial
        Localization ru_PFSense

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