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

    SquidGuard CIDR ranges

    Scheduled Pinned Locked Moved pfSense Packages
    5 Posts 3 Posters 2.1k 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.
    • pozoleroP
      pozolero Rebel Alliance
      last edited by

      Hi everyone, is there any chance to use CIDR ranges in target categories tab in squidguard?

      I need to use CIDR ranges, but i don't know if there is a chance to use them…

      Best regards.

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

        @pozolero:

        Hi everyone, is there any chance to use CIDR ranges in target categories tab in squidguard?

        I need to use CIDR ranges, but i don't know if there is a chance to use them…

        No. This is not supported for Target - only for Source.

        SquidGuardDoc EN  RU Tutorial
        Localization ru_PFSense

        1 Reply Last reply Reply Quote 0
        • pozoleroP
          pozolero Rebel Alliance
          last edited by

          Thanks a lot dvserg  :)

          1 Reply Last reply Reply Quote 0
          • N
            Nachtfalke
            last edited by

            Suggestion:
            If you connect to the target only with the IP address then you can perhaps do some "RegExp" for the IP range you would like to use.

            Lets say for subnet 80.10.10.0/24
            try to use:

            ^http://80\.10\.10\.[1-254]/
            

            I am no RegEx expert so this is probably wrong but the idea behind that could perhaps help you.

            1 Reply Last reply Reply Quote 0
            • pozoleroP
              pozolero Rebel Alliance
              last edited by

              @Nachtfalke:

              Suggestion:
              If you connect to the target only with the IP address then you can perhaps do some "RegExp" for the IP range you would like to use.

              Lets say for subnet 80.10.10.0/24
              try to use:

              ^http://80\.10\.10\.[1-254]/
              

              I am no RegEx expert so this is probably wrong but the idea behind that could perhaps help you.

              I'll try that.  I'm asking this because i need to let users access a range of network expressed in CIDR, via SquidGuard target categories tab…

              Thanks a lot Nachtfalke

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