Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Proxy Server Support => Topic started by: tomamodi on October 02, 2005, 03:47:38 AM

Title: need clearification about acl
Post by: tomamodi 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
Title: need clearification about acl
Post by: Ricky on October 04, 2005, 04:17:29 AM
Both above will work , just make sure you don't make any typo . ie typing mistakes.