Mailinglist Archive: opensuse (3666 mails)

< Previous Next >
squid proxy config , need help
  • From: "Mohammad Fattahian" <admin@xxxxxx>
  • Date: Sun, 27 Mar 2005 10:35:44 +0330
  • Message-id: <20050327060605.E3AF81600782@xxxxxxxxxxx>
Hi all,



I want to configure my squid proxy server.



I have 4 ranges of IP address and the total bandwidth is 128kbps

I want to manage the bandwidth which:



Customer use: 128 kbps

Operator use: 64 kbps

Management use: 32 kbps

Development use: 16 kbps



How do I implement this scenario?

How do I have priority per subnet?



And the last question is that, if one client in customer subnet uses 128
kbps of bandwidth what happened for the other users?





acl customer src 192.168.1.0/255.255.0.0

acl operator src 192.168.2.0/255.255.0.0

acl management src 192.168.3.0/255.255.0.0

acl development src 192.168.4.0/255.255.0.0



delay_pools 4



delay_class 1 2

delay_class 2 2

delay_class 3 2

delay_class 4 2



delay_access 1 allow customer

delay_access 1 deny all



delay_access 2 allow operator

delay_access 2 deny all



delay_access 3 allow management

delay_access 3 deny all



delay_access 4 allow development

delay_access 4 deny all



delay_parameters 1 -1/-1 16000/16000

delay_parameters 2 -1/-1 8000/8000

delay_parameters 3 -1/-1 4000/4000

delay_parameters 4 -1/-1 2000/2000



Thanks for any guide.



< Previous Next >
Follow Ups