Problem with tcp_outgoing_address

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with tcp_outgoing_address

ubuntu20_04
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 
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
 
acl test3 myportname 3130 src 1.0.0.0/8 
http_access allow test3
tcp_outoing_address 132.15.115.14 test3
 
test1 and test3 (only for testing purpose) works fine, but test2 wont work. 
 
should i adjust the routing table? 
 
thanks for the help 
 
heinz

_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem with tcp_outgoing_address

Amos Jeffries
Administrator
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
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users