Konfigurasi Squid Linux Debian

 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

Possibly related posts: (automatically generated)

3 Komentar

  1. ewot.tk said,

    terima kasih infonya
    Kebetulan sekolahku lagi ujian squid
    Salam kenal ya
    http://www.ewot.tk

  2. zulferamon said,

    setingan squid untuk memblock sebuah situs: contoh memblock situs profilku.com gmn caranya

  3. fajrulazmi2012 said,

    Beda dengan hafalan kami di sekolah..

    Cp squid.conf squid.conf.backup
    Ls
    Nano squid.conf
    Acl.a tidak banyak x cem tuh :)

Berikan Balasan

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

WordPress.com Logo

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

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

Ikuti

Get every new post delivered to your Inbox.

%d blogger menyukai ini: