http_port 192.168.7.2:8080 transparent
dead_peer_timeout 30 seconds
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
cache_mem 512 MB
cache_swap_low 90
cache_swap_high 92
maximum_object_size 131072 KB
minimum_object_size 0 KB
maximum_object_size_in_memory 512 KB
ipcache_size 3000
ipcache_low 90
ipcache_high 95
fqdncache_size 8192
memory_pools off
cache_dir diskd /usr/cache1 28000 65 256 Q1=72 Q2=64
cache_dir diskd /usr/cache2 28000 65 256 Q1=72 Q2=64
cache_dir diskd /usr/cache3 28000 65 256 Q1=72 Q2=64
cache_dir diskd /usr/cache4 28000 65 256 Q1=72 Q2=64
cache_dir diskd /usr/cache5 28000 65 256 Q1=72 Q2=64
buffered_logs on
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log//squid/store.log
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
httpd_suppress_version_string on
allow_underscore on
collapsed_forwarding off
refresh_pattern -i \.(gif|png|jp?g|ico|bmp|tiff?)$ 10080 95% 43200 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-private
refresh_pattern -i \.(html|htm|css|js)$ 1440 75% 40320
refresh_pattern -i \.index.(html|htm)$ 0 75% 10080
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern -i \.(class|css|js|tif)(\?.*)?$ 1440 95% 100000080 reload-into-ims override-lastmod
refresh_pattern -i \.(jpe|jpg|jpeg|png|bmp|gif)(\?.*)?$ 0 95% 1000000080 reload-into-ims override-lastmod
refresh_pattern -i \.(asp|acgi|pl|shtml|php3|php)(\?.*)?$ 2 20% 432000 reload-into-ims override-lastmod
refresh_pattern -i \.(ini)(\?.*)?$ 2 5% 10800 reload-into-ims override-lastmod
refresh_pattern ^http://*.facebook.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.static.ak.facebook.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.fbcdn.net/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://apps.facebook.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://facebook.poker.zynga.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://statics.poker.static.zynga.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache
ignore-auth
refresh_pattern ^http://profile.ak.fbcdn.net/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://static-facebook.farmville.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache
ignore-auth
refresh_pattern ^http://static.farmville.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://zbar.static.zynga.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern (Release|Package(.gz)*)$ 0 20% 2880
refresh_pattern . 0 20% 4320
client_lifetime 1 day
connect_timeout 1 minutes
peer_connect_timeout 30 second
read_timeout 15 minutes
request_timeout 5 minutes
persistent_request_timeout 2 minute
pconn_timeout 120 seconds
shutdown_lifetime 30 seconds
acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 444 563 5000
acl Safe_ports port 22 # SSH
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 444 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 2083 # cpanel
acl Safe_ports port 6660-6666 # mirc
acl Safe_ports port 5050 # yahoo gaim
acl Safe_ports port 1863 # MSN
acl Safe_ports port 25 # smtp
acl Safe_ports port 110 # pop3
acl Safe_ports port 119 # nntp
acl Safe_ports port 161 # snmp
acl Safe_ports port 143 # imap
acl Safe_ports port 995 # POP3 Gmail
acl Safe_ports port 465 # SMTP Gmail
acl Safe_ports port 587 # SMTP2 Gmail
acl Safe_ports port 993 # IMAP Gmail
acl Safe_ports port 20 # FTP
acl Safe_ports port 53 # Port Domain
acl CONNECT method CONNECT
acl numeric_IPs url_regex ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+
# ------------------- ACL KAryawan ----------------------- #
acl orang1 src 192.168.1.0/24
acl orang2 src 192.168.2.0/30
acl orang3 src 192.168.7.0/30
acl orang4 src 192.168.4.0/24
acl orang5 src 10.60.10.0/24
acl cachemgr proto cache_object
http_access deny CONNECT numeric_IPs all
http_access allow orang1
http_access allow orang2
http_access allow orang3
http_access allow orang4
http_access allow orang5
http_access allow cachemgr localhost
http_access allow cachemgr orang1
http_access allow cachemgr orang3
http_access deny cachemgr all
http_access allow !Safe_ports
http_access deny CONNECT !SSL_ports
http_reply_access allow all
icp_access deny all
reply_body_max_size 0 allow all
cache_mgr [removed]
cachemgr_passwd root info stats/object
cachemgr_passwd [removed] all
cache_effective_user squid
cache_effective_group squid
visible_hostname proxy.creative.net
http_access deny all
half_closed_clients off
shutdown_lifetime 10 seconds
cache_mgr ADMINISTRATOR