See tcp_outgoing_address of Squid-2.5. (Squid-2.5 has more capabilities than the same directive in Squid-2.4 and earlier..)
Note: You also need to look into policy routing to have a machine connected with two gateways to the Internet. Squid can only assign the IP address to use, it cannot tell which path the resulting packets should be routed by (this is the job of your routing tables). If using Linux see the Linux Advanced Routing HOWTO. Regards Henrik l�r 2003-01-25 klockan 17.41 skrev Viaris: > Hello all, > > At the moment I have proxy it is transparent, it works with wccp, all good, > but now we have a new connection with other provider, then we added a card > of network to the Linux-squid server, I need that when the requests come > from a network x.x.x.x it removes I deal by the new interface. How can I do > it? > > Thanks in advanced, > > Regards, -- Henrik Nordstrom <[EMAIL PROTECTED]> MARA Systems AB, Sweden
