Difference between revisions of "DansGuardian: Instalasi dengan Squid"

From OnnoWiki
Jump to navigation Jump to search
(Created page with "Instalasi apt install squid dansguardian")
 
 
Line 1: Line 1:
Instalasi
+
==Install==
  
 +
sudo su
 +
locale-gen id_ID.UTF-8
 +
apt update
 
  apt install squid dansguardian
 
  apt install squid dansguardian
 +
freshclam &
 +
 +
==Konfigurasi==
 +
 +
Edit
 +
 +
vi /etc/dansguardian/dansguardian.conf
 +
 +
Ubah,
 +
 +
accessdeniedaddress = 'http://YOURSERVER.YOURDOMAIN/cgi-bin/dansguardian.pl'
 +
 +
Misalnya (IP server 192.168.0.100)
 +
 +
accessdeniedaddress = 'http://192.168.0.100/cgi-bin/dansguardian.pl'
 +
 +
 +
Ubah,
 +
 +
UNCONFIGURED - Please remove this line after configuration
 +
 +
Jadi
 +
 +
# UNCONFIGURED - Please remove this line after configuration
 +
 +
 +
==Start Service==
 +
 +
 +
Restart
 +
 +
/etc/init.d/squid restart
 +
/etc/init.d/dansguardian restart
 +
 +
selesai
 +
 +
==Setup di Sisi Client==
 +
 +
Pastikan proxy server di arahkan ke
 +
 +
IP address Server DansGuardian
 +
Port      8080
 +
 +
DansGuardian akan membaca text Web yang di akses. Jika ada kata-kata yang tidak pantas, akan terblokir seperti tampak pada gambar.
 +
 +
[[Image:Google-dansguardian-block.jpg|center|200px|thumb]]
 +
 +
 +
 +
 +
 +
==Pranala Menarik==
 +
 +
* [[Firewall Untuk Proxy DansGuardian]]
 +
* [[Edit Konfigurasi Pemblokiran Dansguardian]]
 +
* [[Teknik Memblok Situs Tidak Baik]]
 +
* [[Instalasi antivirus clamav]]
 +
* [[Linux Howto]]

Latest revision as of 07:57, 23 June 2017

Install

sudo su
locale-gen id_ID.UTF-8
apt update
apt install squid dansguardian
freshclam &

Konfigurasi

Edit

vi /etc/dansguardian/dansguardian.conf 

Ubah,

accessdeniedaddress = 'http://YOURSERVER.YOURDOMAIN/cgi-bin/dansguardian.pl'

Misalnya (IP server 192.168.0.100)

accessdeniedaddress = 'http://192.168.0.100/cgi-bin/dansguardian.pl'


Ubah,

UNCONFIGURED - Please remove this line after configuration

Jadi

# UNCONFIGURED - Please remove this line after configuration


Start Service

Restart

/etc/init.d/squid restart
/etc/init.d/dansguardian restart

selesai

Setup di Sisi Client

Pastikan proxy server di arahkan ke

IP address Server DansGuardian
Port       8080

DansGuardian akan membaca text Web yang di akses. Jika ada kata-kata yang tidak pantas, akan terblokir seperti tampak pada gambar.

Google-dansguardian-block.jpg



Pranala Menarik