julianderson
(usa Debian)
Enviado em 28/10/2010 - 19:32h
Robson eu fiz o que voce me pediu so que o proble e que a maquina cliente que um windows 7 ele pinga no servidor e vice-versa mais ele nao sai para a internet ele informa que nao e possivel encontrar o
www.microsoft.com.br
caso ele nao consegue sair
o que deve ser isso campeao
obrigado pela ajuda
este e meu arquivo squid.conf
######## CONFIGURACOES SQUID POLE POSITION #########
# criado em 10/09/2010
# Ultimas modificacoes tecnico responsavel:#
# 10/09/2010 julianderson pereira #
# >> Configuracoes Gerais <<
#_____________________________________________________________________________
# >> porta padrao <<
http_port 3128 transparent
# >> nome do servidor <<
visible_hostname pole-proxy
#-----------------------------------------------------------------------------
icp_port 0
hierarchy_stoplist cgi-bin?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 128 MB
maximum_object_size_in_memory 100 KB
maximum_object_size 6144 KB
minimum_object_size 0 KB
ipcache_size 1024
ipcache_low 90
ipcache_high 95
cache_replacement_policy lru
memory_replacement_policy lru
logformat squid %ts.%03tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/$<A %mt
cache_swap_low 90
cache_swap_high 95
cache_dir ufs /var/spool/squid3 3000 16 256
cache_access_log /var/log/squid3/access.log
cache_log /var/log/squid3/cache.log
cache_swap_log /var/spool/squid3/swap.log
cache_mgr ti@polemanaus.com.br
error_directory /usr/share/squid3/errors/Portuguese
coredump_dir /var/spool/squid3
refresh_pattern ^ftp: 15 20% 2280
refresh_pattern ^gopher: 15 0% 2280
refresh_pattern (cgi-bin|\?) 0 0% 0
refresh_pattern . 15 20% 2280
ie_refresh on
half_closed_clients off
httpd_suppress_version_string on
# >> INICIO das ACls <<
acl nocache dstdomain nfse.manaus.am.gov.br
acl redelocal src 192.168.0.0/255.255.255.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSl_ports port 443 563 # snews
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 # wains
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 Safe_ports port 407 # msn
acl Safe_ports port 25 # smtp
acl Safe_ports port 110 # pop
acl purge method PURGE
acl CONNECT method CONNECT
# << Ativando e Bloqueando MSN >>
acl msn url_regex -i gateway.dll
#acl ip_libera_msn src "/etc/squid3/ips_liberados_msn"
# << Ativando as ACls Personalizadas <<
# << ACls de Downloads Bloqueados/liberados <<
acl downloadsliberados url_regex -i "/etc/squid3/downloads.allow"
acl downloadsbloqueados url_regex -i "/etc/squid3/downloads.deny"
# << ACLS de Palavras bloqueadas >>
acl palavrasbloqueadas url_regex -i "etc/squid3/palavras.deny"
# << ACls de sites Bloqueados >>
acl sitesbloqueados url_regex -i "/etc/squid3/sites.deny"
# >> ACls dos grupos de acesso <<
acl diretoria src "/etc/squid3/ip.diretoria"
acl gerencial src "/etc/squid3/ip.gerencial"
acl funcionarios src "/etc/squid3/ip.funcionarios"
# << Ativando as ACls Padrão >>
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access allow localhost
# << Ativando o bloqueio e o acesso ao MSN >>
http_access deny msn
# << Ativando as ACls Personalizadas >>
http_access allow diretoria
http_access allow downloadsliberados
http_access deny downloadsbloqueados
http_access allow gerencial !sitesbloqueados
http_access deny palavrasbloqueadas
http_access allow funcionarios !sitesbloqueados !palavrasbloqueadas
http_access deny redelocal