PrettyPrint

jeudi 9 février 2017

Redirect SQUID request to another proxy

To allow acces to a corporate or public proxy's ressources via a local squid proxy, we just have activate the "cache_peer" option of Squid (a libre proxy caching server).

#Install Squid package: 
yum install -y squid
systemctl enable squid.service
systemctl start squid.service
echo "cache_peer proxy.enterprise.local 8080 0 no-digest" >> /etc/squid/squid.conf
systemctl restart squid.service

See Squid documentation in "/usr/share/doc/squid/squid.conf.documented".