squid

1. squid

josival souza lima
lsjlima

(usa Debian)

Enviado em 22/06/2010 - 12:02h

Boa tarde...
To tentando usar o centOS 5.5 instalei e configurei o squid, mais qnd configuro o navegador em outro pc da erro (proxy ñ responde); sendo que pingo a conexão e está tudo ok.

squid:
http_port 3128
error_directory /usr/share/squid/errors/Portuguese/
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 128 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 5020 KB
minimum_object_size 0 KB
maximum_object_size_in_memory 20 KB
cache_dir ufs /var/spool/squid 1000 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
#ACLs padroes
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
acl rede_local src 192.168.0.0/24
#padroes
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow rede_local
http_access deny all
http_reply_access allow all
icp_access deny all
visible_hostname Proxy
coredump_dir /var/spool/squid

Se poderem me ajudar agradeço, (essa mesma configuração funciona blz no debian)


  


2. Re: squid

Renato Carneiro Pacheco
renato_pacheco

(usa Debian)

Enviado em 22/06/2010 - 14:52h

Se o proxy não responde, provavelmente o squid não subiu. Verifique isso rodando o squid dessa forma:

# squid -NCd1






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts