route add -host ppp-cache ppp0
route add -host isdn-cache isdn0
 
cache_peer cache1 parent 8080 7
cache_peer cache2 parent 8080 7
 
acl ppp-net 192.168.1.0/24
acl isdn-net 192.168.2.0/24
 
cache_peer_access ppp-cache allow ppp-net
cache_peer_access ppp-cache deny all
cache_peer_access isdn-cache allow isdn-net
cache_peer_access isdn-cache deny all

and as John reminded me you also need

never_direct allow all

so that squid will never fecth directly and will
always use the caches.

Cheers,

-- 
John


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to