Settings for TANet Level 3 Proxy servers in Yunling && Chiayi Area [squid.conf]

For Squid version 2.2.X and later
[you should use the newest stable version]


cache_peer proxy.ccu.edu.tw	 parent  3128 3130 round-robin no-query no-netdb-exchange
cache_peer cache.ccu.edu.tw	 parent  3128 3130 round-robin no-query no-netdb-exchange
cache_peer cache2.ccu.edu.tw	 parent  3128 3130 round-robin no-query no-netdb-exchange

acl twip-map dst "/usr/local/squid/etc/twip.map"   # please update this file often
cache_peer_access proxy.ccu.edu.tw	allow !twip-map all
cache_peer_access cache.ccu.edu.tw	allow !twip-map all
cache_peer_access cache2.ccu.edu.tw	allow !twip-map all

you might need to add the following to speed up fetching foreign urls :

# hierarchy_stoplist cgi-bin ?

always_direct allow twip-map

never_direct deny twip-map
never_direct allow all

[ acls must be defined before using ]