cara blocked web

buat dulu file dg mengunakan vim.
contoh :
1. vim /etc/squid/weblocked.
2. chmod +x weblocked ( setlah membuat file kita harus exsekusi dg cara chmod +x nama file )
3. edit file squid dan tambah kan file yg telah di buat :
acl webloked url_regex -i “/etc/squid/weblocked.txt ”
http_access deny weblocked.txt
4. restart squid dg cara /etc/init.d/squid restart

* CARA BLOCKED TIME *

acl hari_kerja time MTWHF 08:00-17:30
hari_kerja adalah variabel nya pengenal (identifier)
time perintahin Untuk ngset jam
MTWHF berarti
M=Monday, T=Tuesday, W=Wednesday, H=Thurday, F=Friday, A=Saturday, S=Sunday
08:00-17:30 berarti
jam segitu yang kita kasi akses ke inet.

Leave a Reply

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

Twitter picture

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

Facebook photo

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

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: