Bom dia Fabrício, > Primeiro gostaria de saber como é a estrutura de entrada de seu link de > Internet aí?
Então, o meu squid está instalado no roteador o FreeBSD 6.2Pre, antes dele só tem o modem do Speedy, que é um Speedy Business com IP fixo (sem PPPoE), que entra na placa rl0, e a rede interna sai na placa rl1. > É algo assim: > > INTERNET---ROTEADOR----SQUID----CLIENTES > Seria algo assim: INTERNET---MODEM---ROTEADOR/SQUID---CLIENTES As minhas regras no pf.conf são: nat on $ext_if from $internal_net to any -> ($ext_if) rdr on $int_if inet proto tcp from any to any port www -> 127.0.0.1 port 3128 # Squid Proxy pass in on $int_if proto tcp from any to 127.0.0.1 port www keep state pass out on $ext_if proto tcp from any to any port www keep state -------------------- Tudo funciona normalmente. O único porem, é o MSN que depois de uma, meia hora conectado, desconecta sozinho. O meu squid.conf: http_port 3128 transparent hierarchy_stoplist cgi-bin ? acl QUERY urlpath_regex cgi-bin \? no_cache deny QUERY cache_mem 32 MB cache_swap_low 90 cache_swap_high 95 maximum_object_size 8192 KB minimum_object_size 0 KB maximum_object_size_in_memory 256 KB ipcache_size 2048 ipcache_low 80 ipcache_high 95 fqdncache_size 1024 cache_replacement_policy lru memory_replacement_policy lru cache_dir ufs /usr/local/squid/cache 256 32 512 cache_access_log /usr/local/squid/logs/access.log cache_log /usr/local/squid/logs/cache.log cache_store_log /usr/local/squid/logs/store.log emulate_httpd_log off log_ip_on_direct on mime_table /usr/local/etc/squid/mime.conf log_mime_hdrs off useragent_log /usr/local/squid/logs/useragent.log pid_filename /var/run/squid.pid client_netmask 255.255.255.255 dns_nameservers 200.204.0.10 200.204.0.138 hosts_file /etc/hosts refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern . 0 20% 4320 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 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 acl intranet src 172.18.9.0/24 http_access allow intranet http_access deny all cache_effective_user squid forwarded_for on coredump_dir /usr/local/squid/cache ------------------------------ Agredeço a ajuda Rafael Henrique Faria [EMAIL PROTECTED] ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd