It's the subnet mask. 32 means 255.255.255.255, which is a specific IP. 24 is a full "network". Read up on subnetting if you want to understand it better.

Barry Rumsey wrote:

Thanks. That did the trick. Whats the diff between the /24 and /32 ?


On Sun, 2005-12-11 at 06:35 +0200, Pieter De Wit wrote:
Hey Barry,

Try this:

acl julie src 192.168.1.20/32
acl jess src 192.168.1.12/32

HTH,

Pieter

-----Original Message-----
From: Barry Rumsey [mailto:[EMAIL PROTECTED] Sent: 2005/12/11 05:12
To: Squid
Subject: [squid-users] Howto Allow 1 and block another

I am trying to setup squid to allow one user by ip address and block
another user on another ip address.
This is what I have so far.

acl julie src 192.168.1.20/24
acl jess src 192.168.1.12/24

http_access allow localhost
http_access allow julie
http_access deny jess

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

Thanks for any help in advance
B.Rumsey
This e-mail is sent on the Terms and Conditions that can be accessed by Clicking on 
this link http://www.vodacom.net/legal/email.aspx "



Reply via email to