Re: [squid-users] use tcp_outgoing_address based on incoming port connection

2018-04-23 Thread Amos Jeffries
On 24/04/18 03:45, Arya F wrote: > You cannot do that. Squid is HTTP layer where you can, at most, request > from the OS that it assign a given IP address to the outgoing traffic > > Can you tell me how that can be done? I'm ok with using the IP address > of the interface > Either, by configurin

Re: [squid-users] use tcp_outgoing_address based on incoming port connection

2018-04-23 Thread Amos Jeffries
On 23/04/18 12:45, xpro wrote: > I have the following configuration that makes incoming connections > coming to port 8000 to use the another proxy, in this case proxy8000 > > http_port 8000 name=port_8000 > acl port_8000_acl myportname port_8000 > always_direct deny port_8000_acl "don't always do

[squid-users] use tcp_outgoing_address based on incoming port connection

2018-04-22 Thread xpro
I have the following configuration that makes incoming connections coming to port 8000 to use the another proxy, in this case proxy8000 http_port 8000 name=port_8000 acl port_8000_acl myportname port_8000 always_direct deny port_8000_acl never_direct allow port_8000_acl cache_peer 11.12.12.12 pa