Re: [squid-users] Reconfiguring Squid every few seconds

2022-03-19 Thread His Shadow
I once patched squid to use the local address of an incoming socket as the local address of the outgoing connection, instead of having 2k tcp_outgoing_address directives in my configuration. Perhaps something like this can be done here as well? вс, 20 мар. 2022 г. в 07:54, Amos Jeffries : > > On 1

Re: [squid-users] Reconfiguring Squid every few seconds

2022-03-19 Thread Amos Jeffries
On 19/03/22 13:48, roee klinger wrote: Hello, I have a server with multiple 4G modems with Squid running on it, the 4G modems get an internal private IP that is dynamic (unfortunately this can't be changed), I set up Squid to use the interfaces as follows: tcp_outgoing_address The con

Re: [squid-users] Reconfiguring Squid every few seconds

2022-03-19 Thread Eliezer Croitoru
Hey Roee, The best solution for you case is to use a network namespace Router between the squid instance to the actual modem interface. You can attach each modem to a network namespace and leave squid to do it’s thing with a static IP address. All The Bests, Eliezer Eliezer Cr

Re: [squid-users] Reconfiguring Squid every few seconds

2022-03-19 Thread Alex Rousskov
On 3/18/22 20:48, roee klinger wrote: I set up Squid to use the interfaces as follows: tcp_outgoing_address I will be running "squid -k reconfigure" multiple times a minute. Will this have a bad effect on Squid and traffic? Yes, it will. Squid reconfiguration is a fairly heavy, dis