Login to Website

Login dengan Facebook

 

Post Reply
Thread Tools
  #1  
Old 24th October 2012
CaraCepet's Avatar
CaraCepet
Ceriwiser
 
Join Date: Oct 2012
Posts: 786
Rep Power: 14
CaraCepet mempunyai hidup yang Normal
Default Squid high performa 2,6 stable for proxy server

SETTING SQUID HIGH PERFORMA 2,6 STABLE



acl all src 0.0.0.0/0.0.0.0

acl manager proto cache_object

acl localhost src 127.0.0.0/8

acl webconfig_lan src 192.168.10.0/24

acl webconfig_to_lan dst 192.168.10.0/24

acl to_localhost dst 127.0.0.0/8

acl SSL_ports port 443

acl SSL_ports port 81 83 10000

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 Safe_ports port 81 82 83 10000 # Web-based administration tools

acl CONNECT method CONNECT



http_access allow manager localhost

http_access deny manager

http_access deny !Safe_ports

http_access deny CONNECT !SSL_ports

http_access allow localhost

http_access allow webconfig_to_lan

http_access allow webconfig_lan

http_access deny all



reply_body_max_size 0 allow all



http_port 192.168.10.1:3128 transparent

http_port 127.0.0.1:3128 transparent



hierarchy_stoplist cgi-bin ?



cache_mem 128 MB



maximum_object_size_in_memory 32 KB



cache_dir ufs /var/spool/squid 10240 16 256



minimum_object_size 1 KB



maximum_object_size 131072 KB

maximum_object_size_in_memory 32 KB



cache_swap_low 98

cache_swap_high 99



access_log /var/log/squid/access.log squid



acl QUERY urlpath_regex cgi-bin \?

cache deny QUERY



#Suggested default:

refresh_pattern ^ftp: 10080 95% 241920

refresh_pattern ^gopher: 1440 0% 1440

refresh_pattern -i \.(iso|avi|wav|mp3|mp4|mpeg|mpg|swf|flv|x-flv)$ 43200 90% 432000 override-expire ignore-no-cache ignore-private

refresh_pattern -i \.(gif|png|jpg|jpeg|ico)$ 10080 90% 43200 override-expire ignore-no-cache ignore-private

refresh_pattern -i \.(deb|rpm|exe|zip|tar|tgz|ram|rar|bin|pdf|ppt|doc |tiff)$ 10080 90% 43200 override-expire ignore-no-cache ignore-private

refresh_pattern -i \.index.(html|htm|php|asp|aspx)$ 0 40% 10080

refresh_pattern -i \.(html|htm|css|js) 1440 40% 40320

refresh_pattern . 180 95% 120960



quick_abort_min 0 KB

quick_abort_max 0 KB

quick_abort_pct 98



acl apache rep_header Server ^Apache

broken_vary_encoding allow apache



ipcache_size 4096

ipcache_low 98

ipcache_high 99



fqdncache_size 8192



cache_replacement_policy heap GDSF

memory_replacement_policy heap GDSF



coredump_dir /var/spool/squid



follow_x_forwarded_for allow localhost

acl lokal src 192.168.10.0/24

acl ekstensiblok url_regex -i \.wmv \.mpg \.mpeg \.wma \.wav \.3gp \.3gpp \.avi \.dat \.aac \.ogg \.mp4 \.mp3 \.mov \.rar \.zip \.7z \.iso \.ace \.exe \.torrent \.mkv \.flv \.rm



delay_pools 1

delay_class 1 1

delay_parameters 1 40000/1000000

delay_access 1 allow ekstensiblok lokal

delay_access 1 deny ALL



setting squid 40 persen hit..

ada yang mau mencoba >>>>>>>



u can share ini

http://m.kaskus.us/thread/3062568




Sponsored Links
Space available
Post Reply




Switch to Mobile Mode

no new posts