davison85
(usa CentOS)
Enviado em 18/05/2011 - 00:15h
################################################
Porta #####, ##### e Cache Nome
################################################
#
http_port 3128
Servidor visible_hostname
ERROR_DIRECTORY usr / share / squid / errors / Português /
#
cache_mem 722 MB
maximum_object_size_in_memory 64 KB
maximum_object_size 512 MB
minimum_object_size 0 KB
cache_swap_low 90
cache_swap_high 95
Refresh_pattern ^ ftp:15 20% 2280
refresh_pattern ^ gopher: 15 0% 2280
refresh_pattern. 15 20% 2280
#
################################################
Log ##### #####
################################################
#
cache_access_log var / log / squid / access.log
cache_store_log var / log / squid / store.log
cache_log / var / squid / logs / cache.log
cache_dir ufs / var / spool / squid 40000 16 256
#
################################################
ACLs ##### #####
################################################
#
src 192.168.1.0/24 acl todos
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
###############################################
SSL_ports # # # # # # # #
###############################################
acl SSL_ports porta https # 443 + msn + skype + SERPRO (linux)
SSL_ports acl comando Rede porta 465 #
Acl SSL_ports port # 563
SSL_ports acl porta 631 # copos
Acl SSL_ports port # 10000 Webmin
# # Safe_ports
Acl Safe_ports port 20 # ftp-data
21 acl Safe_ports port # ftp
Http acl Safe_ports # 80 porto
Acl Safe_ports port 86 # http autenticacao rápida
Acl Safe_ports port 400 # Atualizacao Ubuntu
porta https acl Safe_ports # 443 + msn + skype + SERPRO (linux)
Acl Safe_ports smtp porta a porta 465 # perspectivas
porta https acl Safe_ports 500 # + portal de ensino EB
porta 503 acl Safe_ports
563 acl Safe_ports port #
Acl Safe_ports port 631 # copos
Acl Safe_ports port 2710 50677 # torrent
Acl Safe_ports port 995 # outlook pop3
Acl Safe_ports port 5000-5010 # Yahoo Messenger
Acl Safe_ports port 5060 # VOIP TelExtreme (liberado Rede parágrafo do CTA)
Acl Safe_ports port # MSN 5190
Acl Safe_ports port 5222 # Discussão google / ejjaberd
6891-6901 acl Safe_ports port # MSN
Acl Safe_ports port 6881-6889 # bitttorent
porta acl Safe_ports 1360-1380
porta acl Safe_ports # 8000 Diversos sites
Acl Safe_ports port 8080 # Diversos sites
porta acl Safe_ports 8081-8090 # COMPESA
Acl Safe_ports port 8999 # Sites Serpro
Acl Safe_ports port # 10000 Webmin
Acl Safe_ports port # 13000-13100 DGP
Acl Safe_ports port # 13353 Módulo E1
porta acl Safe_ports # 20000 Correio Web
porta acl Safe_ports 31773
Acl Safe_ports port # 5000 vpn
Acl Safe_ports port 4662 # 01 aMule xD
Acl Safe_ports port 4672 # 02 aMule xD
PURGE método acl purge
CONNECT acl CONNECT método
#
################################################
# # CONTROLE DE BANDA # #
################################################
#
# COM UMA Crie acl como extens.es Que ser.o Aplicadas o Filtro
# Ftp acl download url_regex-i.. Mov mpeg. Wav. Alcatrão. Mp3.. Exe zip. Rar
# Crie outra acl com os IPs OS aplicados ser.o que. Regra
bandaFull acl src "/ etc / squid / bandaFull"
bandaClientes acl src "/ etc / squid / bandaClientes"
delay_pools 2
# Que Significa Teremos Dois Controles de banda
# Controle Primeiro
delay_class 1 2
# -1/-1 Que Significa não Teremos parágrafo Limites uma piscina de atraso 1
delay_parameters 1 -1/-1 -1/-1
delay_access 1 permitem bandaFull
# Controle Segundo
delay_class 2 2
# Limitações um parágrafo banda SUA 512 bits
delay_parameters 2 90000/90000 90000/90000
delay_access 2 permitem bandaClientes
#
acl redelocal src 192.168.10.0/24
http_access allow localhost
http_access allow redelocal
#
http_access deny all