<DIV>Hi Srs</DIV>
<DIV>I have a linux like a bridge</DIV>
<DIV> </DIV>
<DIV>LAN - 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> </DIV>
<DIV>I was looking for the answers and say:</DIV>
<DIV> </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> </P>
<P align=left>and put this rules with iptables</P><FONT face="Times New Roman" size=3>
<P align=left>iptables −t nat −A PREROUTING −i eth0 −p tcp −−dport 80 −j REDIRECT −−to−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 −A INPUT −i </FONT><B><FONT face="Times New Roman" size=3>interface </B></FONT><FONT face="Times New Roman" size=3>−p tcp −d </FONT><B><FONT face="Times New Roman" size=3>your_bridge_ip </B></FONT><FONT face="Times New Roman" size=3>−s </FONT><B><FONT face="Times New Roman" size=3>local−network </B></FONT><FONT face="Times New Roman" size=3>−−dport 3128 −m state</P>
<P align=left>−−state NEW,ESTABLISHED −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> </P>
<P align=left> </P>
<P align=left> </P>
<P align=left> </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>