Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pastikan ip address mikrotik yang dipakai ada dalam range ip dibawah ini
- /ip firewall address-list
- add address=10.0.0.0/8 list=private-lokal
- add address=172.16.0.0/12 list=private-lokal
- add address=192.168.0.0/16 list=private-lokal
- #WAN ether mikrotik = ether1
- #mangle
- /ip firewall mangle
- add action=accept chain=input dst-address-list=private-lokal src-address-list=private-lokal
- add action=accept chain=prerouting dst-address-list=private-lokal src-address-list=private-lokal
- add action=accept chain=forward dst-address-list=private-lokal src-address-list=private-lokal
- add action=accept chain=postrouting dst-address-list=private-lokal src-address-list=private-lokal
- add action=accept chain=output dst-address-list=private-lokal src-address-list=private-lokal
- add action=jump chain=forward in-interface=ether1 jump-target=qos-in
- add action=mark-packet chain=qos-in comment=INvip new-packet-mark=INvip passthrough=no protocol=icmp
- add action=mark-packet chain=qos-in comment=INvip new-packet-mark=INvip passthrough=no protocol=igmp
- add action=mark-packet chain=qos-in comment=INvip new-packet-mark=INvip passthrough=no port=53,5353 protocol=tcp
- add action=mark-packet chain=qos-in comment=INvip new-packet-mark=INvip passthrough=no port=53,5353 protocol=udp
- add action=mark-packet chain=qos-in comment=IN1000001-1000000000 connection-rate=1000001-1G new-packet-mark=IN1000001-1000000000 passthrough=no
- add action=mark-packet chain=qos-in comment=IN512001-1000000 connection-rate=512001-1M new-packet-mark=IN512001-1000000 passthrough=no
- add action=mark-packet chain=qos-in comment=IN256001-512000 connection-rate=256001-512k new-packet-mark=IN256001-512000 passthrough=no
- add action=mark-packet chain=qos-in comment=IN128001-256000 connection-rate=128001-256k new-packet-mark=IN128001-256000 passthrough=no
- add action=mark-packet chain=qos-in comment=IN0-128000 connection-rate=0-128k new-packet-mark=IN0-128000 passthrough=no
- add action=mark-packet chain=qos-in comment=INunknown new-packet-mark=INunknown passthrough=no
- add action=return chain=qos-in
- add action=jump chain=forward jump-target=qos-out out-interface=ether1
- add action=mark-packet chain=qos-out comment=OUTvip new-packet-mark=OUTvip passthrough=no protocol=icmp
- add action=mark-packet chain=qos-out comment=OUTvip new-packet-mark=OUTvip passthrough=no protocol=igmp
- add action=mark-packet chain=qos-out comment=OUTvip new-packet-mark=OUTvip passthrough=no port=53,5353 protocol=tcp
- add action=mark-packet chain=qos-out comment=OUTvip new-packet-mark=OUTvip passthrough=no port=53,5353 protocol=udp
- add action=mark-packet chain=qos-out comment=OUT1000001-1000000000 connection-rate=1000001-1G new-packet-mark=OUT1000001-1000000000 passthrough=no
- add action=mark-packet chain=qos-out comment=OUT512001-1000000 connection-rate=512001-1M new-packet-mark=OUT512001-1000000 passthrough=no
- add action=mark-packet chain=qos-out comment=OUT256001-512000 connection-rate=256001-512k new-packet-mark=OUT256001-512000 passthrough=no
- add action=mark-packet chain=qos-out comment=OUT128001-256000 connection-rate=128001-256k new-packet-mark=OUT128001-256000 passthrough=no
- add action=mark-packet chain=qos-out comment=OUT0-128000 connection-rate=0-128k new-packet-mark=OUT0-128000 passthrough=no
- add action=mark-packet chain=qos-out comment=OUTunknown new-packet-mark=OUTunknown passthrough=no
- add action=return chain=qos-out
- #queue tree indihome 10mpbs
- /queue tree
- add max-limit=100M name=QOUALITY-OF-SERVICE parent=global queue=default
- add max-limit=100M name=INCOMING parent=QOUALITY-OF-SERVICE queue=default
- add max-limit=10M name=I.PRIORITY parent=INCOMING queue=default
- add limit-at=64k max-limit=100M name=I.VIP packet-mark=INvip parent=INCOMING priority=1 queue=default
- add limit-at=1M max-limit=10M name=I.01 packet-mark=IN0-128000 parent=I.PRIORITY priority=3 queue=pcq-download-default
- add limit-at=1M max-limit=10M name=I.02 packet-mark=IN128001-256000 parent=I.PRIORITY priority=4 queue=pcq-download-default
- add limit-at=1M max-limit=10M name=I.03 packet-mark=IN256001-512000 parent=I.PRIORITY priority=5 queue=pcq-download-default
- add limit-at=1M max-limit=10M name=I.04 packet-mark=IN512001-1000000 parent=I.PRIORITY priority=6 queue=pcq-download-default
- add limit-at=1M max-limit=10M name=I.05 packet-mark=IN1000001-1000000000 parent=I.PRIORITY priority=7 queue=pcq-download-default
- add limit-at=1M max-limit=10M name=I.06 packet-mark=INunknown parent=I.PRIORITY queue=pcq-download-default
- add max-limit=3M name=OUTGOING parent=QOUALITY-OF-SERVICE queue=default
- add max-limit=100M name=O.PRIORITY parent=OUTGOING queue=default
- add limit-at=64k max-limit=100M name=O.VIP packet-mark=OUTvip parent=OUTGOING priority=1 queue=default
- add limit-at=100k max-limit=3M name=O.01 packet-mark=OUT0-128000 parent=O.PRIORITY priority=3 queue=pcq-upload-default
- add limit-at=100k max-limit=3M name=O.02 packet-mark=OUT128001-256000 parent=O.PRIORITY priority=4 queue=pcq-upload-default
- add limit-at=100k max-limit=3M name=O.03 packet-mark=OUT256001-512000 parent=O.PRIORITY priority=5 queue=pcq-upload-default
- add limit-at=100k max-limit=3M name=O.04 packet-mark=OUT512001-1000000 parent=O.PRIORITY priority=6 queue=pcq-upload-default
- add limit-at=100k max-limit=3M name=O.05 packet-mark=OUT1000001-1000000000 parent=O.PRIORITY priority=7 queue=pcq-upload-default
- add limit-at=100k max-limit=3M name=O.06 packet-mark=OUTunknown parent=O.PRIORITY queue=pcq-upload-default
Add Comment
Please, Sign In to add comment