I have to create ACL regaring squid Kindly guide me .
>> I want to allow browsing only Specific IPs
with no restriction
>> and another ACL that Allow browsing from to some other IPs that
has not access to some sites
please mension these ACL with Examples
how can Create These ACL in Squid
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re: how can Create These ACL in Squid
Dear umairfiza,
Hello,
Best Regards.
Hello,
umairfiza wrote:I have to create ACL regaring squid Kindly guide me .
>> I want to allow browsing only Specific IPs
with no restriction
>> and another ACL that Allow browsing from to some other IPs that
has not access to some sites
please mension these ACL with Examples
Code: Select all
acl client1 src 192.168.0.2
acl client2 src 192.168.0.2
. . . .
. . . .
. . . .
acl clientN src 192.168.0.N
httpd_access allow client1 client2 ... clientN
Farrukh Ahmed
LinuxFreaK said
isnt that a short way ?
i tink its longacl client1 src 192.168.0.2
acl client2 src 192.168.0.2
. . . .
. . . .
. . . .
acl clientN src 192.168.0.N
httpd_access allow client1 client2 ... clientN
Code: Select all
acl clinetlist src "/path/to/clientlist.file"
http_access allow clinetlist
and
in /path/to/clientlist.file
192.168.0.1/32
192.168.0.2
192.168.0.x