Re: [squid-users] ip client list

From: ░▒▓ ɹɐzǝupɐɥʞ ɐzɹıɯ ▓▒░ <mirza.k_at_gmail.com>
Date: Wed, 12 Nov 2008 08:46:24 +0700

thanks
it's very help

thx amos and Visolve Squid Team

On Wed, Nov 12, 2008 at 7:35 AM, Amos Jeffries <squid3_at_treenet.co.nz> 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...
Received on Wed Nov 12 2008 - 01:46:29 MST

This archive was generated by hypermail 2.2.0 : Wed Nov 12 2008 - 12:00:03 MST