> Another solution whichi does not depend of the server software (squid or > apt-cacher-ng) is to use this directive on the client: > Acquire::http::Proxy-Auto-Detect > > I could not find a good example in English, but here is one in French. > Obviously, man 5 apt.conf also explains it.
Oups, forgot the link: https://www.blog-libre.org/2016/01/09/configuration-automatique-du-proxy-pour-apt/ The script used to detect the proxy is only two lines… Regards, Yvan
signature.asc
Description: OpenPGP digital signature