Я нашел решение здесьhttps://wiki.squid-cache.org/SquidFaq/ConfiguringSquid#How_do_I_configure_Squid_forward_all_requests_to_another_proxy.3F
нужно было поместить эти три строчки в файл /etc/squid/squid.conf
:
cache_peer proxy.company.de parent 3128 3130
prefer_direct off
nonhierarchical_direct off