[squid-users] Problem with tcp_outgoing_address

Amos Jeffries squid3 at treenet.co.nz
Sun Jan 24 12:42:43 UTC 2021


On 24/01/21 5:40 am, hlager wrote:
> Hey guys,
> i'm trying to get squid working with two outgoing ip adresses, but only 
> one will work, i hope someone can help me.
> I'm using an ESXI with a Ubuntu VM, i got 3 NICs on it. One Local were 
> the traffic comes in and two which are for the outgoing traffic. The 
> booth outgoing nics are in the same subnet and have the same gateway but 
> of course different ips.

> i used the following config:

> http_port 10.5.5.3:3128 name=3128
> http_port 10.5.5.3:3129 name=3129
> http_port 10.5.5.3:3130 name=3130

> acl test1 myportname 3128 src 1.0.0.0/8

You do not have a port named "src" or a port named "1.0.0.0/8"

> http_access allow test1
> tcp_outoing_address 132.15.115.14 test1

> acl test2 myportname 3129 src 1.0.0.0/8
> http_access allow test2
> tcp_outoing_address 132.15.115.15 test2


> test1 and test3 (only for testing purpose) works fine, but test2 wont work.

Please explain how you are testing and what you are seeing happening 
that makes you say that.


Amos


More information about the squid-users mailing list