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

2021-06-09 Thread Dieter Bloms
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


-- 
Regards

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
>From field.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


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

2021-06-09 Thread Alex Rousskov
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.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users