Professional Documents
Culture Documents
Scrip Mikrotik
Scrip Mikrotik
/queue tree
add max-limit=8M name="7.HOTSPOT&CLIEN RUMAHAN DOWNLOAD" parent=global
add max-limit=4M name="8.HOTSPOT&CLIEN RUMAHAN UPLUAD" parent=global
add max-limit=2M name="1.SELAIN PORT UMUM RINGAN GAME ONLINE DOWN" \
packet-mark="PORT SELAIN PORT UMUM(GAME) DOWN" parent=global priority=1 \
queue=pcq-download-default
add max-limit=0M name="2.SELAIN PORT UMUM RINGAN GAME ONLINE UP" \
packet-mark="PORT SELAIN PORT UMUM(GAME) UPLUAD" parent=global priority=1 \
queue=pcq-upload-default
add max-limit=4M name="1.USER HOTSPOT DOWN" parent=\
"7.HOTSPOT&CLIEN RUMAHAN DOWNLOAD" queue=pcq-download-default
add max-limit=1M name="1.USER HOTSPOT UP" parent=\
"8.HOTSPOT&CLIEN RUMAHAN UPLUAD" queue=pcq-upload-default
add max-limit=2M name="3.PAKET ICMP" packet-mark="ICMP DOWN" parent=global \
priority=1 queue=pcq-download-default
/system scheduler
add name=deluser-startup on-event="/ip firewall mangle remove [find where comm\
ent=\"user_hotspot\"]\r\
\n/queu tree remove [find where comment=\"user_hotspot\"]" policy=\
ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
start-time=startup
/queue tree
add max-limit=2M name=HeriDOWN packet-mark=HeriDOWN parent="2.CLIEN RUMAHAN DOWN" \
queue=pcq-download-default
add max-limit=1M name=HeriUP packet-mark=HeriUP parent="2.CLIEN RUMAHAN UP" queue=\
pcq-upload-default
/queue tree
add max-limit=2M name=DarDOWN packet-mark=DarDOWN parent="2.CLIEN RUMAHAN DOWN" \
queue=pcq-download-default
add max-limit=1M name=DarUP packet-mark=DarUP parent="2.CLIEN RUMAHAN UP" queue=\
pcq-upload-default
/queue tree
add max-limit=4M name=FarahDOWN packet-mark=FarahDOWN parent="2.CLIEN RUMAHAN DOWN" \
queue=pcq-download-default
add max-limit=1M name=FarahUP packet-mark=FarahUP parent="2.CLIEN RUMAHAN UP" queue=\
pcq-upload-default
/ip firewall mangle
add action=mark-packet chain=forward comment=Laptop2DOWN connection-mark=\
"!PORT SELAIN PORT UMUM ( GAME )" dst-address=192.168.3.8 in-interface=\
inet new-packet-mark=Laptop2DOWN packet-mark="!ICMP DOWN" \
passthrough=yes
add action=mark-packet chain=forward comment=Laptop2UP connection-mark=\
"!PORT SELAIN PORT UMUM ( GAME )" new-packet-mark=Laptop2UP out-interface=\
inet packet-mark="!ICMP DOWN" passthrough=yes src-address=\
192.168.3.8
/queue tree
add max-limit=5M name=Laptop2DOWN packet-mark=Laptop2DOWN parent="2.CLIEN RUMAHAN DOWN" \
queue=pcq-download-default
add max-limit=3M name=Laptop2UP packet-mark=Laptop2UP parent="2.CLIEN RUMAHAN UP" queue=\
pcq-upload-default
/queue tree
add max-limit=2M name=tesDOWN packet-mark=tesDOWN parent="2.CLIEN RUMAHAN DOWN" \
queue=pcq-download-default
add max-limit=3M name=tesUP packet-mark=tesUP parent="2.CLIEN RUMAHAN UP" queue=\
pcq-upload-default
1
3
4