[squid-users] conf squid to use a specific interface

From: Wayne Cox <wmc20@dont-contact.us>
Date: Wed, 08 Sep 2004 10:36:08 -0400

Hey All...

A while back I posted an inquiry about directing squid's traffic over a
specific network interface:

>>....how to ... configure Squid to use one specific ethernet interface in
>>the machine for outbound traffic to destination web sites? I have tried
>>using "tcp_outgoing_address 12.219.10.10" but it doesn't seem to be working.

And Henrik kindly replied:
>What you are missing is proper routing within your OS to make it route
>traffic assigned to that NIC out via the provider connected to that NIC.
>You could also change the default route of your server, but this may have
>impact on other traffic.

Some faq was suggested for Linux environments, but I'm running on FreeBSD
5.2. I do not want to change the default route. Is there some other
config option in Squid to handle this?

I'm reading up on the IPFW functionality in FreeBSD; sounds like it can
route TCP traffic on a per-port basis. Is this the correct approach? If
so, does anyone have a sample of ipfw rules they're using for this?

   -Thanks,
         Wayne
Received on Wed Sep 08 2004 - 08:36:10 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Oct 01 2004 - 12:00:02 MDT