Befor doing any thing you should read this faq and
squid configuration documents for ACL from squid
website.

You can do it by defining different ACL's. ACL can be
based on IP range, subnetmask, single IP etc. The
exact syntax can be checked from squid website.

you can do some thing like this

acl c1 src ip_address_of_client
acl others src -----
acl update dstdomain windowsupdate.microsoft.com

http_access allow c1
http_access allow others !update


something like that, you should check squid website
for exact syntax.

--- Peter Marshall <[EMAIL PROTECTED]> wrote:
> I want to allow specific ip's access to certian
> sites, and block everyone
> else ... ex 192.168.200.3 and 192.168.201.50 are
> allowed to go to
> windowsupdate.microsoft.com and are allowed to use
> msn messenger, however,
> no one else is allowed to go to that site or use
> messenger ....
> 
> Thank you,
> Peter
> 
> 
> ----- Original Message ----- 
> From: "Mohsin Khan" <[EMAIL PROTECTED]>
> To: "Peter Marshall" <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Monday, July 05, 2004 5:54 PM
> Subject: Re: [squid-users] admin access
> 
> 
> Can you explain...? This can be done, by ACL's and
> making subnets, what you actually want.
> 
> --- Peter Marshall <[EMAIL PROTECTED]> wrote:
> > Hello all
> >
> > I was wondering if there is a way to have rules
> for
> > certian ip's and
> > different rules for others ?
> > ex.  users have certain rules, administrators have
> > certain rules ....
> >
> > Thank you,
> >
> > peter
> >
> >
> > Peter Marshall, BCS
> > Network Administrator, CARIS
> > 115 Waggoners Lane, Fredericton NB, E3B 2L4 CANADA
> > Phone:  (506) 458-8533 (Reception)
> >
> >
> 
> 
> =====
> Regards,
> Mohsin Khan
> CCNA ( Cisco Certified Network Associate 2.0 )
> http://forum.aaghaz.net (Your attention is needed)
> 
> >>>Happy is the one who can smile<<<
> 
> 
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We
> finish.
> http://promotions.yahoo.com/new_mail
> 
> 


=====
Regards, 
Mohsin Khan 
CCNA ( Cisco Certified Network Associate 2.0 ) 
http://forum.aaghaz.net (Your attention is needed)

>>>Happy is the one who can smile<<<




                
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail

Reply via email to