Can squid/squidguard be used to do this?
I'm new to Linux and I'm running Mandrake version 9.0. I've got squid and squidguard installed. Here is what I want to be able to do, but I'm not exactly sure how to do it...
I have many computers which need to download daily data updates. The updates can be large and over a slow connection I'd rather not have 10 downloads. I've started to set up squid as a cache.
Now, here's the logic I'm hoping to be able to impliment.
Have one machine be able to access an external site daily and download the database update file. From that point on all other machines (which can be in a list of special IPs) can get the data ONLY from the cache.
For example mach (ip 192.168.0.200) would need access to the outside. All other machines (ip 192.168.0.201-211) would need to only hit from the cache. I'd like to be able to clear the cache every day, and until the .200 machine downloads the data the other machines get errors reported back.
Is this possible to do with squid/squidguard? It seems like both tools can do parts of the problem I'm just unsure how exactly to set it up.
Or.... if there's a better way I'd love to hear them.
Thanks!
|