<DIV>Hi Srs</DIV>
<DIV>I have a linux like a bridge</DIV>
<DIV>&nbsp;</DIV>
<DIV>LAN&nbsp; - BRIGE -ROUTER</DIV>
<DIV>The bridge has a ip ( non public IP)</DIV>
<DIV>The bridge is working fine but y need to set up the Squid on the same machine where is installed the BRIDGE.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I was looking for the answers and say:</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Times New Roman" size=3>
<P align=left>httpd_accel_host virtual </P>
<P align=left></FONT><FONT face="Times New Roman" size=3>httpd_accel_port 80 </FONT><FONT face=Symbol size=3></P></FONT><FONT face="Times New Roman" size=3>
<P align=left>httpd_accel_with_proxy on </FONT><FONT face=Symbol size=3></P></FONT><FONT face="Times New Roman" size=3>
<P align=left>httpd_accel_uses_host_header on</P>
<P align=left>&nbsp;</P>
<P align=left>and put this rules with iptables</P><FONT face="Times New Roman" size=3>
<P align=left>iptables &#8722;t nat &#8722;A PREROUTING &#8722;i eth0 &#8722;p tcp &#8722;&#8722;dport 80 &#8722;j REDIRECT&nbsp; &#8722;&#8722;to&#8722;port 3128</P>
<P align=left>eth0 go to Router</P>
<P align=left>eth1 go to LAN</P><FONT face="Times New Roman" size=3>
<P align=left>iptables &#8722;A INPUT &#8722;i </FONT><B><FONT face="Times New Roman" size=3>interface </B></FONT><FONT face="Times New Roman" size=3>&#8722;p tcp &#8722;d </FONT><B><FONT face="Times New Roman" size=3>your_bridge_ip </B></FONT><FONT face="Times New Roman" size=3>&#8722;s </FONT><B><FONT face="Times New Roman" size=3>local&#8722;network </B></FONT><FONT face="Times New Roman" size=3>&#8722;&#8722;dport 3128 &#8722;m state</P>
<P align=left>&#8722;&#8722;state NEW,ESTABLISHED &#8722;j ACCEPT</P></FONT>
<P align=left>(replace interface by eth1 LAN)</P>
<P align=left>But it don't work because i see the /var/log/squid/access.log and not see anything</P>
<P align=left>Thank in advance for your help</P>
<P align=left>juan</P>
<P align=left>&nbsp;</P>
<P align=left>&nbsp;</P>
<P align=left>&nbsp;</P>
<P align=left>&nbsp;</P></FONT></FONT></DIV><p>
        
                <hr size=1>Do you Yahoo!?<br> 
Check out the new Yahoo! Front Page. <a href="http://www.yahoo.com">www.yahoo.com</a>