Re: [squid-users] LISTENing question

From: Amos Jeffries <squid3@dont-contact.us>
Date: Wed, 20 Feb 2008 10:21:38 +1300 (NZDT)

> Hi,
>
> I have CentOS 5 and squid-2.6.STABLE16-2
>
> I have 3 IPs on the server
>
> 1.1.1.1
> 1.1.1.2
> 1.1.1.3
>
> If I put: http_port 33
> the squid LISTENs on all IPs. If I connect to the proxy via 1.1.1.3
> then my outside IP will be the main one: 1.1.1.1
>
> If I put:
> http_port 1.1.1.1:33
> http_port 1.1.1.3:33
>
> then the same happens.
>
> What do I need to do to be able to get the outside IP the one I am
> connecting to?

tcp_outgoing_address + some my* ACLs.

Before yo go ahead and do that though ask yourself the question:
    do I _really_ need this?
Adding that config will increase your IPA lock-in and may break some
unforseen things.

Amos
Received on Tue Feb 19 2008 - 14:21:41 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:05 MST