Black Friday Promo Hosting Unlimited Indonesia
IDCloudHost | SSD Cloud Hosting Indonesia

Membatasi Waktu Internet Proxy Di Mikrotik


Rule ini berguna untuk membuat jam akses internet via webproxy mikrotik yang kita inginkan sesuai dengan scheduler mikrotik.
1. Aktifkan proxy anda di mikrotik atau copy paste script ini ke terminal winbox
/ip proxy set always-from-cache=no cache-administrator=”webmaster” cache-hit-dscp=4 \ cache-on-disk=no enabled=yes max-cache-size=none max-client-connections=\ 600 max-fresh-time=3d max-server-connections=600 parent-proxy=0.0.0.0 \ parent-proxy-port=0 port=3128 serialize-connections=no src-address=\ 0.0.0.0
2. Buat rule access proxy
/ip proxy access add action=deny comment=proxy disabled=no src-address=192.168.20.0/24
3. Buat redirect proxy
/ip firewall nat add action=redirect chain=dstnat comment=Redirect disabled=no in-interface=\local port=3128 protocol=\tcp src-address-list=!allow to-ports=3128
4. Buat script untuk mengatur rule proxy
/system script add name=allow policy=\ ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source=\ “/ip proxy access set [find comment=\”proxy\”] action=allow”add name=deny policy=\ ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source=\ “/ip proxy access set [find comment=\”proxy\”] action=deny”
5. Buat scheduler untuk time aksesnya
/system scheduler add comment=”” disabled=no interval=1w name=allow on-event=allow policy=\ reboot,read,write,policy,test,password,sniff,sensitive start-date=\ may/02/2012 start-time=12:00:00add comment=”” disabled=no interval=1w name=deny on-event=deny policy=\ reboot,read,write,policy,test,password,sniff,sensitive start-date=\ may/02/2012 start-time=13:00:00

Subscribe to receive free email updates: