squid opensuse

1. squid opensuse

Perfil removido
removido

(usa Nenhuma)

Enviado em 27/11/2008 - 14:11h

boa tarde pessoal?
instalei o open suse 10.3
configurei o squid,criei as regras,
mas nao consigo inicializalo
alguem pode me ajudar?


  


2. squid

Perfil removido
removido

(usa Nenhuma)

Enviado em 27/11/2008 - 15:20h

http_port 3128
visible_hostname firewall.localhost.com.br
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

cache_mem 310 MB
cache_dir ufs /var/cache/squid 2000 16 256
maximum_object_size 820384 KB
minimum_object_size 0 KB
cache_swap_low 95
cache_swap_high 98

refresh_pattern . 0 2% 4320
refresh_pattern -i exe$ 0 50% 999999

error_directory /usr/share/squid/errors/Portuguese

acl all src 192.168.10.0/192.168.10.254
acl redelocal src 192.168.10.0/24
acl manager proto cache_object
acl HTTP proto http
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl smtp port 110
acl pop port 25
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 Safe_ports port 901 # Swat
acl CONNECT method CONNECT

#Diretoria
acl diretoria src 192.168.10.100

#Faturamento
acl faturamento src 192.168.10.102 192.168.10.103


#Arquivo com palavras liberadas (exemplo computa
acl noporn dstdom_regex "/etc/squid/regras/naoporno.txt"

#Arquivos com extencoes bloqueadas
acl extentions url_regex "/etc/squid/regras/extencao.txt"

#Arquivos com URLs bloqueadas (exemplo www.orkut.com)
acl urls url_regex "/etc/squid/regras/url.txt"

#Arquivo com palavras liberadas (exemplo [*****])
acl [*****] dstdom_regex "/etc/squid/regras/proibir.txt"

#Bloqueio de MSN
acl msn url_regex -i /gateway/gateway.dll?

http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow smtp
http_access allow pop
#http_access allow diretoria
#http_access allow faturamento ![*****] !extentions !msn
#http_access allow faturamento noporn

# Aqui voc� ir� definir o IP da sua rede interna
http_access allow localhost

http_access allow redelocal
http_access deny all

# Proxy Transparente
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts