Ir ao conteúdo
  • Cadastre-se

PROXY SQUID - squid.conf


Sammy_Sam

Posts recomendados

OLá Galera,

Instalei o squid aqui na LAN HOUSE da empresa só que não consigo colocar restrições de acesso a site pornográfico, ja fiz vários testes e olhei alguns tutorias mais quando coloco a restrição não funcionai..eu to usando o squid pra Windows PRO..minha faixa de IP aqui é 192.168.0.1 á 192.168.0.29

Esse é o arquivo de configuração do squid q tenho..

squid.conf

## By Flay Corporation ##

http_port 3128

visible_hostname flay.com.br

cache_mgr **********

hierarchy_stoplist cgi-bin ?

acl QUERY urlpath_regex cgi-bin \?

no_cache deny QUERY

cache_memória64 MB

cache_swap_low 90

cache_swap_high 95

maximum_object_size_in_memory 64 KB

maximum_object_size 3 MB

cache_dir ufs /squid/var/cache 1000 16 256

access_log /squid/var/logs/access.log squid

cache_log /squid/var/logs/cache.log

cache_store_log /squid/var/logs/store.log

mime_table /squid/etc/mime.conf

pid_filename /squid/var/logs/squid.pid

unlinkd_program /squid/libexec/unlinkd.exe

icon_directory /squid/share/icons

error_directory /squid/share/errors/Portuguese

coredump_dir /squid/var

refresh_pattern ^ftp: 1440 20% 10080

refresh_pattern ^gopher: 1440 0% 1440

refresh_pattern . 0 20% 4320

acl all src 192.168.0.1/24

acl manager proto cache_object

acl localhost src 127.0.0.1/32

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 # https

acl Safe_ports port 70 # gopher

acl Safe_ports port 210 # wais

acl Safe_ports port 1025-65535 # portas não-registradas (> 1024)

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 443 563 # https, snews

acl CONNECT method CONNECT

acl dstdomain_egex .orkut.com.br

acl servidor src 192.168.0.1

http_access allow servidor

acl redelocal src 192.168.0.0/24

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 deny CONNECT !SSL_ports

http_access allow redelocal

http_access deny all

acl messenger url_regex -i /gateway/gateway.dll

http_access allow messenger

dns_testnames google.com.br netscape.com yahoo.com

acl limited url_regex -i .exe .mp3 .vqf .tar.gz .gz .rpm .zip .rar .avi .mpeg .mpe .mpg .qt .ram .rm .iso .raw .wav .mov .iso .rmvb

## By Flay Corporation ##

## End ##

************

PESSOAL ELE TA DESSE JEITO E não CONSIGO COLOCAR AS RESTRIÇÕES, SE ALGUÉM PODER ME AUXILIAR ONDE DEVO COLOCAR AS RESTRIÇÕES EU AGRADEÇO.

valeu

Link para o comentário
Compartilhar em outros sites

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

Sobre o Clube do Hardware

No ar desde 1996, o Clube do Hardware é uma das maiores, mais antigas e mais respeitadas comunidades sobre tecnologia do Brasil. Leia mais

Direitos autorais

Não permitimos a cópia ou reprodução do conteúdo do nosso site, fórum, newsletters e redes sociais, mesmo citando-se a fonte. Leia mais

×
×
  • Criar novo...

 

GRÁTIS: ebook Redes Wi-Fi – 2ª Edição

EBOOK GRÁTIS!

CLIQUE AQUI E BAIXE AGORA MESMO!