[Bridge] bridge + squid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Srs
I have a linux like a bridge
 
LAN  - BRIGE -ROUTER
The bridge has a ip ( non public IP)
The bridge is working fine but y need to set up the Squid on the same machine where is installed the BRIDGE.
 
I was looking for the answers and say:
 

httpd_accel_host virtual 

httpd_accel_port 80 

httpd_accel_with_proxy on 

httpd_accel_uses_host_header on

 

and put this rules with iptables

iptables #8722;t nat #8722;A PREROUTING #8722;i eth0 #8722;p tcp #8722;#8722;dport 80 #8722;j REDIRECT  #8722;#8722;to#8722;port 3128

eth0 go to Router

eth1 go to LAN

iptables #8722;A INPUT #8722;i interface #8722;p tcp #8722;d your_bridge_ip #8722;s local#8722;network #8722;#8722;dport 3128 #8722;m state

#8722;#8722;state NEW,ESTABLISHED #8722;j ACCEPT

(replace interface by eth1 LAN)

But it don't work because i see the /var/log/squid/access.log and not see anything

Thank in advance for your help

juan

 

 

 

 


			
---------------------------------
Do you Yahoo!?
 Check out the new Yahoo! Front Page. www.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osdl.org/pipermail/bridge/attachments/20041112/654616cc/attachment.htm

[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux