Simon Bryan wrote:
> 
> I have been trying to only allow hotmail to be accessed by some 
> client workstations on our site. I have been using Webmin to help 
> me set up the rules. Have tried various combinations and had no 
> luck. I can deny it to all clients.
>
> I have the following rules setup
> 
> acl Webmailclient src 192.0.0.23-192.0.0.23/255.255.255.0
> 192.0.0.31-192.0.0.31/255.255.255.0
> acl hotmail dstdomain www.hotmail.com
> 
> http_access deny hotmail !Webmailclient

Use the following instead:

  acl Webmailclient src 192.0.0.23 192.0.0.31

Applying the netmask of 255.255.255.0 makes the ACL match all of
192.0.0.0 to 192.0.0.255, which I suspect is all of your network.

Dave

Reply via email to