setting squid minimalis

September 26, 2009 pukul 5:58 am | Ditulis dalam Uncategorized | Tinggalkan komentar

catatan membuat squid.conf  di mix dari berbagai sumber :

#apt-get install squid

#gedit /etc/squid/squid.conf

masukan konfigurasi  file ini

http_port 3128

cache_mem 32 MB
cache_dir ufs /var/spool/squid 1600 4 256
negative_ttl 2 minutes
maximum_object_size 1024 KB
minimum_object_size 4 KB
visible_hostname myServer

cache_swap_low 80
cache_swap_high 100

#Recommended minimum configuration:
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 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 22          # ssh
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 Safe_ports port 995         # SSL
acl Safe_ports port 587         # TLS
acl purge method PURGE
acl CONNECT method CONNECT

http_access allow all

#:wq

#/etc/init.d/squid restart

squidlogo

ref://squid-cache.org

Tinggalkan sebuah Komentar »

RSS umpan untuk komentar-komentar dalam tulisan ini. URI Lacak Balik

Tinggalkan Balasan

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 / Ubah )

Twitter picture

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

Facebook photo

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

Connecting to %s

Blog pada WordPress.com. | Theme: Pool by Borja Fernandez.
Tulisan dan komentar feeds.

Ikuti

Get every new post delivered to your Inbox.