Advertisement
rootplg3544

ICMP DAN DNS PRIORITAS AGUNGCESPUN

Jul 5th, 2018
767
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.30 KB | None | 0 0
  1. /ip firewall mangle
  2. add action=jump chain=input in-interface=ether1 jump-target=download
  3. add action=jump chain=forward in-interface=ether1 jump-target=download
  4. add action=mark-packet chain=download comment=icmp-dns-download \
  5. new-packet-mark=icmp-dns-download passthrough=no protocol=icmp
  6. add action=mark-packet chain=download comment=icmp-dns-download \
  7. new-packet-mark=icmp-dns-download passthrough=no protocol=tcp src-port=\
  8. 53,5353,123
  9. add action=mark-packet chain=download comment=icmp-dns-download \
  10. new-packet-mark=icmp-dns-download passthrough=no protocol=udp src-port=\
  11. 53,5353,123
  12. add action=mark-packet chain=download comment=legend-download \
  13. new-packet-mark=legend-download passthrough=no src-address-list=mo-legend
  14. add action=mark-packet chain=download comment=ggc-download new-packet-mark=\
  15. ggc-download passthrough=no src-address-list=ggc-telkom
  16. add action=mark-packet chain=download comment=google-download \
  17. new-packet-mark=google-download passthrough=no src-address-list=google
  18. add action=mark-packet chain=download comment=sosmed-download \
  19. new-packet-mark=sosmed-download passthrough=no src-address-list=sosmed
  20. add action=mark-packet chain=download comment=browsing-download \
  21. connection-rate=0-512k new-packet-mark=browsing-download passthrough=no \
  22. protocol=tcp src-port=80,443
  23. add action=mark-packet chain=download comment=browsing-download \
  24. connection-rate=0-512k new-packet-mark=browsing-download passthrough=no \
  25. protocol=udp src-port=80,443
  26. add action=mark-packet chain=download comment=trafik-download \
  27. new-packet-mark=trafik-download passthrough=no protocol=tcp src-port=\
  28. 4500,5000,5500-7100,9000,9091,3000-3200
  29. add action=mark-packet chain=download comment=trafik-download \
  30. new-packet-mark=trafik-download passthrough=no protocol=udp src-port=\
  31. 4500,5000,5500-7100,9000,9091,3000-3200
  32. add action=mark-packet chain=download comment=trafik-download \
  33. new-packet-mark=trafik-download passthrough=no protocol=tcp src-port=\
  34. 0-2000,5050,8777,8000-8999,5353,5938,8291,12671-12675,16800
  35. add action=mark-packet chain=download comment=trafik-download \
  36. new-packet-mark=trafik-download passthrough=no protocol=udp src-port=\
  37. 0-2000,5050,8777,8000-8999,5353,5938,8291,12671-12675,16800
  38. add action=mark-packet chain=download comment=trafik-download \
  39. layer7-protocol=torrent1 new-packet-mark=trafik-download passthrough=no
  40. add action=mark-packet chain=download comment=trafik-download \
  41. layer7-protocol=torrent2 new-packet-mark=trafik-download passthrough=no
  42. add action=mark-packet chain=download comment=trafik-download \
  43. layer7-protocol=torrent3 new-packet-mark=trafik-download passthrough=no
  44. add action=mark-packet chain=download comment=trafik-download \
  45. layer7-protocol=torrent4 new-packet-mark=trafik-download passthrough=no
  46. add action=mark-packet chain=download comment=high-priority-download \
  47. new-packet-mark=high-priority-download passthrough=no
  48. add action=return chain=download
  49. add action=jump chain=forward jump-target=upload out-interface=ether1
  50. add action=jump chain=output jump-target=upload out-interface=ether1
  51. add action=mark-packet chain=upload comment=icmp-dns-upload new-packet-mark=\
  52. icmp-dns-upload passthrough=no protocol=icmp
  53. add action=mark-packet chain=upload comment=icmp-dns-upload dst-port=\
  54. 53,5353,123 new-packet-mark=icmp-dns-upload passthrough=no protocol=tcp
  55. add action=mark-packet chain=upload comment=icmp-dns-upload dst-port=\
  56. 53,5353,123 new-packet-mark=icmp-dns-upload passthrough=no protocol=udp
  57. add action=mark-packet chain=upload comment=legend-upload dst-address-list=\
  58. mo-legend new-packet-mark=legend-upload passthrough=no
  59. add action=mark-packet chain=upload comment=ggc-upload dst-address-list=\
  60. ggc-telkom new-packet-mark=ggc-upload passthrough=no
  61. add action=mark-packet chain=upload comment=google-upload dst-address-list=\
  62. google new-packet-mark=google-upload passthrough=no
  63. add action=mark-packet chain=upload comment=sosmed-upload dst-address-list=\
  64. sosmed new-packet-mark=sosmed-upload passthrough=no
  65. add action=mark-packet chain=upload comment=browsing-upload connection-rate=\
  66. 0-500k dst-port=80,443 new-packet-mark=browsing-upload passthrough=no \
  67. protocol=tcp
  68. add action=mark-packet chain=upload comment=browsing-upload connection-rate=\
  69. 0-500k dst-port=80,443 new-packet-mark=browsing-upload passthrough=no \
  70. protocol=udp
  71. add action=mark-packet chain=upload comment=trafik-upload dst-port=\
  72. 4500,5000,5500-7100,9000,9091,3000-3200 new-packet-mark=trafik-upload \
  73. passthrough=no protocol=tcp
  74. add action=mark-packet chain=upload comment=trafik-upload dst-port=\
  75. 4500,5000,5500-7100,9000,9091,3000-3200 new-packet-mark=trafik-upload \
  76. passthrough=no protocol=udp
  77. add action=mark-packet chain=upload comment=trafik-upload dst-port=\
  78. 0-2000,5050,8777,8000-8999,5353,5938,8291,12671-12675,16800 \
  79. new-packet-mark=trafik-upload passthrough=no protocol=tcp
  80. add action=mark-packet chain=upload comment=trafik-upload dst-port=\
  81. 0-2000,5050,8777,8000-8999,5353,5938,8291,12671-12675,16800 \
  82. new-packet-mark=trafik-upload passthrough=no protocol=udp
  83. add action=mark-packet chain=upload comment=trafik-upload layer7-protocol=\
  84. torrent1 new-packet-mark=trafik-upload passthrough=no
  85. add action=mark-packet chain=upload comment=trafik-upload layer7-protocol=\
  86. torrent2 new-packet-mark=trafik-upload passthrough=no
  87. add action=mark-packet chain=upload comment=trafik-upload layer7-protocol=\
  88. torrent3 new-packet-mark=trafik-upload passthrough=no
  89. add action=mark-packet chain=upload comment=trafik-upload layer7-protocol=\
  90. torrent4 new-packet-mark=trafik-upload passthrough=no
  91. add action=mark-packet chain=upload comment=high-priority-upload \
  92. new-packet-mark=high-priority-upload passthrough=no
  93. add action=return chain=upload
  94.  
  95. /queue tree
  96. add comment="////==////= MADE IN AGUNG CESPUN SETIAWAN =\\\\\\\\==\\\\\\\\" \
  97. max-limit=100M name=A.DOWNLOAD parent=global queue=default
  98. add limit-at=64k max-limit=20M name=A.1.ICMP-DNS packet-mark=\
  99. icmp-dns-download parent=A.DOWNLOAD priority=1 queue=default
  100. add limit-at=10M max-limit=20M name=A.2.HIGH-PRIORITY packet-mark=\
  101. high-priority-download parent=A.DOWNLOAD priority=3 queue=default
  102. add limit-at=20M max-limit=20M name=A.3.TRAFIK parent=A.DOWNLOAD queue=\
  103. pcq-download-default
  104. add limit-at=1M max-limit=20M name=A.3.1.BROWSING packet-mark=\
  105. browsing-download parent=A.3.TRAFIK priority=5 queue=default
  106. add limit-at=1M max-limit=20M name=A.3.2.GGC packet-mark=ggc-download parent=\
  107. A.3.TRAFIK priority=5 queue=default
  108. add limit-at=1M max-limit=20M name=A.3.3.SOSMED packet-mark=sosmed-download \
  109. parent=A.3.TRAFIK priority=6 queue=default
  110. add limit-at=1M max-limit=20M name=A.3.4.GOOGLE packet-mark=google-download \
  111. parent=A.3.TRAFIK priority=7 queue=default
  112. add limit-at=1M max-limit=20M name=A.3.5.UNPRIORITY packet-mark=\
  113. trafik-download parent=A.3.TRAFIK queue=default
  114. add comment="////==////= MADE IN AGUNG CESPUN SETIAWAN =\\\\\\\\==\\\\\\\\" \
  115. max-limit=100M name=B.UPLOAD parent=global queue=default
  116. add limit-at=64k max-limit=20M name=B.1.ICMP-DNS packet-mark=icmp-dns-upload \
  117. parent=B.UPLOAD priority=1 queue=default
  118. add limit-at=10M max-limit=20M name=B.2.HIGH-PRIORITY packet-mark=\
  119. high-priority-upload parent=B.UPLOAD priority=3 queue=default
  120. add limit-at=100M max-limit=20M name=B.3.TRAFIK parent=B.UPLOAD queue=\
  121. pcq-upload-default
  122. add limit-at=1M max-limit=20M name=B.3.1.BROWSING packet-mark=browsing-upload \
  123. parent=B.3.TRAFIK priority=5 queue=default
  124. add limit-at=1M max-limit=20M name=B.3.2.GGC packet-mark=ggc-upload parent=\
  125. B.3.TRAFIK priority=5 queue=default
  126. add limit-at=1M max-limit=20M name=B.3.3.SOSMED packet-mark=sosmed-upload \
  127. parent=B.3.TRAFIK priority=6 queue=default
  128. add limit-at=1M max-limit=20M name=B.3.4.GOOGLE packet-mark=google-upload \
  129. parent=B.3.TRAFIK priority=7 queue=default
  130. add limit-at=1M max-limit=20M name=B.3.5.UNPRIORITY packet-mark=trafik-upload \
  131. parent=B.3.TRAFIK queue=default
  132. add limit-at=1M max-limit=20M name=A.3.0.LEGEND packet-mark=legend-download \
  133. parent=A.3.TRAFIK priority=4 queue=default
  134. add limit-at=1M max-limit=20M name=B.3.0.LEGEND packet-mark=legend-upload \
  135. parent=B.3.TRAFIK priority=4 queue=default
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement