Search squid archive

Re: ip client list

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

 



thanks
it's very help

thx amos and Visolve Squid Team

On Wed, Nov 12, 2008 at 7:35 AM, Amos Jeffries <squid3@xxxxxxxxxxxxx> wrote:
>> how to put IP group
>> like acl chatting url_regex -i "/etc/squid/domain.txt"
>> for domain list
>>
>> how about client ip ?
>> i mean like this :
>>
>> acl full src 192.168.1.1
>> acl full src 192.168.1.5
>> acl chatonly src 192.168.1.3
>>
>> put on one file like full.txt and chat.txt
>> so the squid.conf is more simple
>
> Three ways:
>
> squid.conf:
>  acl full src "/etc/squid/full_ips.txt"
>
> full_ips.txt:
>  192.168.1.1
>  192.168.1.5
>  ...
>
> OR:
> squid.conf:
>  acl full src 192.168.1.0/24
>
> OR (2.7+, 3.0+):
> squid.conf:
>  ... basic restrictions
>  include "/etc/squid/full_ips.conf
>  ... chat restrictions...
>
> full_ips.conf:
>  acl full src 192.168.1.1
>  acl full src 192.168.1.5
>  http_access allow full
>
>>
>>
>> --
>> -=-=-=-=
>>
>
>
>



-- 
-=-=-=-=
http://amyhost.com
Dollar naik ? Krisis ? Kami tetap mempertahankan harga jual domain Rp.
75.000 rupiah
------------
Pengin punya Layanan SMS PREMIUM ?
Contact me ASAP. dapatkan Share revenue MAXIMAL tanpa syarat traffic...

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

  Powered by Linux