Read the squid.conf file especially the ACL part. Then it should be easy.
Shinta H Leagazpi wrote:
>
> Hi there,
>
> I need an urgent help. I have 3 diferent networks namely
> 192.168.0.0/24, then 10.106.6.0/24, and 172.168.11.0/24.
>
> Now, I need to setup squid as a WWW proxy in my
> linux box(SuSE7.1 - ip. 192.168.0.1),
>
> The thing here is that i need squid to be configured in a way
> that it will provide service to specific "ip range" at a
> "specific time"
>
> For ex.,
>
> network 10.106.6.0 can only access the squid proxy from 4am-12am only,
> network 172.168.11.0 can access the squid proxy from 10am-5pm only,
> network 192.168.0.0 could access the squid proxy from 2am-10pm only,
>
> i tried reading the squid.conf file specifically the acl section and
> find it too technical for me, (im a linux newbie)... And ive been
> searching different sites for clues, but again I find the sqquid acl too
> technical...
>
> So please could someone please help me with the problem, perhaps showing me
> the appropriate line that would control access of the proxy server, for
> a certain network at a certain time...
>
> Thanx!
>
> Shancecgol
>
> __________________________________
> www.edsamail.com