Re: AW: Squid as reverse proxy

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 05 Aug 2000 09:08:16 +0200

Jon Biddell wrote:

> However, using a (to me) very simple (and insecure) acl, like;
>
> acl all src 192.168.1.0/255.255.255.0
> acl allow all
> acl deny !all
>
> should work (I may have the exact commands wrong in the example here).

Would not work.

1. Syntax error. The last two lines should be http_access...

2. the acl name "all" is special because it is used in various built in
defaults for other options, and should always match "everyone", no
matter who.

You are probably better off with:

acl from_local_networks src 192.168.1.0/24
http_access allow from_local_networks

Insert these two lines where instructed in squid.conf (in the
http_access section).
Received on Sat Aug 05 2000 - 02:35:30 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:44 MST