One more on Squid

Sunday, September 26, 2004

One example on configuring squid to let navigate user(s) only to selected places ( it needs Squid to be run on the machine which is resolving names [ may be using bind with resolv.conf pointing to 127.0.0.1 ]. Once I tried this on a machine which was resolved by another one and the dstdomain feature didn't work ):

acl myipaddress src 192.168.0.111
acl firstdomain dstdomain www.oneallowed.com
acl seconddomain dstdomain www.anotherallowed.com
...
...
http_access deny myipaddress !firstdomain !seconddomain

( this means , 192.168.0.111 can't access anything but www.oneallowed and www.anotherallowed ).

0 comments: to “ One more on Squid so far...