galera to ficando maluco, sou iniciante no linux, to com um Debian rodando aqui e apareceu um problema com a conectividade social da caixa, ai fui tentar resolver vendo alguns topicos, dai depois de algumas alterações agora não funciona mais outlook, msn, nem o conectividade social, se alguem puder ajudar agradeço.

Squid:

#Regras de autenticacao
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
auth_param basic children 5
auth_param basic realm Para obter uma senha contate o administrador de rede.
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
#Regras do Squid
http_port 3128 transparent
visible_hostname gateway.cocrioclaro.com.br
cache_dir ufs /var/cache/squid 3000 16 256
cache_access_log /var/log/squid/access.log
acl manager proto cache_object
acl grpacessorestrito proxy_auth "/etc/squid/grpacessorestrito"
acl grpacessointermediario proxy_auth "/etc/squid/grpacessointermediario"
acl grpacessototal proxy_auth "/etc/squid/grpacessototal"
acl bloqueios_url url_regex "/etc/squid/bloqueios_url"
acl liberados_url url_regex "/etc/squid/liberados_url"
acl blacklistspy url_regex "/etc/squid/blacklistspy"
acl video urlpath_regex .wmv$ .asf$ .mov$ .mpg$ .mpeg$ .avi$ .rmvb$
acl audio urlpath_regex .wav$ .mid$
acl risco urlpath_regex .exe$ .com$ .bat$ .scr$ .cpl$
acl all src 10.0.0.0/8
acl autenticados proxy_auth REQUIRED
acl messenger req_mime_type -i ^application/x-msn-messenger
http_access allow messenger
http_access allow grpacessototal
http_access deny bloqueios_url
http_access deny video
http_access deny audio
http_access deny risco
http_access allow grpacessointermediario
http_access deny blacklistspy
http_access allow grpacessorestrito
http_access allow autenticados
acl SSL_ports port 443 563
acl Safe_ports port 80 21 70 210 280 488 591 777
acl localhost src 127.0.0.1/32
acl CONNECT method CONNECT
http_access deny all
http_reply_access allow all
icp_access allow all



Iptables:

#! /bin/bash
iptables=/sbin/iptables
## LIMPA OS IPTABLES ##
iptables -F
iptables -t nat -F
## CARREGA OS MODULOS DOS IPTABLES ##
modprobe ip_tables
modprobe iptable_nat
## FECHA OS MODULOS DOS IPTABLES ##
## ATIVA ROTEAMENTO VIA KERNEL ##
echo 1 > /proc/sys/net/ipv4/ip_forward
## COMPARTILHANDO O ACESSO A INTERNET ##
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
## LIBERA A PORTA 22 SSH ##
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
## ACEITA NA REDE O IP INTERNO E EXTERNO ##
iptables -A INPUT -p tcp --syn -s 10.0.0.0/255.0.0.0 -j ACCEPT
iptables -A INPUT -p tcp --syn -s 127.0.0.1/255.0.0.0 -j ACCEPT
## FIM DE PROTOCOLOS ACEITOS NA REDE INTERNA ##
## SOCKETES VALIDOS ##
iptables -A INPUT -m state --state ESTABLISHED,RELATED,NEW -j ACCEPT
## PROXY TRANSPARENTE ##
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 3128
iptables -t nat -A PREROUTING -i eth1 -p udp --dport 80 -j REDIRECT --to-port 3128
#* importante , referente ao Proxy Transparente
## LIBERACAO PARA CONECTIVIDADE SOCIAL ##
iptables -t nat -A PREROUTING -i eth1 -p tcp -d ! 200.201.174.207 --dport 80 -j REDIRECT --to-port 3128
### REGRAS PARA RECEITANET ###
iptables -A FORWARD -p tcp --dport 8017 -i eth0 -d 0/0 -j ACCEPT
iptables -A FORWARD -p tcp --dport 3456 -i eth0 -d 0/0 -j ACCEPT
## REGRA PARA O TED - SINTEGRA ##
iptables -t nat -A PREROUTING -i eth1 -p tcp -d ! 200.199.34.27 --dport 8017 -j REDIRECT --to-port 3128
## FECHA TUDO ##
iptables -A FORWARD -p icmp -j DROP


O iptables não sei se é assim, mas quando criei ele, eu fiz o seguinte procedimento:

# touch /etc/init.d/iptables.conf
#chmod 775 /etc/init.d/iptables.conf

depois editei o arquivo e fiz o seguinte:

#cd /etc/rc2.d
#ln -s /etc/init.d/iptables.conf /etc/rc2.d/S99iptables.conf

to ficando maluco galera, ajudem ai...

Obrigado!