[Ask] Installasi squid gak jlan

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
jonim
Posts: 6
Joined: 28 Mar 2012, 09:35
Location: Indonesia

[Ask] Installasi squid gak jlan

Postby jonim » 28 Mar 2012, 11:47

Master2 please help
to the point aja ya, jujur aja nih ane newbie mencoba install squid buat proxy tapi gak jalan.
nih yang ane lakuin

$sudo apt-get update
$sudo apt-get install squid
$sudo cp /etc/squid/squid.conf /etc/squid/squid.conf.bak

$mkdir /usr/local/squid
$mkdir /usr/local/squid/cache
$sudo touch /usr/local/squid/cache.log
$sudo touch /usr/local/squid/access.log
$sudo adduser squid

$sudo chown -Rf squid.squid /usr/local/squid
$sudo chown squid.squid/var/spool/squid -Rf
$sudo chown squid.squid -Rf /etc/squid

$sudo pico /etc/squid/squid.conf
access_log /var/log/squid/access.log squid
acl pcgw src 10.10.0.110/255.255.255.255 #ip pc gw
acl blokporno dstdomain "/etc/squid/porno.txt"
acl keybwordblok url_regex -i "/etc/squid/keyword.txt"
http_access deny blokporno
http_access deny keywordblok
http_access allow localhost
http_access allow pcwg
http_reply_access allow all
icp_access allow localnet
icp_access allow pcwg
icp_access deny all
http_port 3128 transparent
cache_dir ufs /var/spool/squi 100 16 256
cache_mgr gw@email.com
visible_hostname gw@email.com

setelah itu ane jalankan
$sudo squid -z
Squid is already running!

tapi ane test buka detik.com (yang ane masukin ke list porno.txt) tetap kebuka.

belum lagi ane jalain #tail -f /usr/local/squid/access.log
gak terjadi apa-apa

please bgt help me(udah 2 hari udah mulai desperado

Return to “Ubuntu Server”

Who is online

Users browsing this forum: No registered users and 5 guests