Bw 2mbps/512kbps
Lan ethernet=ether2
Local ip router=192.168.88.1/27
/system scheduler
add disabled=no interval=1d name=sch-nice on-event=":if ([:len [/file find name=nice.rsc]] > 0) do={/file remove nice.rsc } ;/tool fetch url=http://ixp.mikrotik.co.id/download/nice.rsc ;/import nice.rsc" policy=ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive,api start-date=jan/01/1970 start-time=06:00:00
/ip firewall mangle
add action=mark-connection chain=forward comment="Point Blank" dst-address-list=nice dst-port=39190 new-connection-mark=conn.games protocol=tcp
add action=mark-connection chain=forward dst-address-list=nice dst-port=40000-40010 new-connection-mark=conn.games protocol=udp
add action=mark-connection chain=forward comment=Rohan dst-address-list=nice dst-port=22100 new-connection-mark=conn.games protocol=tcp
add action=mark-connection chain=forward comment="Ayo Dance" dst-address-list=nice dst-port=18901-18910 new-connection-mark=conn.games protocol=tcp
add action=mark-packet chain=forward connection-mark=conn.games new-packet-mark=pack.games passthrough=no
add action=mark-connection chain=forward connection-mark=!conn.heavy new-connection-mark=conn.all src-address=192.168.88.0/27
add action=mark-connection chain=forward connection-bytes=256000-0 connection-mark=conn.all connection-rate=100k-100M new-connection-mark=conn.heavy protocol=tcp
add action=mark-connection chain=forward connection-bytes=256000-0 connection-mark=conn.all connection-rate=100k-100M new-connection-mark=conn.heavy protocol=udp
add action=mark-packet chain=forward connection-mark=conn.all new-packet-mark=pack.all passthrough=no
add action=mark-packet chain=forward connection-mark=conn.heavy new-packet-mark=pack.heavy passthrough=no
/queue type
add kind=pcq name=q.ty.upload pcq-burst-rate=256k pcq-burst-threshold=128k
pcq-classifier=src-address pcq-dst-address6-mask=64 pcq-rate=96k
pcq-src-address6-mask=64
add kind=pcq name=q.ty.heavy pcq-burst-rate=512k pcq-burst-threshold=384k
pcq-burst-time=16s pcq-classifier=dst-address pcq-dst-address6-mask=64
pcq-rate=256k pcq-src-address6-mask=64
add kind=pcq name=q.ty.game pcq-burst-rate=384k pcq-burst-threshold=256k
pcq-burst-time=16s pcq-classifier=dst-address pcq-dst-address6-mask=64
pcq-rate=128k pcq-src-address6-mask=64
add kind=pcq name=q.ty.all pcq-burst-rate=512k pcq-burst-threshold=256k
pcq-burst-time=16s pcq-classifier=dst-address pcq-dst-address6-mask=64
pcq-rate=384k pcq-src-address6-mask=64
/queue simple
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=upload disabled=no interface=ether2 limit-at=128k/0 max-limit=512k/0 name=qs-up-total
packet-marks="" parent=none priority=8 queue=q.ty.upload/default-small target-addresses="" total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=download disabled=no interface=ether2 limit-at=0/0 max-limit=512k/2M name=qs-ds-total
packet-marks="" parent=none priority=8 queue=default-small/default-small target-addresses="" total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=download disabled=no interface=ether2 limit-at=0/384k max-limit=0/512k name=qs.game
packet-marks=pack.games parent=qs-ds-total priority=6 queue=default-small/q.ty.game target-addresses="" total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=download disabled=no interface=ether2 limit-at=0/512k max-limit=0/1536k name=qs-non-game
packet-marks="" parent=qs-ds-total priority=8 queue=default-small/default-small target-addresses="" total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=download disabled=no interface=ether2 limit-at=0/0 max-limit=0/1M name=qs.all packet-marks=
pack.all parent=qs-non-game priority=7 queue=default-small/q.ty.all target-addresses="" total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=download disabled=no interface=ether2 limit-at=0/0 max-limit=0/1M name=qs.heavy
packet-marks=pack.heavy parent=qs-non-game priority=8 queue=default-small/q.ty.heavy target-addresses="" total-queue=default-small
/ip fi ma add copy-from=1 protocol={jenis protocol} dst-port={port games} comment=nama-games
.. dst
No comments:
Post a Comment