sorry, Henrik but it doesn't work.
I already have acl local-hosts dst 172.16.10.0/24 acl nic dstdomain .nic.ar always_direct deny local-hosts never_direct allow nic half_closed_clients off cache_peer 12.10.130.114 parent 80 7 round-robin no-query cache_peer_domain 12.10.130.114 .nic.ar also, if I comment cache_peer_domain, squid doesn't query to remote proxy I see logs, and seems like squid doen't consult to remote proxy: cache.log 2004/08/24 09:30:26| Starting Squid Cache version 2.4.STABLE6 for i386-debian-linux-gnu... 2004/08/24 09:30:26| Process ID 1331 2004/08/24 09:30:26| With 1024 file descriptors available 2004/08/24 09:30:26| DNS Socket created on FD 5 2004/08/24 09:30:26| Adding nameserver 200.10.122.10 from /etc/resolv.conf 2004/08/24 09:30:26| Adding nameserver 200.10.122.11 from /etc/resolv.conf 2004/08/24 09:30:26| User-Agent logging is disabled. 2004/08/24 09:30:26| Referer logging is disabled. 2004/08/24 09:30:26| Swap maxSize 512000 KB, estimated 39384 objects 2004/08/24 09:30:26| Target number of buckets: 1969 2004/08/24 09:30:26| Using 8192 Store buckets 2004/08/24 09:30:26| Max Mem size: 16384 KB 2004/08/24 09:30:26| Max Swap size: 512000 KB 2004/08/24 09:30:26| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec 2004/08/24 09:30:26| Store logging disabled 2004/08/24 09:30:26| Rebuilding storage in /var/spool/squid (CLEAN) 2004/08/24 09:30:26| Using Least Load store dir selection 2004/08/24 09:30:26| Set Current Directory to /var/spool/squid 2004/08/24 09:30:26| Loaded Icons. 2004/08/24 09:30:26| Accepting HTTP connections at 0.0.0.0, port 3128, FD 32. 2004/08/24 09:30:26| Accepting ICP messages at 0.0.0.0, port 3130, FD 33. 2004/08/24 09:30:26| HTCP Disabled. 2004/08/24 09:30:26| Accepting SNMP messages on port 3401, FD 34. 2004/08/24 09:30:26| WCCP Disabled. 2004/08/24 09:30:26| Configuring Parent 12.10.130.114/80/7 2004/08/24 09:30:26| Ready to serve requests. 2004/08/24 09:30:27| Store rebuilding is 81.9% complete 2004/08/24 09:30:27| Done reading /var/spool/squid swaplog (5000 entries) 2004/08/24 09:30:27| Finished rebuilding storage from disk. 2004/08/24 09:30:27| 5000 Entries scanned 2004/08/24 09:30:27| 0 Invalid entries. 2004/08/24 09:30:27| 0 With invalid flags. 2004/08/24 09:30:27| 5000 Objects loaded. 2004/08/24 09:30:27| 0 Objects expired. 2004/08/24 09:30:27| 0 Objects cancelled. 2004/08/24 09:30:27| 0 Duplicate URLs purged. 2004/08/24 09:30:27| 0 Swapfile clashes avoided. 2004/08/24 09:30:27| Took 1.1 seconds (4445.9 objects/sec). 2004/08/24 09:30:27| Beginning Validation Procedure 2004/08/24 09:30:27| Completed Validation Procedure 2004/08/24 09:30:27| Validated 5000 Entries 2004/08/24 09:30:27| store_swap_size = 63772k 2004/08/24 09:30:28| storeLateRelease: released 1 objects -> > Thank you, Henrik -> > -> > I've putted in my squid.conf next rules: -> > -> > ------------------------------------------------------ -> > -> > acl local-hosts dst 172.16.10.0/24 -> > acl nic dstdomain .nic.ar -> > never_direct deny local-hosts -> -> for the above you should use always_direct... -> -> > never_direct allow nic -> -> Ok. -> -> > cache_peer 12.10.130.114 parent 80 7 round-robin no-query -> > cache_peer_domain 12.10.130.114 .nic.ar -> -> Any other cache_peer? -> -> If so remember to deny this domain to be forwarded to the other peers... -> -> > ------------------------------------------------------ -> > -> > but when I try to access in my browser to "www.nic.ar" -> > nothing happens... -> > -> > Also in my access.log , nothing appears with "www.nic.ar" -> -> Are you sure your browser is configured to use the proxy? -> -> Also try setting "half_closed_clients off" in squid.conf. This -> makes Squid -> a little more reactive on failed requests and logs less confusing. -> -> -> Regards -> Henrik
