Search squid archive

RE: Proxy AND reverse proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux