RE: [squid-users] Can Some Body send me the ACL order

From: Rafhael Almeida <ralmeida@dont-contact.us>
Date: Tue, 26 Aug 2003 12:39:47 -0500

hy my friend, insert this line in the header of acl´s
acl all src 0.0.0.0/0.0.0.0
......
and in the http_access
.....
http_access deny alll

insert the ips (one 4 line) in one file, like this

acl everyday src "\squid\ipseveryday.conf"
....
http_access allow everyday

Grettings.

----- Original Message -----
From: <maqsood@hancom-system.com.pk>
To: Marc Elsen <marc.elsen@imec.be>
Cc: <squid-users@squid-cache.org>
Sent: Tuesday, August 26, 2003 1:19 AM
Subject: Re: [squid-users] Can Some Body send me the ACL order

> hi i am sending u my acl configuration..
> it won't work . u will see in the acl as i want to allow some of my IP's
> for browsing & deny some of my IP's for browsing.
> can u plz help me solving this problem ??
> right now every one is allow for browsing no matter his/her ip is in acl
or
> not. & no matter his / her ip is allowed or deny
> Please help me.
>
> Thanks in Advance

> acl all src 192.168.0.1-192.168.0.250/255.255.255.0
> acl masoodhanif src 192.168.0.10/255.255.255.0
> acl maqsood src 192.168.0.1/255.255.255.0
> acl asim src 192.168.0.135/255.255.255.0
> acl ashar src 192.168.0.125/255.255.255.0
> acl haroon src 192.168.0.100/255.255.255.0
> acl usman src 192.168.0.124/255.255.255.0
> acl aafaq src 192.168.0.109/255.255.255.0
> acl bashir src 192.168.0.123/255.255.255.0
> acl maryam src 192.168.0.155/255.255.255.0
> acl FaizUlHassan src 192.168.0.119/255.255.255.0
> acl noumaan src 192.168.0.132/255.255.255.0
> acl fawad src 192.168.0.141/255.255.255.0
> acl NoumanBashir src 192.168.0.118/255.255.255.0
> acl asimzafar src 192.168.0.118/255.255.255.0
> acl adnan src 192.168.0.12/255.255.255.0
> acl KhurramHussain src 192.168.0.120/255.255.255.0
> acl arifahmad src 192.168.0.125/255.255.255.0
> acl manager proto cache_object
> acl localhost src 127.0.0.1/255.255.255.255
> #acl ss_ports port 569
> acl SSL_ports port 443 563
> acl Safe_ports port 80 21 443 563 70 210 1025-65535
> acl Safe_ports port 280 # http-mgmt
> acl Safe_ports port 488 # gss-http
> acl Safe_ports port 591 # filemaker
> acl Safe_ports port 777 # multiling http
> acl CONNECT method CONNECT
> http_access allow manager localhost
> http_access deny manager
> #http_access deny mmtype
> http_access deny !Safe_ports
> http_access deny CONNECT !SSL_ports
> #http_access deny ss_ports

> http_access allow masoodhanif
> http_access allow maqsood
> http_access allow asim
> http_access allow ashar
> http_access allow haroon
> http_access allow usman
> http_access allow aafaq
> http_access allow KhurramHussain
> http_access allow arifahmad
> http_access deny bashir
> http_access deny maryam
> http_access deny FaizUlHassan
> http_access deny noumaan
> http_access deny fawad
> http_access deny NoumanBashir
> http_access deny asimzafar
> http_access deny adnan
> http_access deny all
>
Received on Tue Aug 26 2003 - 11:40:24 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:19:07 MST