Pular para o conteúdo

FireWall (Squid.conf)

Esse Squid.conf é para versão Debian Stable 2.6 ou superior.
Arthur Alberto escuro
Hits: 16.835 Categoria: Segurança
  • Download
  • Indicar
  • Denunciar
Download Squid.conf

Esconder código-fonte

hierarchy_stoplist cgi-bin ?
cache_mem 256 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 4096 KB
cache_dir ufs /var/cache/squid/ 500 16 256
cache_access_log /var/log/squid/access.log
ftp_user Squid@

http_port 3128 transparent #ou xxx.xxx.xxx.xxx:3128
visible_hostname escuro.zapto.org
error_directory /usr/share/squid/errors/Portuguese

# ACLS
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 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
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
icp_access allow all


acl Sites url_regex  "/etc/squid/list/site"
http_access deny Sites
acl Palavras url_regex "/etc/squid/list/palavra"
http_access deny Palavras


http_access allow all
Nenhuma configuração encontrada.

pptpd (chap-secrets)

Squid (squid.conf)

sudo (sudoers)

Iptables (Firewall)

syslog (syslog.conf)

#1 Comentário enviado por adrianomds23 em 23/01/2008 - 16:52h
aie vc sabé o sereal shadowuser pro edition ? mim ajuda desde ja Obrigado
#2 Comentário enviado por guioximitsu em 08/12/2009 - 09:31h
Muito boa essa regra/script.
Obrigado por compartilhar...XD

Contribuir com comentário

Entre na sua conta para comentar.