Ads

Ads Here

Minggu, 23 Agustus 2009

Web Proxy dengan Squid Proxy Server

Banyak hal yang bisa disetting pada squid.conf, tetapi baris-baris yang paling perlu diedit adalah sebagai berikut:


Potongan file squid.conf

#=================================================

http_port 8080

cache_effective_user squid


cache_effective_group squid

cache_mem 3000 MB

cache_swap low 90

cache_swap high 95

cache_dir ufs /cache 3000 16 256

cache_access_log /usr/local/squid/logs/access.log

cache_log /usr/local/squid/logs/cache.log

cache_store_log none

mime_table /usr/local/squid/etc/mime.conf


pid_filename /usr/local/squid/logs/squid.pid

logile_rotate 10

visible_hostname proxy.smkn1-tpi.org #tergantung domain

cache_mgr root #ganti root dengan, misal: admin@smkn1-tpi.org


#Access Control List (ACL)

#tak perlu banyak diubah, yang penting edit baris:

acl our_networks src 192.168.0.0/24 #tergantung IP jaringan

http_access allow our_networks

#=======================================


Tidak ada komentar:

Posting Komentar