http_port 192.168.1.1:3128 transparenticp_port 3130acl youtube dstdomain .youtube.comno_cache allow youtubehierarchy_stoplist cgi-bin ? localhost .js .jsp .friendster.comacl QUERY urlpath_regex cgi-bin \? localhost .friendster.comno_cache deny QUERYcache_replacement_policy heap LFUDAmemory_replacement_policy heap GDSFcache_mem 6 MBcache_dir diskd cache0 12000 28 256cache_dir diskd cache1 12000 28 256cache_swap_low 98cache_swap_high 99cache_access_log /var/log/squid/access.logcache_log /var/log/squid/cache.logcache_store_log /var/log/squid/store.logmime_table /usr/share/squid/mime.confpid_filename /var/run/squid.pidclient_netmask 255.255.255.0refresh_pattern ^ftp: 10080 95% 241920 reload-into-ims override-lastmodrefresh_pattern . 180 95% 120960 reload-into-ims override-lastmodredirect_rewrites_host_header offacl all src 0.0.0.0/0.0.0.0acl manager proto cache_objectacl localnet src 192.168.1.0/255.255.255.0acl localhost src 127.0.0.1/255.255.255.255acl SSL_ports port 443 8443 563 777acl Safe_ports port 25 80 81 110 443 563 6667 7000 777 210 119 70 21 1025-65535acl Safe_ports port 280 6668 6669acl Safe_ports port 488acl Safe_ports port 591acl Safe_ports port 777always_direct deny allacl CONNECT method CONNECThttp_access allow manager localhosthttp_access deny managerhttp_access allow localnethttp_access allow localhosthttp_access deny !Safe_portshttp_access deny CONNECT !SSL_portshttp_access deny CONNECT#httpd_accel_host virtual#httpd_accel_port 80#httpd_accel_with_proxy on#httpd_accel_uses_host_header onhttp_access deny allmaximum_object_size 128 MBmaximum_object_size_in_memory 8 KBipcache_size 4096ipcache_low 98ipcache_high 99quick_abort_min 0quick_abort_max 0quick_abort_pct 75fqdncache_size 4096shutdown_lifetime 10 secondscache_mgr squidku@yahoo.comcache_effective_user proxycache_effective_group proxymemory_pools offbuffered_logs offlog_icp_queries offlogfile_rotate 1log_fqdn offforwarded_for officp_hit_stale onquery_icmp onreload_into_ims onemulate_httpd_log offnegative_ttl 2 minutespipeline_prefetch onvary_ignore_expire onhalf_closed_clients offhigh_page_fault_warning 2nonhierarchical_direct onprefer_direct offvisible_hostname squidku.net.idunique_hostname squidku.net.id
For more configuration we can modificate the configuration above, beside implemented to Debian this configuration can apply to Ubuntu, Linuxmint and other linux distro.
For more information, just visit squid official site.
0 komentar:
Posting Komentar