[squid-users] Cache peer help

Alejandro Delgado Moreno alex.delgado at crg.eu
Tue Jun 6 13:19:05 UTC 2017


Hi,
I need to set up a proxy server to filter the Gateway used by sites.
I've created a file called sites.txt, that contains the list of sites that our squid proxy should forward the request to another proxy outside our lan.
If the address typed is not in the list, it should be request by our proxy.
I've tried different configurations with peer_cache directive, but haven't been able to route it successfully because all traffic is going by the peer proxy or by our own Gateway, without having into account the file contents.

This is a part of the configuration:

acl journals dstdomain "/etc/squid/xx_LIST.txt"
cache_peer xxx.xxx.xxx.xxx parent 9090 0 no-query no-digest default
cache_peer_access proxy-inst.upf.edu allow journals
Does anybody has a similar configuration and share it with me?

Regards,
Alex.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20170606/303f932f/attachment.html>


More information about the squid-users mailing list