|
how to redirect squid traffic to a specific nic card
Hi,
i am running squid and Qmail in the same server. it is also act as a internet gateway. i have 3 nic card in it. one has local ip and 2 has real ip. i want to route all internet traffic through one nic and the other nic (eth1) with real ip can only be use by mail server. let me explain a little more.
say i have 3 nic.
eth0 has local ip
eth1 has real ip
eth2 has real ip
all the traffic of squid will go through eth1. and all the smtp traffic will go through eth2.
can any one tell me how to do it?
thanks
|