K’s weblog…

Limitando la cantidad de conexiones en SQUID

by K on Sep.28, 2005, under Linux, Principal, Tutoriales

Un ejemplo de limitar la cantidad de conexiones web en el proxy sería asi:
en el /etc/squid/squid.conf
agregar algo asi (asumiendo que ya el grupo lan corresponde a la configuracion del squid):

acl lan 192.168.0.0/24
acl numbercon maxconn 5
# — otras ACL —#

http_access deny lan numbercon
# — otros elementos http_access deny—-#
http_access lan allow

http_access deny all

Le mandas un restart al squid y listo.

service squid restart

PD: sacado de la documentación de SQUID y de Red Hat Magazine

Comments are closed.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...