[squid-users] Outgoing traffic through certain device instead of IP?
Robert 'Bobby' Zenz
Robert.Zenz at bonsaimind.org
Fri Aug 11 17:23:09 UTC 2023
I'd like to send all the outgoing traffic from Squid through a certain
network device instead of an IP. There's `tcp_outgoing_address` and
`udp_outgoing_address` which only accepts an IP as parameter, but
there's no way to use a certain device?
I just wanted to verify that there is currently no way to have a
certain network device specified because I couldn't find anything about
it in the documentation. My use-case here is that I have multiple
OpenVPN tunnels open and use Squid to funnel traffic through them
(including DNS queries which works great!). These OpenVPN tunnels all
have their own network device, but the IP address might or might not
change at some point, and when that happens Squid won't be able to
forward traffic anymore. Of course I can work around that (OpenVPN
`--ipchange` to fire a script when the IP changes), but I just wanted
to check whether I've missed something here.
More information about the squid-users
mailing list