Konfigurasi SQUID

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 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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s