Netfilter + Multiple Nic's + Squid.

David jrinky@xtra.co.nz
Thu, 16 Aug 2001 13:04:56 +1200


Hi,

I have a Squid server running as a proxy that has multiple Nic's and I 
notice Squid always users the highest Nic, in my case with three cards 
eth2, to fetch pages regardless of the interface that the request came 
in on.

I have asked on the Squid newsgroup if it is possible to configure Squid 
to use the same interface that the request came in on but the answer 
appears to be no.

It was suggested that iptables could provide a solution. Is this 
possible and if so could someone point me in the right direction.

Thanks.

-David.