RE: [squid-users] Proxy AND reverse proxy

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Sat, 09 Jun 2007 00:05:26 +0200

fre 2007-06-08 klockan 14:00 +0200 skrev Jerome:
> OK, for the moment the defaultsite is my public ip address
>
> This my squid.conf :
> http_port 3128 # for proxy cache
> cache_peer localhost parent 8080 0 default no-query # for proxy cache
> antivirus
>
> http_port 80 accel defaultsite=123.123.123.123 # for reverse proxy
> cache_peer 172.17.1.1 parent 80 0 no-query originserver # internal server
> for reverse proxy
>
> When i try to access to http://123.123.123.123/SITE on Internet
> I have an ERR_ACCESS_DENIED error !

What do your http_access rules look like? You need to allow all access
to the 123.123.123.123 destination..

You also need a bit of cache_peer_access to tell Squid when each of the
peers should be used.

acl mysite dstdomain 123.123.123.123
cache_peer_access localhost deny mysite
cache_peer_access 172.17.1.1 allow mysite

Regards
Henrik

Received on Fri Jun 08 2007 - 16:05:31 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:04 MDT