rootplg3544

https://hijaunet.id/setting-mikrotik-broswing-dan-gameonline

Jul 25th, 2018
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.87 KB | None | 0 0
  1. /ip firewall address-list
  2. add address=10.0.0.0/8 comment="++ client" list=local
  3. add address=172.16.0.0/12 list=local
  4. add address=192.168.0.0/16 list=local
  5.  
  6. /ip firewall address-list
  7. add address=43.252.184.0/22 comment="++ garena" list=games
  8. add address=203.117.172.0/24 list=games
  9. add address=203.117.155.0/24 list=games
  10. add address=203.117.158.0/24 list=games
  11. add address=203.116.64.0/24 list=games
  12. add address=203.116.23.0/24 list=games
  13. add address=202.73.16.0/21 list=games
  14. add address=125.5.12.0/24 list=games
  15. add address=122.11.128.0/24 list=games
  16. add address=103.248.56.0/22 list=games
  17. add address=49.50.7.0/24 comment="++ kreon" list=games
  18. add address=49.50.6.0/24 list=games
  19. add address=49.50.6.0/23 list=games
  20. add address=49.50.5.0/24 list=games
  21. add address=49.50.4.0/24 list=games
  22. add address=49.50.4.0/23 list=games
  23. add address=49.50.4.0/22 list=games
  24. add address=203.89.147.0/24 list=games
  25. add address=203.89.146.0/24 list=games
  26. add address=202.93.16.0/21 comment="++ lyto" list=games
  27. add address=122.102.54.0/24 comment="++ megaxus" list=games
  28. add address=122.102.53.0/24 list=games
  29. add address=122.102.52.0/24 list=games
  30. add address=122.102.51.0/24 list=games
  31. add address=122.102.50.0/24 list=games
  32. add address=122.102.49.0/24 list=games
  33. add address=122.102.48.0/24 list=games
  34. add address=103.8.56.0/24 comment="++ prime link indonesia" list=games
  35. add address=103.8.57.0/24 list=games
  36. add address=103.8.58.0/23 list=games
  37. add address=103.8.58.0/24 list=games
  38. add address=103.8.59.0/24 list=games
  39. add address=110.93.12.0/23 list=games
  40. add address=110.93.12.0/24 list=games
  41. add address=110.93.13.0/24 list=games
  42. add address=110.93.14.0/23 list=games
  43. add address=110.93.14.0/24 list=games
  44. add address=110.93.15.0/24 list=games
  45. add address=202.43.116.0/23 list=games
  46. add address=202.43.116.0/24 list=games
  47. add address=202.43.117.0/24 list=games
  48. add address=116.212.98.0/23 comment="++ lintas data indonesia" list=games
  49. add address=116.212.98.0/24 list=games
  50. add address=116.212.99.0/24 list=games
  51. add address=205.185.194.0/24 comment="++ valve US" list=games
  52. add address=208.78.164.0/22 comment="++ valve corporation" list=games
  53. add address=103.28.54.0/23 comment="++ valve singapure" list=games
  54. add address=143.137.146.0/24 comment=Peru list=games
  55. add address=153.254.86.0/24 comment=Japan list=games
  56. add address=45.121.184.0/23 comment="++ valve japan" list=games
  57. add address=45.121.186.0/23 list=games
  58. add address=146.66.152.0/23 comment="++ valve europe union" list=games
  59. add address=146.66.154.0/24 list=games
  60. add address=155.133.240.0/23 list=games
  61. add address=155.133.242.0/23 list=games
  62. add address=155.133.244.0/24 list=games
  63. add address=155.133.245.0/24 list=games
  64. add address=162.254.192.0/24 list=games
  65. add address=162.254.193.0/24 list=games
  66. add address=162.254.194.0/23 list=games
  67. add address=162.254.196.0/24 list=games
  68. add address=162.254.197.0/24 list=games
  69. add address=162.254.198.0/24 list=games
  70. add address=162.254.199.0/24 list=games
  71. add address=185.25.183.0/24 list=games
  72. add address=122.11.128.0/18 list=games
  73. add address=146.66.155.0/24 list=games
  74. add address=146.66.156.0/23 list=games
  75. add address=146.66.158.0/23 list=games
  76. add address=185.25.180.0/23 list=games
  77. add address=185.25.182.0/24 list=games
  78. add address=155.133.238.0/24 comment="++ valve germany" list=games
  79. add address=155.133.239.0/24 list=games
  80. add address=155.133.246.0/23 list=games
  81. add address=155.133.248.0/24 list=games
  82. add address=155.133.249.0/24 list=games
  83. add address=155.133.250.0/23 list=games
  84. add address=155.133.250.0/24 list=games
  85. add address=155.133.251.0/24 list=games
  86. add address=155.133.252.0/24 list=games
  87. add address=155.133.254.0/24 list=games
  88. add address=205.196.6.0/24 list=games
  89. add address=208.64.200.0/24 list=games
  90. add address=208.64.201.0/24 list=games
  91. add address=208.64.202.0/24 list=games
  92. add address=208.64.203.0/24 list=games
  93. add address=192.69.96.0/22 list=games
  94. add address=63.150.138.0/24 comment="++ valve" list=games
  95. add address=216.111.123.0/24 list=games
  96. add address=103.10.124.0/24 list=games
  97. add address=103.10.125.0/24 list=games
  98. add address=117.18.232.0/24 comment="++ edgecast network" disabled=yes list=\
  99. games
  100. add address=205.185.216.0/24 comment="++ valve US" list=games
  101. add address=206.82.192.0/19 comment="++ Latisys-Irvine, LLC" list=games
  102. add address=155.133.253.0/24 comment="++ valve" list=games
  103. add address=190.217.32.0/22 list=games
  104. add address=155.133.233.0/24 list=games
  105. add address=155.133.230.0/23 list=games
  106. add address=155.133.232.0/23 list=games
  107.  
  108. /ip firewall mangle
  109. add action=mark-connection chain=prerouting comment="++ echo request" new-connection-mark=icmp protocol=icmp
  110. add action=mark-packet chain=prerouting connection-mark=icmp new-packet-mark=icmp_up passthrough=no
  111. add action=mark-packet chain=postrouting connection-mark=icmp new-packet-mark=icmp_down passthrough=no
  112. add action=mark-connection chain=prerouting comment="++ dns resolve" new-connection-mark=dns port=53,2048,5353,123 protocol=udp
  113. add action=mark-packet chain=prerouting connection-mark=dns new-packet-mark=dns_up passthrough=no
  114. add action=mark-packet chain=postrouting connection-mark=dns new-packet-mark=dns_down passthrough=no
  115. add action=mark-connection chain=prerouting comment="++ games online" dst-address-list=games dst-port=!80,182,443,8080,21,81,6861,6851,1970,1935,4500,127,88,8001-8050 new-connection-mark="games online" protocol=tcp src-address-list=local
  116. add action=mark-connection chain=prerouting dst-address-list=games dst-port=!80,182,443,8080,21,81,6861,6851,1970,1935,4500,127,88,8001-8050 new-connection-mark="games online" protocol=udp src-address-list=local
  117. add action=mark-connection chain=prerouting comment="++ games online ---> touch prodigy" dst-address=103.8.56.0/24 dst-port=!80,443 new-connection-mark="games online" protocol=tcp src-address-list=local
  118. add action=mark-connection chain=prerouting comment="++ games mobile ---> mobile legend" dst-port=5530,30050-30110 new-connection-mark="games online" protocol=tcp src-address-list=local
  119. add action=mark-connection chain=prerouting comment="++ games mobile ---> line get rich" dst-port=10500-10515 new-connection-mark="games online" protocol=tcp src-address-list=local
  120. add action=mark-connection chain=prerouting comment="++ games mobile ---> clash of clans/royale, last empire, zynga poker" dst-port=9330-9340,9933 new-connection-mark="games online" protocol=tcp src-address-list=local
  121. add action=mark-connection chain=prerouting dst-port=9330-9340 new-connection-mark="games online" protocol=udp src-address-list=local
  122. add action=mark-connection chain=prerouting comment="++ games mobile ---> domino qq" dst-port=9122,11000-11150 new-connection-mark="games online" protocol=tcp src-address-list=local
  123. add action=mark-connection chain=prerouting comment="++ games mobile ---> dream league soccer" dst-port=60970-60980 new-connection-mark="games online" protocol=udp src-address-list=local
  124. add action=mark-connection chain=prerouting comment="++ games mobile ---> shinobi heroes" dst-port=10005-10020 new-connection-mark="games online" protocol=tcp src-address-list=local
  125. add action=mark-connection chain=prerouting comment="++ games mobile ---> boya domino qq" dst-port=7020-7030 new-connection-mark="games online" protocol=tcp src-address-list=local
  126. add action=mark-connection chain=prerouting comment="++ games browser ---> league of angels" dst-port=51700-51715 new-connection-mark="games online" protocol=tcp src-address-list=local
  127. add action=mark-connection chain=prerouting comment="++ games browser ---> sword of angels" dst-port=15490-15510 new-connection-mark="games online" protocol=tcp src-address-list=local
  128. add action=mark-connection chain=prerouting comment="++ games browser ---> headshot" dst-port=1800-1810 new-connection-mark="games online" protocol=tcp src-address-list=local
  129. add action=mark-connection chain=prerouting dst-port=1845-1860 new-connection-mark="games online" protocol=udp src-address-list=local
  130. add action=mark-connection chain=prerouting comment="++ games browser ---> others" dst-port="843,4000,8000,8012,8890,9339,9338,10001-10011,7200-7210,7450-7460,23300,4530" new-connection-mark="games online" protocol=tcp src-address-list=local
  131. add action=mark-connection chain=prerouting dst-port=26590-26600,1800-1810,7111,5050,441,29007,64990-65010 new-connection-mark="games online" protocol=tcp src-address-list=local
  132. add action=mark-connection chain=prerouting dst-port=1845-1860 new-connection-mark="games online" protocol=udp src-address-list=local
  133. add action=mark-packet chain=forward comment="++ all games ---> packet" connection-mark="games online" new-packet-mark=games_online_up out-interface="ether1" passthrough=no
  134. add action=mark-packet chain=forward connection-mark="games online" in-interface="ether1" new-packet-mark=games_online_down passthrough=no
  135. add action=mark-connection chain=prerouting comment="++ other connections" connection-mark=no-mark new-connection-mark="OTHER CONN"
  136. add action=mark-packet chain=forward comment="++ qos data < 2 MB" connection-bytes=0-2097152 content=!1935 new-packet-mark=qos_small_up out-interface="ether1" passthrough=no protocol=tcp
  137. add action=mark-packet chain=forward connection-bytes=0-2097152 content=!1935 in-interface="ether1" new-packet-mark=qos_small_down passthrough=no protocol=tcp
  138. add action=mark-packet chain=forward comment="++ qos data > 2 MB" new-packet-mark=qos_high_up out-interface="ether1" passthrough=no
  139. add action=mark-packet chain=forward in-interface="ether1" new-packet-mark=qos_high_down passthrough=no
  140.  
  141. /queue type
  142. add kind=pcq name=games pcq-burst-time=1s pcq-classifier=src-address,dst-address,src-port,dst-port pcq-dst-address6-mask=64 pcq-src-address6-mask=64
  143. add kind=pcq name=download pcq-classifier=dst-address pcq-dst-address6-mask=64 pcq-src-address6-mask=64 rate=2M
  144. add kind=pcq name=upload pcq-classifier=src-address pcq-dst-address6-mask=64 pcq-src-address6-mask=64 rate=384k
  145.  
  146.  
  147. /queue simple
  148. add comment="++ global connection" max-limit=1M/4M name="--- packet management" queue=default/default target=ether2
  149. add limit-at=128k/1M max-limit=1M/4M name="--- echo request" packet-marks=icmp_up,icmp_down,dns_up,dns_down parent="--- packet management" priority=1/1 queue=default/default target="0.0.0.0/0"
  150. add limit-at=128k/1M max-limit=1M/4M name="--- games online" packet-marks=games_online_up,games_online_down parent="--- packet management" priority=2/2 queue=games/games target="0.0.0.0/0"
  151. add limit-at=256k/2M max-limit=512k/3M name="--- weight packet" parent="--- packet management" queue=default/default target="0.0.0.0/0"
  152. add comment=" ------------------------------------" limit-at=128k/1M max-limit=512k/3M name="--- data < 2 MB" packet-marks=qos_small_up,qos_small_down parent="--- weight packet" priority=6/6 queue=upload/download target="0.0.0.0/0"
  153. add limit-at=128k/1M max-limit=512k/3M name="--- data > 2 MB" packet-marks=qos_high_up,qos_high_down parent="--- weight packet" queue=upload/download target="0.0.0.0/0"
Add Comment
Please, Sign In to add comment