Netgate SG-1000 microFirewall

Author Topic: Need Help Configuring Limiters with Squid Proxy  (Read 242 times)

0 Members and 1 Guest are viewing this topic.

Offline tman222

  • Jr. Member
  • **
  • Posts: 63
  • Karma: +6/-0
    • View Profile
Need Help Configuring Limiters with Squid Proxy
« on: October 22, 2017, 12:18:13 pm »
Hi all,

I have got bandwidth limiters configured on a guest network, but since this network also has Squid configured on it (in transparent mode), the limiters aren't always respected (sometimes they work, sometimes they don't).  It seems that I'm having the same issue as was described here:

https://forum.pfsense.org/index.php?topic=132960.0

I'm curious if someone could help with the right steps to get limiters to work on the guest network.  It seems to me that I somehow need to limit the traffic from the proxy (through e.g. firewall rules) vs. just limiting traffic originating on the guest network (before it hits the proxy). 

Thanks in advance for your help, I really appreciate it.

Offline Harvy66

  • Hero Member
  • *****
  • Posts: 2209
  • Karma: +204/-12
    • View Profile
Re: Need Help Configuring Limiters with Squid Proxy
« Reply #1 on: October 24, 2017, 09:11:02 am »
I don't understand why you want to limit the speed between the proxy and the client. That's all free internal fast bandwidth. What you really want is to limit between the proxy and the internet so your proxy doesn't consume all of your internet bandwidth.

Offline tman222

  • Jr. Member
  • **
  • Posts: 63
  • Karma: +6/-0
    • View Profile
Re: Need Help Configuring Limiters with Squid Proxy
« Reply #2 on: October 24, 2017, 05:41:58 pm »
I don't understand why you want to limit the speed between the proxy and the client. That's all free internal fast bandwidth. What you really want is to limit between the proxy and the internet so your proxy doesn't consume all of your internet bandwidth.

Thanks Harvy66, you are exactly right.  I realized I have the limiter setup incorrectly by limiting bandwidth to the proxy vs. limiting the proxy bandwidth to the internet.  Could you (or anyone else) provide me with some help/instructions on how to limit the proxy bandwidth to the internet?  I'm not quite sure what set of rules I need to create to accomplish this.

Thanks again for all your help.

Offline tman222

  • Jr. Member
  • **
  • Posts: 63
  • Karma: +6/-0
    • View Profile
Re: Need Help Configuring Limiters with Squid Proxy
« Reply #3 on: October 26, 2017, 12:19:18 pm »
Hi all - I'm curious if anyone had any idea how to configure this?  Is there a way to create a firewall rule that uses as its source the Squid Proxy and then apply the limiters to that rule?  I know Squid allows you to set a maximum download bandwidth in the configuration options, but how about upload?

Thanks again for all your help.