Tutorial blokir situs porno dan fb di mikrotik os

Posted by Android On Selasa, 08 Juni 2010 0 komentar
untuk setting awal bisa dilihat disini dan disini
pagi-pagi abis pulang dari kampus dapet ide nih gara-gara tadi mau hotspotan ehh FB di blokir.. dalam hati saya bertanya bagaimana cara memblokir FB dan situs-situs porno pada mikrotik.. hehehe.. langsung menuju ke TKP>>mbah google hwhwhwhw oke langsung aja

Asumsinya mikrotik sudah bisa jalan, dan juga digunakan sebagai web proxy. Berikut langkahnya :
Blokir Facebook, situs porno, youtube dan situs yang mengandung kata-kata tersebut. Masukkan script berikut di terminal mikrotik :

ip web-proxy access
add dst-port=80 url="facebook.com" action=deny comment="satu" disabled=no
add dst-port=80 url="*.facebook.com" action=deny comment="dua" disabled=no
add dst-port=80 url="*porn*.com" action=deny comment="tiga" disabled=no
add dst-port=80 url="*sex*.com" action=deny comment="empat" disabled=no
add dst-port=80 url="*tube*.com" action=deny comment="lima" disabled=no
add dst-port=80 url="*porn*" action=deny comment="enam" disabled=no
add dst-port=80 url="*sex*" action=deny comment="tujuh" disabled=no


Membuat Scheduler pada jam 08.00 – 15.00. (JAM KERJA)

/ system script
add name=jam-allow policy=policy=ftp,reboot,read,write,policy,test,winbox,password source={
/ip web-proxy access set [/ip web-proxy access find comment=satu] disable=yes
/ip web-proxy access set [/ip web-proxy access find comment=dua] disable=yes
/ip web-proxy access set [/ip web-proxy access find comment=tiga] disable=yes
/ip web-proxy access set [/ip web-proxy access find comment=empat] disable=yes
/ip web-proxy access set [/ip web-proxy access find comment=lima] disable=yes
/ip web-proxy access set [/ip web-proxy access find comment=enam] disable=yes
/ip web-proxy access set [/ip web-proxy access find comment=tujuh] disable=yes}
/ system scheduler
add name="schedule-jam-allow" on-event=jam-allow start-date=jan/01/1970 start-time=16:00:00 interval=1d comment="" disabled=no


Membuat Scheduler pada jam 15.00 – 08.00

/ system script
add name=jam-deny policy=policy=ftp,reboot,read,write,policy,test,winbox,password source={
/ip web-proxy access set [/ip web-proxy access find comment=satu] disable=no
/ip web-proxy access set [/ip web-proxy access find comment=dua] disable=no
/ip web-proxy access set [/ip web-proxy access find comment=tiga] disable=no
/ip web-proxy access set [/ip web-proxy access find comment=empat] disable=no
/ip web-proxy access set [/ip web-proxy access find comment=lima] disable=no
/ip web-proxy access set [/ip web-proxy access find comment=enam] disable=no
/ip web-proxy access set [/ip web-proxy access find comment=tujuh] disable=no}

/ system scheduler
add name="schedule-jam-allow" on-event=jam-deny start-date=jan/01/1970 start-time=08:00:00 interval=1d comment="" disabled=no   



yap segitu penjelasan dari saya

thnks to: http://jauhdimata.com

0 komentar:

Posting Komentar