Documente Academic
Documente Profesional
Documente Cultură
27
Posted on Oktober 17, 2010 by PowerNet - JayaNet and 4Gamers 1. Login ke Mikrotik via WinBox 2. Pilih Menu IP kemudian Pilih Web Proxy
9. Add NAT Rule 10. Pada kolom In. Interface isikan ether ang kamu pake 11. Pilih tab Action 12. Buat seperti gambar kemudian klik Apply dan OK
Dah selesai donk Sekarang silahkan di coba proxynya Semoga berhasil http://betulingames.wordpress.com/2010/10/17/seting-web-proxy-di-mikrotik-2-9-27/ 66.220.147.11
Dalam kasus ini yaitu melakukan block facebook atau sejenisnya dengan menggunakan Shell Script (versi mikrotik) yang dijalankan secara otomatis dengan menggunakan scheduler mikrotik v 2.9.27 firewall-nat rule webproxy /ip firewall nat add chain=dstnat protocol=tcp dst-port=80 action=redirect to-ports=8080 enable webproxy ip web-proxy set enabled=yes block content /ip web-proxy access add src-address=0.0.0.0/0 dst-address=0.0.0.0/0 url=facebook action=deny comment=blockfb /ip web-proxy access add src-address=0.0.0.0/0 dst-address=0.0.0.0/0 url=twitter action=deny comment=blocktwi /ip web-proxy access add src-address=0.0.0.0/0 dst-address=0.0.0.0/0 url=orkut action=deny comment=blockorkut
/ip web-proxy access add src-address=0.0.0.0/0 dst-address=0.0.0.0/0 url=friendster action=deny comment=blockfs script for schedule /ip web-proxy access enable [/ip web-proxy access find comment=blockfb] /ip web-proxy access disable [/ip web-proxy access find comment=blockfb] /ip web-proxy access enable [/ip web-proxy access find comment=blocktwi] /ip web-proxy access disable [/ip web-proxy access find comment=blocktwi] /ip web-proxy access enable [/ip web-proxy access find comment=blockorkut] /ip web-proxy access disable [/ip web-proxy access find comment=blockorkut] /ip web-proxy access enable [/ip web-proxy access find comment=blockfs] /ip web-proxy access disable [/ip web-proxy access find comment=blockfs] scheduler /system scheduler add name=fb-08:00 start-date=Nov/25/2009 start-time=08:00:00 interval=1d on-event=fb-deny /system scheduler add name=fb-11:00 start-date=Nov/25/2009 start-time=11:00:00 interval=1d on-event=fb-allow /system scheduler add name=fb-13:00 start-date=Nov/25/2009 start-time=13:00:00 interval=1d on-event=fb-deny /system scheduler add name=fb-16:00 start-date=Nov/25/2009 start-time=16:00:00 interval=1d on-event=fb-allow
http://liiie.wordpress.com/2011/02/22/mikrotik-block-batasi-facebookpada-jam-%E2%80%93-jam-tertentu-jam-kerja/
cara pertama dengan memberi rule sendiri2: [admin@mikrotik] /ip firewall filter> add src-address=192.168.0.10 protocol=tcp dst-port=80 chain=forward action=drop [admin@mikrotik] /ip firewall filter> add src-address=192.168.0.15 protocol=tcp dst-port=80 chain=forward action=drop [admin@mikrotik] /ip firewall filter> add src-address=192.168.0.35 protocol=tcp dst-port=80 chain=forward action=drop
cara kedua dengan membuat list daftar IP dulu: [admin@mikrotik] /ip firewall address-list> add address=192.168.0.10 list=webdrop [admin@mikrotik] /ip firewall address-list> add address=192.168.0.15 list=webdrop
[admin@mikrotik] /ip firewall address-list> add address=192.168.0.35 list=webdrop selanjutnya drop IP yang ada di list tersebut [admin@mikrotik] /ip firewall filter> add src-address-list=webdrop protocol=tcp dstport=80 chain=forward action=drop http://ekonugroho17.blogspot.com/2011/01/mem-blok-ip-komputer-agartidak-bisa.html