Search squid archive

Re: access list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi gurus,

a new requirement has arisen me, I need to address the
page of access error not authorized to a page of my
intranet, however, this should only be applied to the
teams that fulfill certain access list  

example,  

acl redirect src 120.0.0.0/8  

acl intranet dst 120.0.0.7/32  

http_access allow redirect intranet  

http_access deny redirect!intranet -> redirect.html  

  

can I make this or should it be made with some
external program?  

Regards.

Eganya

 --- Eganya Alfredo <eganyaalfredo@xxxxxxxx> escribió:

> hi abu,
> thanks a lot, it work perfectly.
> 
> blessings.
> Eganya
> eganya@xxxxxxxxxxx
> 
>  --- Abu Khaled <khaled.abu@xxxxxxxxx> escribió:
> 
> > On 7/8/05, Eganya Alfredo <eganyaalfredo@xxxxxxxx>
> > wrote:
> > > 
> > > internal sites:
> > > web.aza.cl
> > > mail.aza.cl
> > > 
> > > external site:
> > > *.cl
> > > *.com
> > > *.net
> > > 
> > > team free:
> > > 125.1.1.0/24
> > > can acces all the web(external sites)
> > > 
> > > team blocked:
> > > 125.1.7.0/24
> > > just internal sites
> > > 
> > 
> > # the dot before the domain names is important (
> > .google.com )
> > acl intsites dstdomain .aza.cl
> > acl extsites dstdom_regex \.cl$ \.com$ \.net$
> > acl freeteam src 125.1.1.0/24
> > acl blockteam src 125.1.7.0/24
> > http_access allow blockteam intsites
> > http_access deny blockteam !intsites
> > # if you do not want freeteam to access internal
> > sites
> > # http_access deny freeteam intsites
> > http_access allow freeteam extsites
> > # and last rule deny all
> > http_access deny all
> > -----
> > 
> > I hope this solves your problem.
> > visolve has good documentation about squid ACLs
> >
>
http://squid.visolve.com/squid/squid24s1/access_controls.htm#acl
> > 
> > -- 
> > Regards.
> > Abu Khaled
> > 
> 
> 
> by Eganyaeganya arroba asertiva punto cl
> 
> 
> 	
> 	
> 		
> ______________________________________________ 
> Renovamos el Correo Yahoo! 
> 1GB de capacidad, nuevos servicios y más seguridad 
> http://correo.yahoo.es
> 


by Eganya Alfredo
eganya arroba asertiva punto cl


	
	
		
______________________________________________ 
Renovamos el Correo Yahoo! 
1GB de capacidad, nuevos servicios y más seguridad 
http://correo.yahoo.es

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux