On 9/5/21 1:54 AM, Grant Taylor wrote:
> On 9/4/21 1:58 PM, Alex Rousskov wrote:
>> the best way is to name your ports and use the myportname ACL instead
>> of trying to match one of the many port numbers associated with
>> transparent connections, especially when Squid has a tendency to
>> "swap" source and destination addresses in that context.
> 
> Please forgive my ignorance.  Will you please provide an example of what
> you mean by "use the myportname ACL"?  --  I'm relatively new to Squid
> (4.x) after having not used it for about 15 years.


    http_port ... name=PortGettingGreenTraffic

    acl greenTraffic myportname PortGettingGreenTraffic

    whatever_directive ... greenTraffic

Alex.
_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to