Squid ClarkConnect Community Edition 5.0 - Organisasi Radio Wifi Kuningan (ORWIN) | Situs Tutorial Mikrotik Dan Proxy | Indonesia
News Update
Loading...

Saturday, August 6, 2011

Squid ClarkConnect Community Edition 5.0

Berikut ini adalah konfigurasi squid yang berhasil di oprek, dengan konfigurasi ini, kiranya dapat mendongkrak akses internet anda. Hal yang paling penting adalah perhatikan IP Address yang ada di konfigurasi berikut, sesuaikan dengan ip lokal anda. Konfigurasi inipun dapat juga anda sesuaikan dengan squid distro Linux yang lain dan sesuaikan dengan kebutuhan anda . OK langsung ke TKP…
Langkah-langkah nya,
1. install winscp, remote ip lokal CC, cari folder /ect/squid
2. back up dolo squid.conf anda terlebih dahulu, untuk menghindari kegagalan setting.
3. double click squid.conf, blok smua isi nya, delete, paste kan konfigurasi yang ada di blog ini dan sesuaikan ip local anda.
4. berikut konfigurasi squid clarkconnect versi community edition 5.0
5, setelah selesai mengkonfigurasi squid, restart squid anda dengan perintah # /etc/init.d/squid restart   enter..
jika tidak ada kesalahan setting maka squid akan stop dan restart secara normal. jika ada error.. perhatikan error nya dan set ulang, restart squid…
==================================================================
redirect_program /usr/sbin/adzapper
auth_param basic children 15
auth_param basic realm Web Proxy
auth_param basic credentialsttl 2 hours
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.2.0/24   # IP Network lokal, sesuaikan dg ip local anda
acl webconfig_to_lan dst 192.168.2.0/24   # IP Network lokal, sesuaikan dg ip local anda
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
acl sex url_regex -i “/etc/squid/sex”  #file sex dapat anda download di menu download blog ini
deny_info ERR_ACCESS_DENIED sex        #file sex dapat anda download di menu download blog ini
http_access deny sex      #file sex dapat anda download di menu download blog ini
acl our_networks src 192.168.2.0/24  # IP Network lokal, sesuaikan dg ip local anda
http_access allow our_networks
http_access allow localhost
http_access allow webconfig_to_lan
http_access allow webconfig_lan
http_access deny all
icp_access allow all
reply_body_max_size 52428800 allow all
http_port 10.22.85.254:3128 transparent
http_port 127.0.0.1:3128 transparent
hierarchy_stoplist cgi-bin ?
cache_dir ufs /var/spool/squid 51200 16 256
maximum_object_size 4096 KB
access_log /var/log/squid/access.log squid
url_rewrite_children 15
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
refresh_pattern ^ftp:  1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern .  0 20% 4320
quick_abort_min 0 KB
quick_abort_max 0 KB
quick_abort_pct 98
store_avg_object_size 13 KB
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
ie_refresh on
vary_ignore_expire on
half_closed_clients off
shutdown_lifetime 10 seconds
cache_effective_user squid
cache_effective_group squid
httpd_accel_no_pmtu_disc off
delay_pools 1
delay_class 1 2
delay_access 1 allow our_networks
delay_access 1 deny all
delay_parameters 1 -1/-1 16000/64000
client_persistent_connections on
server_persistent_connections off
persistent_connection_after_error on
detect_broken_pconn on
error_directory /etc/squid/errors
check_hostnames off
ipcache_size 8192
ipcache_low 98
ipcache_high 99
fqdncache_size 8192
memory_pools off
memory_pools_limit 2048 MB
forwarded_for off
reload_into_ims on
maximum_single_addr_tries 3
coredump_dir /var/spool/squid
balance_on_multiple_ip on
follow_x_forwarded_for allow localhost

Share with your friends

Give us your opinion

Notification
This is just an example, you can fill it later with your own note.
Done