The following is the result oprek setting Squid Proxy Jiliid ClarkConnect Community Edition 2. Her results are better than the previous squid setting. Arguably this is a tweaking to optimize squid proxy proxy linux machine. Configuring squid proxy even this you can plug in your ClarkConnect which functioned as a gateway or router. Siilakan studied and adjusted to your Network IP configuration ... This tweaking can you apply to another linux distro, of course, by adjusting the squid you use.
Here's How to configure it the same as before:
1. Clarckconnect your remote ip using WinSCP, FileZilla, CuteFTP or the laen
2. entered into the directory / etc / squid / squid.conf open / edit delete smua contents, then paste existing configuration below. DO NOT FORGET backing up the old squid.conf configuration and IP NETWORK customize your new squid configuration first. If not, then an error occurs when you restart squid in it. Ojo numb .... Mbaaaahhh kekekkeee
3. Save the configuration, and remote Clarkconnect you with putty, restart Squid by typing # / etc / init.d / squid restart ... enter. If the squid stop and start as normal and you can browse ... congratulations .... You have successfully configured your Squid proxy with good and right and running well.
Here is his squid.conf configuration ...
http_port 192.168.1.254:3128 # LAN IPhttp_port 127.0.0.1:3128hierarchy_stoplist cgi-bin? localhostacl QUERY urlpath_regex cgi-bin \? localhostno_cache deny QUERYipcache_size 8192cache_mem 256 MBmaximum_object_size_in_memory 32 KBstore_dir_select_algorithm least-loadminimum_object_size 0 KBrange_offset_limit -1maximum_object_size 200 MBcache_swap_low 98cache_swap_high 99ipcache_low 98ipcache_high 99fqdncache_size 8192cache_dir ufs / var / spool / squid 20000 60 256redirect_program / usr / sbin / adzapperredirect_children 10auth_param ntlm children 15auth_param ntlm max_challenge_reuses 0max_challenge_lifetime 2 minutes auth_param ntlmauth_param ntlm use_ntlm_negotiate onauth_param basic program / usr / lib / squid / squid_ldap_auth-b "dc = host_anda, dc = net"-f "(& (objectclass = pcnProxyAccount) (uid =% s))"-h 127.0.0.1-D "cn = manager, cn = internal, dc = smkyapisbiak, dc = net "-W / etc / squid / ldap.conf-s one-v 3-U-d pcnProxyPasswordauth_param basic children 5auth_param basic realm ClarkConnect Community Edition - Web Proxy2 hours auth_param basic credentialsttlrefresh_pattern-i ^ http:// *. windowsupdate.com / .* 518 400 99% 1440 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i \. (tiff | mov | avi | qt | mpeg | wmv | ra | rm | avi | divx) $ 1,440 90% 432 000 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i \. (class | css | js | gif | jpg | ps) $ 1,440 90% 432 000 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i \. (JPE | jpeg | png | bmp | tif) $ 1,440 90% 432 000 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i \. (mpg | mpe | wav | au | mid | mp3 | mp4 | ac4 | swf) $ 1,440 90% 432 000 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i \. (zip | gz | arj | lha | LZH | 7z) $ 1440 90% 432000 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i \. (zip | tgz | tar | exe | bin | rpm | iso) $ 1,440 90% 432 000 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i \. (hqx | pdf | rtf | doc | swf | xls | ppt | doc | docx | xlsx) $ 1440 90% 432000 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i \. (inc | cab | ad | txt | etc. | dat) $ 1440 90% 432000 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i ^ http:// *. zynga.com / .* 432 000 90% 1440 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i ^ http:// *. friendster.com / .* 432 000 90% 1440 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i ^ http:// *. kompas.com / .* 432 000 90% 1440 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i ^ http:// *. detik.com / .* 432 000 90% 1440 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i ^ http:// *. facebook.com / .* 432 000 90% 1440 override-expire override-lastmod reload-into-imsrefresh_pattern-i ^ http:// *. bhinneka.com / .* 432 000 90% 1440 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i ^ http:// *. fbcdn.net / .* 432 000 90% 1440 override-expire override-lastmod reload-into-imsrefresh_pattern. 720 50% 432 000 reload-into-ims override-lastmodrefresh_pattern ^ ftp:1440 20% 10 080refresh_pattern ^ gopher: 1440 0% 1440refresh_pattern. 0 20% 4320quick_abort_min 0 KBquick_abort_max 0 KBquick_abort_pct 95half_closed_clients offshutdown_lifetime 10 secondsacl all src 0.0.0.0/0.0.0.0acl manager proto cache_objectacl localhost src 127.0.0.0 / 8webconfig_lan acl src 192.168.1.0/24 # IP Network Localwebconfig_to_lan 192.168.1.0/24 # acl dst IP Local Networkto_localhost acl dst 127.0.0.0 / 8proxy_auth REQUIRED acl passwordacl Privoxy dstdomain config.privoxy.orgSSL_ports port 443 563 aclSSL_ports port 81 10000 aclacl Safe_ports port 80acl Safe_ports port 21acl Safe_ports port 443 563acl Safe_ports port 70acl Safe_ports port 210acl Safe_ports port 1025-65535acl Safe_ports port 280acl Safe_ports port 488acl Safe_ports port 591acl Safe_ports port 777acl Safe_ports port 81 82 83 10000 # Web-based administration toolsacl CONNECT method CONNECThttp_access allow manager localhosthttp_access deny managerhttp_access deny! Safe_portshttp_access deny CONNECT! SSL_portsurl_regex sex acl-i "/ etc / squid / sex"deny_info ERR_ACCESS_DENIED sexhttp_access deny sexour_networks acl src 192.168.1.0/24 # IP Network Localhttp_access allow our_networkshttp_access deny Privoxyhttp_access allow localhosthttp_access allow webconfig_to_lanhttp_access allow webconfig_lanhttp_access deny allhttp_reply_access allow alldns_testnames 5icp_access allow all52428800 reply_body_max_size allow allcache_effective_user squidcache_effective_group squidvirtual httpd_accel_hosthttpd_accel_port 80httpd_accel_with_proxy onhttpd_accel_uses_host_header onmemory_pools offmemory_pools_limit 2048 MBforwarded_for offstore_avg_object_size 50 KBreload_into_ims onerror_directory / etc / squid / errorsmaximum_single_addr_tries 3coredump_dir / usr / local / squid / var / cachebalance_on_multiple_ip onpipeline_prefetch ondelay_pools 0positive_dns_ttl 1 yearconnect_timeout 1 minute# Delay_pools 1# Delay_class 1 2# Delay_parameters a -1/-1 16000/64000coredump_dir / var / spool / squidclient_persistent_connections onserver_persistent_connections offpersistent_connection_after_error onie_refresh onvary_ignore_expire onfollow_x_forwarded_for allow localhost
Here's How to configure it the same as before:
1. Clarckconnect your remote ip using WinSCP, FileZilla, CuteFTP or the laen
2. entered into the directory / etc / squid / squid.conf open / edit delete smua contents, then paste existing configuration below. DO NOT FORGET backing up the old squid.conf configuration and IP NETWORK customize your new squid configuration first. If not, then an error occurs when you restart squid in it. Ojo numb .... Mbaaaahhh kekekkeee
3. Save the configuration, and remote Clarkconnect you with putty, restart Squid by typing # / etc / init.d / squid restart ... enter. If the squid stop and start as normal and you can browse ... congratulations .... You have successfully configured your Squid proxy with good and right and running well.
4. Done ... coffee ... sedotz's cigarette ... .. while enjoying browsing the Mak Nyoooooooozzzzzzzzzzzzzz ... ... ... ..
Here is his squid.conf configuration ...
http_port 192.168.1.254:3128 # LAN IPhttp_port 127.0.0.1:3128hierarchy_stoplist cgi-bin? localhostacl QUERY urlpath_regex cgi-bin \? localhostno_cache deny QUERYipcache_size 8192cache_mem 256 MBmaximum_object_size_in_memory 32 KBstore_dir_select_algorithm least-loadminimum_object_size 0 KBrange_offset_limit -1maximum_object_size 200 MBcache_swap_low 98cache_swap_high 99ipcache_low 98ipcache_high 99fqdncache_size 8192cache_dir ufs / var / spool / squid 20000 60 256redirect_program / usr / sbin / adzapperredirect_children 10auth_param ntlm children 15auth_param ntlm max_challenge_reuses 0max_challenge_lifetime 2 minutes auth_param ntlmauth_param ntlm use_ntlm_negotiate onauth_param basic program / usr / lib / squid / squid_ldap_auth-b "dc = host_anda, dc = net"-f "(& (objectclass = pcnProxyAccount) (uid =% s))"-h 127.0.0.1-D "cn = manager, cn = internal, dc = smkyapisbiak, dc = net "-W / etc / squid / ldap.conf-s one-v 3-U-d pcnProxyPasswordauth_param basic children 5auth_param basic realm ClarkConnect Community Edition - Web Proxy2 hours auth_param basic credentialsttlrefresh_pattern-i ^ http:// *. windowsupdate.com / .* 518 400 99% 1440 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i \. (tiff | mov | avi | qt | mpeg | wmv | ra | rm | avi | divx) $ 1,440 90% 432 000 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i \. (class | css | js | gif | jpg | ps) $ 1,440 90% 432 000 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i \. (JPE | jpeg | png | bmp | tif) $ 1,440 90% 432 000 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i \. (mpg | mpe | wav | au | mid | mp3 | mp4 | ac4 | swf) $ 1,440 90% 432 000 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i \. (zip | gz | arj | lha | LZH | 7z) $ 1440 90% 432000 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i \. (zip | tgz | tar | exe | bin | rpm | iso) $ 1,440 90% 432 000 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i \. (hqx | pdf | rtf | doc | swf | xls | ppt | doc | docx | xlsx) $ 1440 90% 432000 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i \. (inc | cab | ad | txt | etc. | dat) $ 1440 90% 432000 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i ^ http:// *. zynga.com / .* 432 000 90% 1440 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i ^ http:// *. friendster.com / .* 432 000 90% 1440 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i ^ http:// *. kompas.com / .* 432 000 90% 1440 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i ^ http:// *. detik.com / .* 432 000 90% 1440 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i ^ http:// *. facebook.com / .* 432 000 90% 1440 override-expire override-lastmod reload-into-imsrefresh_pattern-i ^ http:// *. bhinneka.com / .* 432 000 90% 1440 override-expire override-lastmod reload-into-ims ignore-reloadrefresh_pattern-i ^ http:// *. fbcdn.net / .* 432 000 90% 1440 override-expire override-lastmod reload-into-imsrefresh_pattern. 720 50% 432 000 reload-into-ims override-lastmodrefresh_pattern ^ ftp:1440 20% 10 080refresh_pattern ^ gopher: 1440 0% 1440refresh_pattern. 0 20% 4320quick_abort_min 0 KBquick_abort_max 0 KBquick_abort_pct 95half_closed_clients offshutdown_lifetime 10 secondsacl all src 0.0.0.0/0.0.0.0acl manager proto cache_objectacl localhost src 127.0.0.0 / 8webconfig_lan acl src 192.168.1.0/24 # IP Network Localwebconfig_to_lan 192.168.1.0/24 # acl dst IP Local Networkto_localhost acl dst 127.0.0.0 / 8proxy_auth REQUIRED acl passwordacl Privoxy dstdomain config.privoxy.orgSSL_ports port 443 563 aclSSL_ports port 81 10000 aclacl Safe_ports port 80acl Safe_ports port 21acl Safe_ports port 443 563acl Safe_ports port 70acl Safe_ports port 210acl Safe_ports port 1025-65535acl Safe_ports port 280acl Safe_ports port 488acl Safe_ports port 591acl Safe_ports port 777acl Safe_ports port 81 82 83 10000 # Web-based administration toolsacl CONNECT method CONNECThttp_access allow manager localhosthttp_access deny managerhttp_access deny! Safe_portshttp_access deny CONNECT! SSL_portsurl_regex sex acl-i "/ etc / squid / sex"deny_info ERR_ACCESS_DENIED sexhttp_access deny sexour_networks acl src 192.168.1.0/24 # IP Network Localhttp_access allow our_networkshttp_access deny Privoxyhttp_access allow localhosthttp_access allow webconfig_to_lanhttp_access allow webconfig_lanhttp_access deny allhttp_reply_access allow alldns_testnames 5icp_access allow all52428800 reply_body_max_size allow allcache_effective_user squidcache_effective_group squidvirtual httpd_accel_hosthttpd_accel_port 80httpd_accel_with_proxy onhttpd_accel_uses_host_header onmemory_pools offmemory_pools_limit 2048 MBforwarded_for offstore_avg_object_size 50 KBreload_into_ims onerror_directory / etc / squid / errorsmaximum_single_addr_tries 3coredump_dir / usr / local / squid / var / cachebalance_on_multiple_ip onpipeline_prefetch ondelay_pools 0positive_dns_ttl 1 yearconnect_timeout 1 minute# Delay_pools 1# Delay_class 1 2# Delay_parameters a -1/-1 16000/64000coredump_dir / var / spool / squidclient_persistent_connections onserver_persistent_connections offpersistent_connection_after_error onie_refresh onvary_ignore_expire onfollow_x_forwarded_for allow localhost
No comments:
Post a Comment