squid autenticado (squid.conf - com autenticação)

Squid.conf com Autenticação

Categoria: Segurança

Software: squid autenticado

[ Hits: 12.839 ]

Por: Alysson Martins


Squid Autenticado .

com acesso total aos users netfull
bloqueio de palavras . Ex. sexo, orkut, etc
internet liberada pros users no almoço e ao final do expediente


acl password proxy_auth REQUIRED
acl password proxy_auth "/etc/squid/usuarios"

acl netfull proxy_auth "/etc/squid/netfull"
http_access allow netfull
acl palavras url_regex -i "/etc/squid/bloqueio_palavras"
http_access deny bloqueio_palavras 
acl almoco time MTWHF 12:00-14:00
acl fimdetrampo time MTWHF 19:00-22:00

#acl fileupload req_mime_type -i ^multipart/form-data$
#acl javascript rep_mime_type -i ^application/x-javascript$

#Recommended minimum configuration:
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      # https
acl SSL_ports port 563      # snews
acl SSL_ports port 873      # rsync
acl Safe_ports port 80      # http
acl Safe_ports port 21      # ftp
acl Safe_ports port 443      # https
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 631      # cups
acl Safe_ports port 873      # rsync
acl Safe_ports port 901      # SWAT
acl purge method PURGE
acl CONNECT method CONNECT

acl paginas url_regex -i "/etc/squid/paginas"
http_access allow password paginas
http_access deny all !almoco !fimdetrampo
  


Comentários

Nenhum comentário foi encontrado.


Contribuir com comentário

  



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts