Re: [squid-users] Proxy_auth or not

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Fri, 19 Jan 2007 21:40:05 +0100

fre 2007-01-19 klockan 15:24 +0100 skrev Jerome:
> Hi,
>
> I configure an authentification on my Squid server. It works fine.
> But I want another vlan with no authentification.
> So this is my squid.conf :
>
> # authentification
> acl MONRESEAU proxy_auth REQUIRED src 172.17.0.0/255.255.0.0

You need to split that in two different ACLs..

acl MONRESEAU src 172.17.0.0/255.255.0.0
acl auth proxy_auth REQUIRED

> # NO authentification
> acl VLANMEDECIN src 192.168.0.0/255.255.0.0
> acl all src 0.0.0.0/0.0.0.0
> ....
> # autorisation
> http_access allow MONRESEAU
> http_access allow VLANMEDECIN

http_access allow MONRESEAU auth
http_access allow VLANMEDECIN

> # And finally deny all other access to this proxy
> http_access deny all

Regards
Henrik

Received on Fri Jan 19 2007 - 13:40:10 MST

This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:01 MST