Konfigurasi SQUID

Ø Install paket squid untuk versi yang terbaru

#apt-get install squid

Ø Mengedit script squid.conf

#pico /etc/squid/squid.conf

visible_hostname (hostname yg diperlukan)

cache_mgr (alamat e-mail)

http_port 3128 transparent

always_direct allow all

cache_dir ufs /var/spool/squid 500 16 256

dan Edit juga script di bawah ini :

acl all src 0.0.0.0/0.0.0.0

acl lab1 src 192.168.1.0/255.255.255.0

acl tidak dstdomain http://www.friendster.com

acl manager proto cache_object

acl localhost src 127.0.0.1/255.255.255.255

acl to_localhost dst 127.0.0.0/8

acl SSL_ports port 443 # https

acl SSL_ports port 563 # snews

acl SSL_ports port 873 # rsync

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 631 # cups

acl Safe_ports port 873 # rsync

acl Safe_ports port 901 # SWAT

acl purge method PURGE

acl CONNECT method CONNECT

Ø Membuat cache directory dengan mengetikkan perintah

#squid –z

Ø Merestart daemon Squid

#/etc/init.d/squid restart

Ø Untuk test apakah konfigurasi Anda sudah berhasil, buka Internet Explorer è

tools è

internet options è

connections è

LAN setting è

Pilih use automatic configuration script è

lalu isikan pada address alamat server kita


Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

 
%d blogger menyukai ini: