#================= Biar lebih keren =============================================== http_port 127.0.0.1:3128 transparent cache_mgr alyauma@ semausaya.com forwarded_for off visible_hostname Proxy-SOHIBUNA.BLOGSPOT.COM server_http11 on #================= DNS Milik TELKOM, Silakan di Ganti jika pakai provider lain ==== # dns_nameservers 202.134.1.10 202.134.0.155 #================= Cache Mem sesuaikan dengan memory dengan cara Total Memory:3 === cache_mem 300 MB maximum_object_size 50 MB maximum_object_size_in_memory 128 KB cache_swap_low 98% cache_swap_high 99% cache_replacement_policy heap LFUDA memory_replacement_policy heap GDSF #================= Log dan Cache Directories/Folder ============================== cache_dir ufs F:/cache 500 16 256 cache_access_log C:/squid/var/logs/access.log cache_log none cache_store_log none mime_table C:/squid/etc/mime.conf pid_filename C:/squid/var/logs/squid.pid coredump_dir C:/squid/var/logs/ acl apache rep_header Server ^Apache broken_vary_encoding allow apache maximum_object_size 4194240 KB maximum_object_size_in_memory 1024 KB negative_ttl 2 minutes half_closed_clients off ipcache_size 4096 ipcache_low 95 ipcache_high 100 #================= LOG yang ga bermanfaat ====================================== log_fqdn off log_icp_queries off buffered_logs off emulate_httpd_log off memory_pools off reload_into_ims on pipeline_prefetch on acl all src all acl manager proto cache_object acl localhost src 127.0.0.1/32 acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 acl localnet src 10.0.0.0/8 # RFC1918 possible internal network acl localnet src 172.16.0.0/12 # RFC1918 possible internal network acl localnet src 192.168.0.0/16 # RFC1918 possible internal network acl SSL_ports port 443 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https 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 CONNECT method CONNECT #================= Yahoo! Messenger ============================================== acl ym dstdomain .messenger.yahoo.com .psq.yahoo.com acl ym dstdomain .us.il.yimg.com .msg.yahoo.com .pager.yahoo.com acl ym dstdomain .rareedge.com .ytunnelpro.com .chat.yahoo.com acl ym dstdomain .voice.yahoo.com acl ymregex url_regex yupdater.yim ymsgr myspaceim #================= Protokol lain Yahoo!Messenger ================================= acl ym dstdomain .skype.com .imvu.com #================= Testing doang, siapa tahu bermanfaat ========================= refresh_pattern ^http://([^/]+)yahoo\..*$ 10080 80% 43200 reload-into-ims refresh_pattern ^http://([^/]+)google\..*$ 10080 80% 43200 reload-into-ims refresh_pattern ^http://([^/]+)facebok\..*$ 10080 80% 43200 reload-into-ims refresh_pattern ^http://([^/]+)fbcdn\..*$ 10080 80% 43200 reload-into-ims refresh_pattern ^http://([^/]+)zynga\..*$ 10080 80% 43200 reload-into-ims refresh_pattern ^http://([^/]+)ninjasaga\..*$ 10080 80% 43200 reload-into-ims refresh_pattern ^http://([^/]+)texas_holdem\..*$ 10080 80% 43200 reload-into-ims refresh_pattern ^http://([^/]+)indowebster\..*$ 10080 80% 43200 reload-into-ims refresh_pattern ^http://([^/]+)4shared\..*$ 10080 80% 43200 reload-into-ims refresh_pattern ^http://([^/]+)yimg\..*$ 10080 80% 43200 reload-into-ims refresh_pattern ^http://([^/]+)plasa\..*$ 10080 80% 43200 reload-into-ims refresh_pattern ^http://([^/]+)detik\..*$ 10080 80% 43200 reload-into-ims refresh_pattern ^http://([^/]+)detikinet\..*$ 10080 80% 43200 reload-into-ims refresh_pattern ^http://([^/]+)detikhot\..*$ 10080 80% 43200 reload-into-ims refresh_pattern ^http://([^/]+)detikportal\..*$ 10080 80% 43200 reload-into-ims refresh_pattern ^http://([^/]+)google-analytics\..*$ 10080 80% 43200 reload-into-ims refresh_pattern ^http://([^/]+)kapanlagi\..*$ 10080 80% 43200 reload-into-ims #================= Manual configuration =============================================== refresh_pattern ^http://(.*?)/get_video\? 1440 50% 43200 refresh_pattern ^http://(.*?)/videoplayback\? 1440 50% 43200 refresh_pattern -i (get_video\?|videoplayback\?id|videoplayback.*id) 1440 50% 43200 #================= Website ============================================================ refresh_pattern -i \.(class|css|js|ps|psf|html|xml)$ 1440 50% 43200 refresh_pattern -i \.(css\?|js\?)$ 1440 50% 43200 #================= Gambar ============================================================= refresh_pattern -i \.(bmp|gif|jpeg|jpg|png|psd|tif|tiff)$ 1440 50% 43200 refresh_pattern -i \.(gif\?|jpg\?|png\?|jpeg\?|psd\?)$ 1440 50% 43200 #================= Multimedia ========================================================= refresh_pattern -i \.(3gp|ac4|asf|au|avi|divx|flv|m4p|mid|mov|mp3|mp4)$ 1440 50% 43200 refresh_pattern -i \.(mpa|mpe|mpeg|mpg|qt|ra|rm|rmvb|swf|viv|wav|wmp|wmv)$ 1440 50% 43200 #================= Kompresor ========================================================== refresh_pattern -i \.(7z|ace|arj|bin|bz2|deb|dmg|gz|gz2)$ 1440 50% 43200 refresh_pattern -i \.(iso|lha|lzh|rar|rpm|tar|tgz|txz|zip)$ 1440 50% 43200 #================= Windows Punya ====================================================== refresh_pattern -i \.(ad|cab|dat|dll|exe|inc|qtm)$ 1440 50% 43200 refresh_pattern -i \.(doc|docx|hqf|pdf|ppt|pptx|rtf|txt|xls|xlsx)$ 1440 50% 43200 refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern cgi-bin 0 0% 0 refresh_pattern \? 0 20% 4320 refresh_pattern . 0 20% 4320 storeurl_access deny all http_access allow manager localhost http_access allow ym http_access allow localhost http_access allow localNet http_access deny manager http_access deny !Safe_ports http_access deny CONNECT !SSL_ports http_access deny all http_reply_access allow all icp_access allow all #================= YouTube options. =================================================== quick_abort_min -1 KB cache allow all header_access Proxy-Connection deny all header_access Cache-Control deny all header_access X-Cache deny all header_access X-Cache-Lookup deny all header_access X-Powered-By deny all header_access Via deny all header_access Forwarded-For deny all header_access X-Forwarder-For deny all #================= Kalau pakai modem yang IP-nya sering ganti ========================== windows_ipaddrchangemonitor on