All pastes #548702 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-06-07 20:40 UTC
rendered paste body
http_port 10.0.0.1:3128 # change it to the IP of eth0
icp_port 0 # disables ICP queries to neighbor caches, unless you have other Squids, I guess.

acl ALbox_network src 10.0.0.1/28 # <-- change CIDR appropriately
acl all src 0.0.0.0/0.0.0.0

http_access allow ALbox_network
http_access deny all

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on 
httpd_accel_uses_host_header on

maximum_object_size 50000 KB # max size of cachable objects
minimum_object_size 0 KB

cache_mem 7867 KB # read docs for more info
cache_dir aufs /var/cache/squid 300 16 256 # assign disk space for Squid's cache, see docs

visible_hostname proxy.foo.bar # hostname that will be shown in status/error messages

[edit]