0% found this document useful (0 votes)
6 views1 page

Script Queue Tree Hotspot

Uploaded by

agus rizal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views1 page

Script Queue Tree Hotspot

Uploaded by

agus rizal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

:local datetime [/system clock get date];

:local timedate [/system clock get time];


[/ip firewall mangle add action=mark-packet chain=forward comment=user_hotspot dst-
address="$address" new-packet-mark=("paket-down"."$address") \ passthrough=no];
[/ip firewall mangle add action=mark-packet chain=forward comment=user_hotspot new-
packet-mark=("paket-up"."$address") passthrough=no src-address=\ "$address"];
[/queue tree add max-limit=2M name=("$user_hotspot"." ----> down "."$address")
packet-mark=("paket-down"."$address") parent="HOTSPOT-D"];
[/queue tree add max-limit=1M name=("$user_hotspot"." ----> up "."$address")
packet-mark=("paket-up"."$address") parent="HOTSPOT-U"];

-----------------------------------------------------------------------------------
------------------------------

/queue tree remove [find packet-mark=("paket-down"."$address")] ;


/queue tree remove [find packet-mark=("paket-up"."$address")] ;
/ip firewall mangle remove [find where new-packet-mark=("paket-down"."$address")]
/ip firewall mangle remove [find where new-packet-mark=("paket-up"."$address")]

CATATAN >>>>> Parent>>>>>>> parent="HOTSPOT-D" dan parent="HOTSPOT-U" sesuaikan


saja dengan nama parent anda,silahkan di amatin di video

You might also like