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

    Squidguard on schedule problems

    Scheduled Pinned Locked Moved pfSense Packages
    6 Posts 5 Posters 4.0k 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
      spillek
      last edited by

      After several days of testing and topic reading, I was not able to block facebook in work time e leave in lunch pause.., should be a simple matter for a firewall !!

      • With squidguard the timer work only when I manually "apply" in the squid General Setting, as like right now, fb should be blocked (by time) but it is not, and if I do apply then site in block!
      • With Firefox need cler cache every time otherwise don't go on fb also in free time, (I changed repsonse into 302/1 in squidguard.inc!)
      • I can't block https facebook page !

      I just want to block facebook in work time, because it's so complicated?
      where you can find easy instructions for doing this in pfSense 2 rc3?

      post my configuration pictures, bye

      1 Reply Last reply Reply Quote 0
      • chpalmerC
        chpalmer
        last edited by

        I just successfully blocked access using outgoing firewall rules on 66.220.144.0/21  and 69.171.224.0/20

        Maybe you could do that and use scheduled rules instead of Squid until someone comes along with Squid knowledge which I dont have…

        Triggering snowflakes one by one..
        Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

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

          Possible that pfSense have this problem? none have solved? none have doing block facebook in worktime with squidguard or normal rule?

          1 Reply Last reply Reply Quote 0
          • K
            kalu
            last edited by

            i do agree too

            i love pfsense because i love open source.

            1 Reply Last reply Reply Quote 0
            • A
              adolfo_rodrigues
              last edited by

              Dudes, here is how to add block rules in squid:

              1-squidguard->Target Categories-> create a rule:

              In Expressions, you can put lots of keywords to block, using "|" as a separate expressions.

              For my case, I put: facebook|orkut|….

              Give it a name, and save.

              2-squidguard->times->create a rule:


              http://www.flickr.com/photos/77417243@N02/6792162680/

              This example is based on my work hours.

              3-squidguard->grups acl->create a rule:

              You need to put  Client (Source), choose Time (previously added), then choose the rule basics (1st Target Categories->deny then offline->allow)


              http://www.flickr.com/photos/77417243@N02/6938277891/

              4-squidguard->commonAcl->edit rule:


              http://www.flickr.com/photos/77417243@N02/6938278189/

              5-squidguard->generalsettings->apply!!

              There, you are good to go!

              Just remember that every time you edit anything inside of any rule, go back to step 5 and hit Apply.

              Hope it helps  :D

              1 Reply Last reply Reply Quote 0
              • P
                phil.davis
                last edited by

                I have looked at adolfo screen shots. My ALIX nanobsd 2.0.1 system has all the same way of trying to do this. But it just doesn't change the rules as the time changes. If I restart SquidGuard when I get to the different time period, it happily implements the new rules. Then the rules for the new time seem to apply forever. At the weekend I can try this on 2.1 development on a spare ALIX system and see what hapeens.

                As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

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