<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2995" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Pessoal quando eu faço o proxy... estou tendo que 
configura-lo manualmente em cada cliente, ele nao fica transparente</FONT></DIV>
<DIV><FONT face=Arial size=2>Se alguém puder me ajuda... estou enviando o 
arquivo de config</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Obrigado!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><FONT face="Courier New" 
size=2>#Config Iptables para squid<BR><BR>#/sbin/modprobe 
iptables_nat<BR>iptables -F<BR>iptables -t nat -F<BR>iptables -P INPUT 
DROP<BR>iptables -t nat -A PREROUTING -s 0/0 -p tcp --dport 80 -j REDIRECT 
--to-port 3128<BR>iptables -t nat -A PREROUTING -s 0/0 -p udp --dport 80 -j 
REDIRECT --to-port 3128<BR>visible_hostname patrick # Nome do 
computador</FONT><BR></P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><FONT face=Arial 
size=2></FONT> </P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><FONT face=Arial 
size=2></FONT> </P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><FONT face=Arial 
size=2>#Config Squid.conf</FONT></P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><FONT face=Arial 
size=2></FONT> </P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><FONT face="Courier New" 
size=2>http_port 192.168.1.1:3128<BR>hierarchy_stoplist cgi-bin ?<BR>cache_mem 
100 MB<BR>cache_swap_low 100<BR>cache_swap_high 95<BR>maximum_object_size 4096 
KB<BR>#cache_dir ufs /var/cache/squid 1000 16 256<BR><BR>acl all src 
0.0.0.0/0.0.0.0<BR>acl manager proto cache_object<BR>acl HTTP proto http<BR>acl 
localhost src 127.0.0.1/255.255.255.255<BR>acl SSL_ports port 443 563<BR>acl 
Safe_ports port 80 # http<BR>acl Safe_ports port 21 # ftp<BR>acl smtp port 110 
#<BR>acl pop port 25 #<BR>acl Safe_ports port 443 563 # https, snews<BR>acl 
Safe_ports port 70 # gopher<BR>acl Safe_ports port 210 # wais<BR>acl Safe_ports 
port 1025-65535 # unregistered ports<BR>acl Proibir_palavras url_regex -i 
"/etc/squid/palavras/palavras.txt" #txt onde estão as palavras a bloquear<BR>acl 
libera_site url_regex -i "/etc/squid/palavras/libera.txt<BR>acl libera_ip src 
192.168.1.3/255.255.255.255<BR><BR><BR># Bloquear MSN<BR>acl HOST_MSN src 
192.168.1.1/255.255.255.0<BR>acl proibir_msn url_regex -i 
"/etc/squid/palavras/msn.txt"<BR>acl NEGAR_MSN2 url_regex 
"/etc/squid/palavras/msn2.txt"<BR>acl msn url_regex -i 
/gateway/gateway.dll<BR><BR><BR><BR>acl Safe_ports port 280 # http-mgmt<BR>acl 
Safe_ports port 488 # gss-http<BR>acl Safe_ports port 591 # filemaker<BR>acl 
Safe_ports port 777 # multiling http<BR>acl Safe_ports port 901 # SWAT<BR>acl 
purge method PURGE<BR>acl CONNECT method CONNECT<BR><BR>#http_access allow 
libera_ip<BR>#http_access allow libera_site<BR>#http_access deny 
all<BR>http_access allow manager localhost<BR>http_access deny 
manager<BR>http_access allow purge localhost<BR>http_access deny 
purge<BR>http_access deny !Safe_ports<BR>http_access deny CONNECT 
!SSL_ports<BR><BR>#Bloqueio MSN<BR>#http_access allow HOST_MSN <BR>#http_access 
deny proibir_msn<BR>#http_access deny Negar_MSN2<BR>#http_access deny 
msn<BR><BR><BR>visible_hostname patrick # Nome do computador<BR>http_access 
allow smtp<BR>http_access allow pop<BR>http_access deny 
Proibir_palavras<BR><BR><BR>acl redelocal src 192.168.1.0/24 # IP da sua 
Rede<BR>http_access allow localhost<BR>http_access allow 
redelocal<BR><BR>http_access allow all</FONT><BR></P></DIV></BODY></HTML>