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 −t nat −A PREROUTING −i eth0 −p tcp −−dport 80 −j REDIRECT  −−to−port 3128

eth0 go to Router

eth1 go to LAN

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

−−state NEW,ESTABLISHED −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
_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://lists.osdl.org/mailman/listinfo/bridge

Reply via email to