If your squid is on the 8080:
-----------------------------

iptables -t nat -A PREROUTING -j REDIRECT -p tcp --dport 80 --to-ports
8080








On Thu, 2002-02-21 at 12:01, shadha wrote:
> Hello all,
> 
> I have Squid in one machine and i plan to set up firewall(iptables) on
> the another machine and that firewall m/c IP going to be my machines
> gateway.
> I want to redirect that some 80 request squid  and some 80 request to
> another server(ex apache ) based on anything.
> 
> how to do that. plz i want rule for that. your help is greatly appreciated.
> 
> Thanks and Regards,
> -shadha
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> 



Reply via email to