Re: Bind Squid to two IP-Adresses/one Port

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 20 Mar 1999 23:52:56 +0100

Stephen Anderson wrote:

> I was thinking that it would make things efficient if Squid could be
> bound to the 10.11.x.x NIC and use the 137.35.x.x NIC for retrieiving
> from the Internet. Do you know of anyway to get it to do this or is
> this in the works? Thanks for your help!

This is already possible.

tcp_incoming_address 10.11.x.x

and leave tcp_outgoing_address unset.
(setting tcp_outgoing_address won't help you, and it does not fully work
the way it is intended)

By doing so Squid will only listen for requests on the 10.11.x.x
interface, and will use default addresses for outgoing communication
(137.25.x.x for internet connections, 10.11.x.x for intranet
connections), provided that your routing tables are correct of course.

What is not possible is to have Squid accept connections on more than
one IP address but not all.

---
Henrik Nordstrom
Spare time Squid hacker
Received on Sat Mar 20 1999 - 16:13:42 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:45:21 MST