proxy
a. Hidupkan komputer server, dan login sebagai root.
b. Masukan CD#2 Linux Debian Woody 3.0.
c. Untuk melakukan pemeriksaan paket yang tedapat pada CD Linux Debian
Woody 3.0, ketikan baris perintah berikut:
# apt-cdrom add
d. Ketikan baris perintah berikut:
# apt-get install squid
e. System akan melakukan proses penginstalan.
f. Langkah selanjutnya adalah buka file /etc/squid.conf dan lakukan perubahan
pada tag-tag berikut ini:
http_port 3128
icp_port 3130
tcp_outgoing_address 255.255.255.255
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin ?
no_cache deny QUERY
cache_mem 32 MB //( ¼ x besar RAM)
maximum_object_size 4096 KB
cache_dir ufs /var/spool/squid 100 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
client_netmask 255.255.255.0
acl all src 0.0.0.0 / 0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1 / 255.255.255.255
acl dosa url_regex 'i '/etc/dosa'
acl SSL_ports port 443 563
acl SSL_ports port 80 #http
acl SSL_ports port 21 #ftp
acl SSL_ports port 443 563 #https, snews
acl SSL_ports port 70 #gopher
acl SSL_ports port 210 #wais
acl SSL_ports port 1025-65535 #unregistered ports
acl SSL_ports port 280 #http-mgmt
acl SSL_ports port 488 #gss-http
acl SSL_ports port 591 #filemaker
acl SSL_ports port 777 #multiling http
acl SSL_ports port 901 #SWAT
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny dosa
http_access allow localhost
http_access allow all
icp_access allow all
g. Kemudian buat file '/etc/dosa', yang isinya situs dan kata-kata yang dilarang
seperti:
www.xxx.com
nude
sex
h. Terakhir adalah merestart squid:
# /etc/init.d/squid restart