> 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

>
>
> --
> -=-=-=-=
>


Reply via email to