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



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



  • anyone please?



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



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


Log in to reply