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

    PfSense with Squid - How to Limit per IP, But No Limit on Cached Objects?

    Scheduled Pinned Locked Moved Traffic Shaping
    4 Posts 2 Posters 2.7k 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.
    • D
      dpa
      last edited by

      Hi there,

      Is there anyway I can apply limiter but not to the cached objects? I applied this rule on Lan interface:

      Download limit: 1mb
      Upload limit: 512kb

      But it is also affecting cached videos and files that are cached by squid.

      We've spent so many sleepless nights on this already, hope someone here can shed light on how to do it or is it possible.

      Thanks in advance!

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

        anyone please?

        1 Reply Last reply Reply Quote 0
        • I
          iservices
          last edited by

          you're giving very little information.

          It should work if the config is like this:

          client –>squid -->pfsense-->Internet

          if you've got a config

          client -->pfsense-->squid-->internet it'll never work,

          as the pfsense can't distinguish if the traffic is cached by the proxy!

          For better help give better information!

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

            @iservices:

            you're giving very little information.

            It should work if the config is like this:

            client –>squid -->pfsense-->Internet

            if you've got a config

            client -->pfsense-->squid-->internet it'll never work,

            as the pfsense can't distinguish if the traffic is cached by the proxy!

            For better help give better information!

            Hi there! Pardon me for the incomplete info. I am installing Lusca Squid package on my PfSense. Squid and Pfsense are in one machine.

            So are you saying that it will work if squid is on a separate machine?

            Thanks.

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