[squid-users] Is it possible to force some dstdomain to ipv4 protocol without define an outgoing ip address ?

Alex Rousskov rousskov at measurement-factory.com
Wed Jun 9 16:05:40 UTC 2021


On 6/9/21 8:25 AM, Dieter Bloms wrote:
> Hello,
> 
> I use squid 4.15 and want to configure it to connect to some destinations
> via IPv4.
> 
> I know about the tcp_outgoing_address option, but my outgoing ipv4 and
> ipv6 addresses changes every day.
> 
> So is there an option like:
> 
> acl myipv4onlydest dstdomain .example1.com .example2.com
> tcp_outgoing_protocol ipv4 myipv4onlydest

Not that I know of. You can implement this logic inside a custom DNS
resolver script, or you can reconfigure Squid whenever your outgoing
addresses change, but I understand that you are looking for a better
solution.

Alex.


More information about the squid-users mailing list