March 28, 2024, 04:37:31 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: need clearification about acl  (Read 3251 times)

Offline tomamodi

  • Linux Learner
  • ***
  • Posts: 78
need clearification about acl
« on: October 02, 2005, 03:47:38 AM »
acl my-iplist-1 src 192.168.1.0/255.255.255.0
acl my-iplist-2 src 10.0.0.0/255.255.0.0
http_access allow my-iplist-1
http_access allow my-iplist-2
icp_access allow my-iplist-1
icp_access allow my-iplist-2
====================
acl my-iplist src 192.168.1.0/255.255.255.0
acl my-iplistsrc 10.0.0.0/255.255.0.0
http_access allow my-iplist
icp_access allow my-iplist
-------------------
is this make diffrence with out number or both work same

Q is that above two serves the same what i think
it allow the both ip first one from squid-docs.sourceforge.net
other one running in my squid.conf

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
need clearification about acl
« Reply #1 on: October 04, 2005, 04:17:29 AM »
Both above will work , just make sure you don't make any typo . ie typing mistakes.