[squid-users] Configuring squid reverse proxy

joseph jose joevypana at gmail.com
Wed Aug 12 12:38:55 UTC 2015


I have set up squid in reverse proxy mode to cache an apache webserver
hosted in linux vm.

IP of my squid reverse proxy is and is the ip of
webserver which is also a linux vm

my config is as follows

#acl squidallow dstdomain testsquid.com
#http_port accel defaultsite=testsquid.com
#cache_peer parent 80 0 no-query originserver name=squidtest
#cache_peer_access squidtest allow allowsquid

In the squid proxy machine i have edited the host file and set testsquid.com is the ip of proxy machine itself), as proxy is configured
in reverse mode, it is supposed to serve the static page from

But when i open browser and search for testsquid.com, squid is logging
request but returning a TCP_DENIED/403 status.

Is there anything additionally required in squid config?

Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20150812/1b9393ef/attachment-0001.html>

More information about the squid-users mailing list