Re: [squid-users] Forcing Squid to Use Specific Adapter

From: Robert Collins <[email protected]>
Date: 11 Nov 2002 23:51:31 +1100

On Mon, 2002-11-11 at 23:40, Paul Stewart wrote:
> Hi there...
>
> I have to Nic cards in a server of which both Nic's have their own
> outbound paths to the Internet. Both adapters also have public IP
> addresses. One side is connected via T1's and the other side is via
> DSL.
>
> I want to make all outbound http traffic from Squid go out over the DSL
> connection... Pretty sure this is easy to do, but can someone point me
> in the right direction?

You should simply use tcp_outgoing_address to set the ip squid uses.
Depending on your network topology and routing tables, you may also want
to use policy routing on your router.

Rob

Received on Mon Nov 11 2002 - 05:51:34 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:17 MST