Advertisement
INTIMEDIA

2 ISP GAME

Oct 4th, 2021 (edited)
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.40 KB | None | 0 0
  1. # CLEAR SETTING
  2. /queue simple remove [find];
  3. /queue tree remove [find];
  4. /queue type remove [find kind=pcq];
  5. /ip firewall filter remove [find];
  6. /ip firewall mangle remove [find];
  7. /ip firewall raw remove [find];
  8. /ip firewall address-list remove [find];
  9. /ip firewall layer7 remove [find];
  10. /
  11.  
  12. # IP ROUTES
  13. /ip route add check-gateway=ping distance=1 gateway=192.168.8.1
  14. /ip route add check-gateway=ping distance=1 gateway=192.168.9.1 routing-mark=ICMP
  15. /ip route add check-gateway=ping distance=1 gateway=192.168.9.1 routing-mark=Routing-Game
  16.  
  17. # ADDRESS LIST
  18. /ip firewall address-list add address=192.168.0.0/16 list=LOKAL
  19. /ip firewall address-list add address=172.16.0.0/12 list=LOKAL
  20. /ip firewall address-list add address=10.0.0.0/8 list=LOKAL
  21. /ip firewall address-list add address=64.15.126.0/24 list=IP-YOUTUBE
  22. /ip firewall address-list add address=64.15.123.0/24 list=IP-YOUTUBE
  23. /ip firewall address-list add address=64.15.119.0/24 list=IP-YOUTUBE
  24. /ip firewall address-list add address=64.15.118.0/24 list=IP-YOUTUBE
  25. /ip firewall address-list add address=64.15.115.0/24 list=IP-YOUTUBE
  26. /ip firewall address-list add address=64.15.114.0/24 list=IP-YOUTUBE
  27. /ip firewall address-list add address=64.15.112.0/20 list=IP-YOUTUBE
  28. /ip firewall address-list add address=216.73.80.0/20 list=IP-YOUTUBE
  29. /ip firewall address-list add address=208.65.152.0/22 list=IP-YOUTUBE
  30. /ip firewall address-list add address=208.117.254.0/24 list=IP-YOUTUBE
  31. /ip firewall address-list add address=208.117.252.0/24 list=IP-YOUTUBE
  32. /ip firewall address-list add address=208.117.250.0/24 list=IP-YOUTUBE
  33. /ip firewall address-list add address=208.117.246.0/24 list=IP-YOUTUBE
  34. /ip firewall address-list add address=208.117.240.0/24 list=IP-YOUTUBE
  35. /ip firewall address-list add address=208.117.238.0/24 list=IP-YOUTUBE
  36. /ip firewall address-list add address=208.117.234.0/24 list=IP-YOUTUBE
  37. /ip firewall address-list add address=208.117.226.0/24 list=IP-YOUTUBE
  38. /ip firewall address-list add address=208.117.225.0/24 list=IP-YOUTUBE
  39. /ip firewall address-list add address=208.117.224.0/19 list=IP-YOUTUBE
  40. /ip firewall address-list add address=172.110.32.0/21 list=IP-YOUTUBE
  41. /ip firewall address-list add address=136.22.133.0/24 list=IP-YOUTUBE
  42. /ip firewall address-list add address=136.22.132.0/24 list=IP-YOUTUBE
  43. /ip firewall address-list add address=136.22.131.0/24 list=IP-YOUTUBE
  44. /ip firewall address-list add address=136.22.130.0/24 list=IP-YOUTUBE
  45. /ip firewall address-list add address=104.237.191.0/24 list=IP-YOUTUBE
  46. /ip firewall address-list add address=104.237.190.0/24 list=IP-YOUTUBE
  47. /ip firewall address-list add address=104.237.175.0/24 list=IP-YOUTUBE
  48. /ip firewall address-list add address=104.237.172.0/24 list=IP-YOUTUBE
  49. /ip firewall address-list add address=104.237.171.0/24 list=IP-YOUTUBE
  50. /ip firewall address-list add address=104.237.170.0/24 list=IP-YOUTUBE
  51. /ip firewall address-list add address=104.237.169.0/24 list=IP-YOUTUBE
  52. /ip firewall address-list add address=104.237.168.0/24 list=IP-YOUTUBE
  53. /ip firewall address-list add address=104.237.167.0/24 list=IP-YOUTUBE
  54. /ip firewall address-list add address=104.237.164.0/24 list=IP-YOUTUBE
  55. /ip firewall address-list add address=104.237.162.0/24 list=IP-YOUTUBE
  56. /ip firewall address-list add address=104.237.160.0/19 list=IP-YOUTUBE
  57. /ip firewall address-list add address=192.168.2.254 comment="IP Yang diperbolehkan untuk mengakses Modem atau Access Point" list=IP-ADMIN
  58. /
  59.  
  60. # DHCP CLIENT, DNS, SNTP & SCHEDULER
  61. /ip dhcp-client add disabled=no interface=ether1
  62. /ip dhcp-client add add-default-route=no disabled=no interface=ether2
  63. /ip dns set servers=9.9.9.9,1.1.1.1,203.130.196.6,222.124.204.34
  64. /ip dns set allow-remote-requests=yes cache-max-ttl=1d
  65. /ip pool add name=PPPOE ranges=192.168.4.2-192.168.4.254
  66. /system ntp client set enabled=yes primary-ntp=202.65.114.202 secondary-ntp=212.26.18.41 server-dns-names=asia.pool.ntp.org
  67. /system scheduler add interval=1m name=autoremovehs on-event="/queue simple remove [ find name ~\"hs-<\" ]\r\
  68. \n/queue simple move [find name=\"-> GLOBAL CONNECTION\"] [:pick [find] 0]" policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon start-date=feb/21/1993 start-time=10:43:00
  69. /system scheduler add name=datetime-startup on-event="/sys scr run datetime" policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon start-time=startup
  70. /system scheduler add interval=5m name=datetime on-event=":local date [/sys clock get date]; \r\
  71. \n:local time [/sys clock get time]; \r\
  72. \n/sys scr set source=\"/sys clock set date=\$date time=\$time\" [find where name=datetime];" policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon start-date=feb/21/1993 start-time=16:44:58
  73. /system scheduler add interval=3h name=FlushDNSCache on-event="/ip dns cache flush" policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon start-date=feb/21/1993 start-time=20:04:00
  74. /system script add dont-require-permissions=no name=datetime owner=admin policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source="/sys clock set date=jan/24/2021 time=05:19:58"
  75. /
  76.  
  77. # INTERFACE, NAT, FILTER & LAYER7
  78. /interface list add name=WAN
  79. /interface list add name=LAN
  80. /interface list member add interface=ether1 list=WAN
  81. /interface list member add interface=ether2 list=WAN
  82. /interface list member add interface=ether5 list=LAN
  83. /interface list member add interface=bridge list=LAN
  84. /ip firewall nat add action=masquerade chain=srcnat out-interface-list=WAN
  85. /ip firewall nat add action=masquerade chain=srcnat out-interface=ether1
  86. /ip firewall nat add action=masquerade chain=srcnat out-interface=ether2
  87. /ip firewall nat add action=masquerade chain=srcnat src-address-list=LOKAL
  88. /ip firewall layer7-protocol add name=YOUTUBE regexp="^.+(youtube.com|googlevideo.com).*\$"
  89. /ip firewall filter add action=reject chain=input comment="Anti Winbox Exploit" content=user.dat reject-with=icmp-network-unreachable
  90. /ip firewall filter add action=drop chain=input content=user.dat
  91. /ip firewall filter add action=drop chain=forward comment="Block Akses Client Ke Modem/AP (Kecuali IP-ADMIN yang ada di Firewall -> Address Lists)" dst-address-list=LOKAL dst-port=80 protocol=tcp src-address-list=!IP-ADMIN
  92. /ip firewall filter add action=add-dst-to-address-list address-list=IP-YOUTUBE address-list-timeout=30s chain=forward comment="Tangkap IP Youtube" dst-address-list=!IP-UMUM layer7-protocol=YOUTUBE src-address-list=LOKAL
  93. /ip firewall filter add action=accept chain=input comment="Allow Established, Related Connections" connection-state=established,related
  94. /ip firewall filter add action=accept chain=forward connection-state=established,related
  95. /ip firewall filter add action=drop chain=input comment="Drop Invalid Connections" connection-state=invalid
  96. /ip firewall filter add action=drop chain=forward connection-state=invalid
  97. /
  98.  
  99. # MANGLE
  100. /ip firewall mangle add action=accept chain=prerouting comment="[ Copyright \A9 2 ISP Game Script Proudly Presents for Pejuang GSM ]" dst-address-list=LOKAL src-address-list=LOKAL
  101. /ip firewall mangle add action=accept chain=postrouting dst-address-list=LOKAL src-address-list=LOKAL
  102. /ip firewall mangle add action=accept chain=forward dst-address-list=LOKAL src-address-list=LOKAL
  103. /ip firewall mangle add action=accept chain=input dst-address-list=LOKAL src-address-list=LOKAL
  104. /ip firewall mangle add action=accept chain=output dst-address-list=LOKAL src-address-list=LOKAL
  105. /ip firewall mangle add action=change-ttl chain=prerouting comment=TTL in-interface-list=WAN new-ttl=set:128 passthrough=yes
  106. /ip firewall mangle add action=change-ttl chain=postrouting disabled=yes new-ttl=set:1 out-interface-list=LAN passthrough=yes
  107. /ip firewall mangle add action=mark-connection chain=prerouting comment=DNS dst-port=53,5353,853,5938,6568,7070,2112,8291 new-connection-mark="KONEKSI DNS" passthrough=yes protocol=tcp
  108. /ip firewall mangle add action=mark-connection chain=prerouting dst-port=53,5353,853,5938,6568,7070,2112,8291 new-connection-mark="KONEKSI DNS" passthrough=yes protocol=udp
  109. /ip firewall mangle add action=mark-packet chain=prerouting connection-mark="KONEKSI DNS" new-packet-mark="DNS DOWNLOAD" passthrough=no
  110. /ip firewall mangle add action=mark-packet chain=postrouting connection-mark="KONEKSI DNS" new-packet-mark="DNS UPLOAD" passthrough=no
  111. /ip firewall mangle add action=mark-connection chain=forward comment=ICMP new-connection-mark="KONEKSI ICMP" passthrough=yes protocol=icmp
  112. /ip firewall mangle add action=change-dscp chain=forward connection-mark="KONEKSI ICMP" new-dscp=16 passthrough=yes
  113. /ip firewall mangle add action=mark-packet chain=forward connection-mark="KONEKSI ICMP" dst-address-list=LOKAL in-interface-list=WAN new-packet-mark="ICMP DOWNLOAD" passthrough=yes src-address-list=!LOKAL
  114. /ip firewall mangle add action=mark-packet chain=forward connection-mark="KONEKSI ICMP" dst-address-list=!LOKAL new-packet-mark="ICMP UPLOAD" out-interface-list=WAN passthrough=yes src-address-list=LOKAL
  115. /ip firewall mangle add action=add-dst-to-address-list address-list=IP-GAME address-list-timeout=1m chain=forward comment="RANDOM (Use it wisely)" connection-mark="!KONEKSI UMUM" disabled=yes dst-address-list=!IP-CHAT dst-port=!0-1023,1194,1723,1935,2083,3478,5050-5061,6666,8777,8000-8081,35915,39397 protocol=tcp src-address-list=LOKAL
  116. /ip firewall mangle add action=add-dst-to-address-list address-list=IP-GAME address-list-timeout=1m chain=forward connection-mark="!KONEKSI UMUM" disabled=yes dst-address-list=!IP-CHAT dst-port=!0-1023,1701,1900,3478,5060,5061,5222,5288,5353 protocol=udp src-address-list=LOKAL
  117. /ip firewall mangle add action=mark-connection chain=forward comment=GAME dst-address-list=IP-GAME new-connection-mark="KONEKSI GAME" passthrough=yes src-address-list=LOKAL
  118. /ip firewall mangle add action=mark-packet chain=forward connection-mark="KONEKSI GAME" dst-address-list=LOKAL in-interface-list=WAN new-packet-mark="GAME DOWNLOAD" passthrough=yes src-address-list=IP-GAME
  119. /ip firewall mangle add action=mark-packet chain=forward connection-mark="KONEKSI GAME" dst-address-list=IP-GAME new-packet-mark="GAME UPLOAD" out-interface-list=WAN passthrough=yes src-address-list=LOKAL
  120. /ip firewall mangle add action=mark-connection chain=forward comment=HIGH connection-bytes=500000-0 connection-mark="KONEKSI GAME" connection-rate=250k-1G new-connection-mark="KONEKSI HIGH" passthrough=yes
  121. /ip firewall mangle add action=mark-connection chain=forward connection-mark="KONEKSI HIGH" connection-rate=0-250k new-connection-mark="KONEKSI GAME" passthrough=yes
  122. /ip firewall mangle add action=mark-packet chain=forward connection-mark="KONEKSI HIGH" in-interface-list=WAN new-packet-mark="HIGH DOWNLOAD" passthrough=yes
  123. /ip firewall mangle add action=mark-packet chain=forward connection-mark="KONEKSI HIGH" new-packet-mark="HIGH UPLOAD" out-interface-list=WAN passthrough=yes
  124. /ip firewall mangle add action=add-dst-to-address-list address-list=IP-UMUM address-list-timeout=40s chain=forward connection-bytes=500000-0 connection-mark="KONEKSI HIGH" connection-rate=3M-1G dst-address-list=!LOKAL src-address-list=LOKAL
  125. /ip firewall mangle add action=mark-connection chain=forward comment=UMUM connection-mark="!KONEKSI GAME" dst-address-list=!IP-GAME dst-port=0-1023,1701,1900,3478,5060,5061,5222,5288,5353 new-connection-mark="KONEKSI UMUM" passthrough=yes protocol=tcp src-address-list=LOKAL
  126. /ip firewall mangle add action=mark-connection chain=forward connection-mark="!KONEKSI GAME" dst-address-list=!IP-GAME dst-port=0-1023,1701,1900,3478,5060,5061,5222,5288,5353 new-connection-mark="KONEKSI UMUM" passthrough=yes protocol=udp src-address-list=LOKAL
  127. /ip firewall mangle add action=mark-packet chain=forward connection-mark="KONEKSI UMUM" dst-address-list=LOKAL in-interface-list=WAN new-packet-mark="UMUM DOWNLOAD" passthrough=yes src-address-list=!IP-GAME
  128. /ip firewall mangle add action=mark-packet chain=forward connection-mark="KONEKSI UMUM" dst-address-list=!IP-GAME new-packet-mark="UMUM UPLOAD" out-interface-list=WAN passthrough=yes src-address-list=LOKAL
  129. /ip firewall mangle add action=mark-connection chain=forward comment=CHAT dst-address-list=IP-CHAT new-connection-mark="KONEKSI CHAT" passthrough=yes src-address-list=LOKAL
  130. /ip firewall mangle add action=mark-packet chain=forward connection-mark="KONEKSI CHAT" dst-address-list=LOKAL in-interface-list=WAN new-packet-mark="CHAT DOWNLOAD" passthrough=yes src-address-list=IP-CHAT
  131. /ip firewall mangle add action=mark-packet chain=forward connection-mark="KONEKSI CHAT" dst-address-list=IP-CHAT new-packet-mark="CHAT UPLOAD" out-interface-list=WAN passthrough=yes src-address-list=LOKAL
  132. /ip firewall mangle add action=mark-connection chain=forward comment=MEETING dst-address-list=IP-MEETING new-connection-mark="KONEKSI MEETING" passthrough=yes src-address-list=LOKAL
  133. /ip firewall mangle add action=mark-packet chain=forward connection-mark="KONEKSI MEETING" dst-address-list=LOKAL in-interface-list=WAN new-packet-mark="MEETING DOWNLOAD" passthrough=yes src-address-list=IP-MEETING
  134. /ip firewall mangle add action=mark-packet chain=forward connection-mark="KONEKSI MEETING" dst-address-list=IP-MEETING new-packet-mark="MEETING UPLOAD" out-interface-list=WAN passthrough=yes src-address-list=LOKAL
  135. /ip firewall mangle add action=mark-connection chain=forward comment=SOSMED dst-address-list=IP-SOSMED new-connection-mark="KONEKSI SOSMED" passthrough=yes src-address-list=LOKAL
  136. /ip firewall mangle add action=mark-packet chain=forward connection-mark="KONEKSI SOSMED" dst-address-list=LOKAL in-interface-list=WAN new-packet-mark="SOSMED DOWNLOAD" passthrough=yes src-address-list=IP-SOSMED
  137. /ip firewall mangle add action=mark-packet chain=forward connection-mark="KONEKSI SOSMED" dst-address-list=IP-SOSMED new-packet-mark="SOSMED UPLOAD" out-interface-list=WAN passthrough=yes src-address-list=LOKAL
  138. /ip firewall mangle add action=mark-connection chain=forward comment=YOUTUBE dst-address-list=IP-YOUTUBE new-connection-mark="KONEKSI YOUTUBE" passthrough=yes src-address-list=LOKAL
  139. /ip firewall mangle add action=mark-packet chain=forward connection-mark="KONEKSI YOUTUBE" dst-address-list=LOKAL in-interface-list=WAN new-packet-mark="YOUTUBE DOWNLOAD" passthrough=yes src-address-list=IP-YOUTUBE
  140. /ip firewall mangle add action=mark-packet chain=forward connection-mark="KONEKSI YOUTUBE" dst-address-list=IP-YOUTUBE new-packet-mark="YOUTUBE UPLOAD" out-interface-list=WAN passthrough=yes src-address-list=LOKAL
  141. /ip firewall mangle add action=mark-routing chain=prerouting comment=ROUTING dst-address-list=!LOKAL new-routing-mark=ICMP passthrough=yes protocol=icmp src-address-list=LOKAL
  142. /ip firewall mangle add action=mark-routing chain=prerouting dst-address-list=IP-GAME new-routing-mark=Routing-Game passthrough=yes src-address-list=LOKAL
  143. /ip firewall mangle add action=mark-routing chain=prerouting dst-address-list=IP-UMUM new-routing-mark=main passthrough=yes src-address-list=LOKAL
  144. /ip firewall mangle add action=mark-routing chain=prerouting dst-address-list=IP-SPEEDTEST new-routing-mark=main passthrough=yes src-address-list=LOKAL
  145. /
  146.  
  147. # RAW
  148. /ip firewall raw add action=add-dst-to-address-list address-list=IP-GAME address-list-timeout=6h chain=prerouting comment="MOBILE LEGENDS" dst-address-list=!LOKAL dst-port=5001-5099,5501-5520,5551-5559,9000-9010,9443,10003,30000-30221 protocol=tcp src-address-list=LOKAL
  149. /ip firewall raw add action=add-dst-to-address-list address-list=IP-GAME address-list-timeout=6h chain=prerouting dst-address-list=!LOKAL dst-port=5001-5059,5501-5512,5105-5109,9992,30000-30220 protocol=udp src-address-list=LOKAL
  150. /ip firewall raw add action=add-dst-to-address-list address-list=IP-GAME address-list-timeout=6h chain=prerouting comment="FREE FIRE" dst-address-list=!LOKAL dst-port=6006,6674,7006,7889,8001-8012,9006,10006,10012,11006,12006,13006,39003,39698,39800 protocol=tcp src-address-list=LOKAL
  151. /ip firewall raw add action=add-dst-to-address-list address-list=IP-GAME address-list-timeout=6h chain=prerouting dst-address-list=!LOKAL dst-port=2000,6006,6008,7008,8008,9008,10001-10008,10012,10100,11008,12008,13008,20001 protocol=udp src-address-list=LOKAL
  152. /ip firewall raw add action=add-dst-to-address-list address-list=IP-GAME address-list-timeout=6h chain=prerouting comment=PUBG dst-address-list=!LOKAL dst-port=1400,3013,8082,9001-9035,17000,17500,18081,20000-20002,20371 protocol=tcp src-address-list=LOKAL
  153. /ip firewall raw add action=add-dst-to-address-list address-list=IP-GAME address-list-timeout=6h chain=prerouting dst-address-list=!LOKAL dst-port=3013,8081-8090,9030-9031,15692,17000,17500,18081,20000-20002,20371 protocol=udp src-address-list=LOKAL
  154. /ip firewall raw add action=add-dst-to-address-list address-list=IP-GAME address-list-timeout=6h chain=prerouting comment=COD dst-address-list=!LOKAL dst-port=3013,8013,8085,10000-10020,18082,50000,65010,65050 protocol=tcp src-address-list=LOKAL
  155. /ip firewall raw add action=add-dst-to-address-list address-list=IP-GAME address-list-timeout=6h chain=prerouting dst-address-list=!LOKAL dst-port=7500-7700,8700,9030,10010-10019,17000-20100 protocol=udp src-address-list=LOKAL
  156. /ip firewall raw add action=add-dst-to-address-list address-list=IP-GAME address-list-timeout=6h chain=prerouting comment="SAUSAGE MAN" dst-address-list=!LOKAL dst-port=6001,9000,9001,8013 protocol=tcp src-address-list=LOKAL
  157. /ip firewall raw add action=add-dst-to-address-list address-list=IP-GAME address-list-timeout=6h chain=prerouting dst-address-list=!LOKAL dst-port=8000,50233,58272 protocol=tcp src-address-list=LOKAL
  158. /ip firewall raw add action=add-dst-to-address-list address-list=IP-GAME address-list-timeout=6h chain=prerouting comment="HIGGS DOMINO" dst-address-list=!LOKAL dst-port=50001-50500,26000-26050,26666 protocol=tcp src-address-list=LOKAL
  159. /ip firewall raw add action=add-dst-to-address-list address-list=IP-CHAT address-list-timeout=6h chain=prerouting comment="CHAT / VoIP" dst-address-list=!LOKAL dst-port=4244,5222,5223,5228,5242,5349,50318,59234 protocol=tcp src-address-list=LOKAL
  160. /ip firewall raw add action=add-dst-to-address-list address-list=IP-CHAT address-list-timeout=6h chain=prerouting dst-address-list=!LOKAL dst-port=3478,34784,45395,50318,59234 protocol=udp src-address-list=LOKAL
  161. /ip firewall raw add action=add-dst-to-address-list address-list=IP-CHAT address-list-timeout=6h chain=prerouting content=whatsapp.com dst-address-list=!LOKAL src-address-list=LOKAL
  162. /ip firewall raw add action=add-dst-to-address-list address-list=IP-CHAT address-list-timeout=6h chain=prerouting content=whatsapp.net dst-address-list=!LOKAL src-address-list=LOKAL
  163. /ip firewall raw add action=add-dst-to-address-list address-list=IP-MEETING address-list-timeout=1d chain=prerouting comment="ZOOM & GOOGLE MEET" dst-address-list=!LOKAL dst-port=3478,3479,5090,5091,8801-8810 protocol=tcp src-address-list=LOKAL
  164. /ip firewall raw add action=add-dst-to-address-list address-list=IP-MEETING address-list-timeout=1d chain=prerouting dst-address-list=!LOKAL dst-port=3478,3479,5090,5091,8801-8810 protocol=udp src-address-list=LOKAL
  165. /ip firewall raw add action=add-dst-to-address-list address-list=IP-MEETING address-list-timeout=1d chain=prerouting dst-address-list=!LOKAL dst-port=19305,19302 protocol=tcp src-address-list=LOKAL
  166. /ip firewall raw add action=add-dst-to-address-list address-list=IP-MEETING address-list-timeout=1d chain=prerouting dst-address-list=!LOKAL dst-port=19305,19302 protocol=udp src-address-list=LOKAL
  167. /ip firewall raw add action=add-dst-to-address-list address-list=IP-MEETING address-list-timeout=6h chain=prerouting dst-address-list=!LOKAL dst-port=5060,5061 protocol=udp src-address-list=LOKAL
  168. /ip firewall raw add action=add-dst-to-address-list address-list=IP-MEETING address-list-timeout=6h chain=prerouting content=classroom.google.com dst-address-list=!LOKAL src-address-list=LOKAL
  169. /ip firewall raw add action=add-dst-to-address-list address-list=IP-UMUM address-list-timeout=1d chain=prerouting comment=REMOTE dst-address-list=!LOKAL dst-port=5938,6568,7070,2112 protocol=tcp src-address-list=LOKAL
  170. /ip firewall raw add action=add-dst-to-address-list address-list=IP-UMUM address-list-timeout=1d chain=prerouting dst-address-list=!LOKAL dst-port=5938,6568,7070,2112 protocol=udp src-address-list=LOKAL
  171. /ip firewall raw add action=add-dst-to-address-list address-list=IP-UMUM address-list-timeout=1d chain=prerouting content=anydesk.com dst-address-list=!LOKAL src-address-list=LOKAL
  172. /ip firewall raw add action=add-dst-to-address-list address-list=IP-UMUM address-list-timeout=1d chain=prerouting comment=MARKETPLACE content=shopee.co.id dst-address-list=!LOKAL src-address-list=LOKAL
  173. /ip firewall raw add action=add-dst-to-address-list address-list=IP-UMUM address-list-timeout=1d chain=prerouting content=shopeemobile.com dst-address-list=!LOKAL src-address-list=LOKAL
  174. /ip firewall raw add action=add-dst-to-address-list address-list=IP-UMUM address-list-timeout=1d chain=prerouting content=content.garena.com dst-address-list=!LOKAL src-address-list=LOKAL
  175. /ip firewall raw add action=add-dst-to-address-list address-list=IP-UMUM address-list-timeout=1d chain=prerouting content=cdngarenanow-a.akamaihd.net dst-address-list=!LOKAL src-address-list=LOKAL
  176. /ip firewall raw add action=add-dst-to-address-list address-list=IP-UMUM address-list-timeout=1d chain=prerouting dst-address-list=!LOKAL dst-port=20443,12030 protocol=tcp src-address-list=LOKAL
  177. /ip firewall raw add action=add-dst-to-address-list address-list=IP-UMUM address-list-timeout=6h chain=prerouting comment="APPS UMUM" content=snackvideo dst-address-list=!LOKAL src-address-list=LOKAL
  178. /ip firewall raw add action=add-dst-to-address-list address-list=IP-UMUM address-list-timeout=6h chain=prerouting content=like.video dst-address-list=!LOKAL src-address-list=LOKAL
  179. /ip firewall raw add action=add-dst-to-address-list address-list=IP-UMUM address-list-timeout=6h chain=prerouting content=likeevideo dst-address-list=!LOKAL src-address-list=LOKAL
  180. /ip firewall raw add action=add-dst-to-address-list address-list=IP-UMUM address-list-timeout=6h chain=prerouting content=bigo.sg dst-address-list=!LOKAL src-address-list=LOKAL
  181. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting comment=SOSMED content=facebook.com dst-address-list=!LOKAL src-address-list=LOKAL
  182. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=fbsbx.com dst-address-list=!LOKAL src-address-list=LOKAL
  183. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=fbcdn.net dst-address-list=!LOKAL src-address-list=LOKAL
  184. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=instagram.com dst-address-list=!LOKAL src-address-list=LOKAL
  185. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=cdninstagram.com dst-address-list=!LOKAL src-address-list=LOKAL
  186. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=tiktokcdn.com dst-address-list=!LOKAL src-address-list=LOKAL
  187. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=tiktokv.com dst-address-list=!LOKAL src-address-list=LOKAL
  188. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=tiktok.com dst-address-list=!LOKAL src-address-list=LOKAL
  189. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SPEEDTEST address-list-timeout=6h chain=prerouting comment=SPEEDTEST content=speedtest dst-address-list=!LOKAL src-address-list=LOKAL
  190. /
  191.  
  192. # SIMPLE QUEUE
  193. /queue type add kind=pcq name=pcq-download-chat pcq-burst-rate=10M pcq-burst-threshold=1500k pcq-burst-time=40s pcq-classifier=dst-address pcq-dst-address6-mask=64 pcq-limit=1024KiB pcq-rate=3M pcq-src-address6-mask=64 pcq-total-limit=512000KiB
  194. /queue type add kind=pcq name=pcq-upload-chat pcq-burst-rate=10M pcq-burst-threshold=1500k pcq-burst-time=40s pcq-classifier=src-address pcq-dst-address6-mask=64 pcq-limit=1024KiB pcq-rate=3M pcq-src-address6-mask=64 pcq-total-limit=512000KiB
  195. /queue type add kind=pcq name=pcq-download-meeting pcq-burst-rate=5M pcq-burst-threshold=2250k pcq-burst-time=14s pcq-classifier=dst-address pcq-dst-address6-mask=64 pcq-limit=1024KiB pcq-rate=3M pcq-src-address6-mask=64 pcq-total-limit=512000KiB
  196. /queue type add kind=pcq name=pcq-upload-meeting pcq-burst-rate=5M pcq-burst-threshold=2250k pcq-burst-time=14s pcq-classifier=src-address pcq-dst-address6-mask=64 pcq-limit=1024KiB pcq-rate=3M pcq-src-address6-mask=64 pcq-total-limit=512000KiB
  197. /queue type add kind=pcq name=pcq-download-game pcq-classifier=dst-address pcq-limit=1024KiB pcq-total-limit=512000KiB
  198. /queue type add kind=pcq name=pcq-upload-game pcq-classifier=src-address pcq-limit=1024KiB pcq-total-limit=512000KiB
  199. /queue type add kind=pcq name=pcq-download-unlimited pcq-classifier=dst-address pcq-limit=1024KiB pcq-total-limit=51200KiB
  200. /queue type add kind=pcq name=pcq-upload-unlimited pcq-classifier=src-address pcq-limit=1024KiB pcq-total-limit=51200KiB
  201. /queue simple add comment="[ Copyright \A9 2 ISP Game Script Proudly Presents for Pejuang GSM ]" name="-> GLOBAL CONNECTION" queue=default/default target=192.168.2.0/24,192.168.3.0/24,192.168.4.0/24
  202. /queue simple add name="1. GAME" packet-marks="GAME UPLOAD,GAME DOWNLOAD,DNS UPLOAD,DNS DOWNLOAD,ICMP UPLOAD,ICMP DOWNLOAD" parent="-> GLOBAL CONNECTION" priority=1/1 queue=pcq-upload-game/pcq-download-game target=192.168.2.0/24,192.168.3.0/24,192.168.4.0/24
  203. /queue simple add name="2. CHAT / VoIP" packet-marks="CHAT UPLOAD,CHAT DOWNLOAD" parent="-> GLOBAL CONNECTION" priority=2/2 queue=pcq-upload-chat/pcq-download-chat target=192.168.2.0/24,192.168.3.0/24,192.168.4.0/24
  204. /queue simple add name="3. MEETING" packet-marks="MEETING UPLOAD,MEETING DOWNLOAD" parent="-> GLOBAL CONNECTION" priority=2/2 queue=pcq-upload-meeting/pcq-download-meeting target=192.168.2.0/24,192.168.3.0/24,192.168.4.0/24
  205. /queue simple add name="4. ALL CONNECTION" parent="-> GLOBAL CONNECTION" queue=default/default target=192.168.2.0/24,192.168.3.0/24,192.168.4.0/24
  206. /queue simple add name="CLIENT DHCP" parent="4. ALL CONNECTION" queue=default/default target=192.168.2.0/24
  207. /queue simple add name="CLIENT HOTSPOT" parent="4. ALL CONNECTION" queue=default/default target=192.168.3.0/24
  208. /queue simple add name="CLIENT RUMAHAN & PPPOE" parent="4. ALL CONNECTION" queue=default/default target=192.168.4.0/24
  209. /queue simple add name="PC Pribadi" parent="CLIENT DHCP" queue=default/default target=192.168.2.254/32
  210. /ip hotspot user profile { set [find] parent="CLIENT HOTSPOT" transparent-proxy=no insert-queue-before=bottom address-pool=none }
  211. /ppp profile { set [find] parent="CLIENT RUMAHAN & PPPOE" insert-queue-before=bottom }
  212. /
  213.  
  214. # QUEUE TREE
  215. /queue tree add comment="[ Copyright \A9 2 ISP Game Script Proudly Presents for Wahyu Harsyaf ]" name="-> GLOBAL CONNECTION" parent=global queue=default
  216. /queue tree add name="INBOUND PACKET" parent="-> GLOBAL CONNECTION" queue=default
  217. /queue tree add name="OUTBOND PACKET" parent="-> GLOBAL CONNECTION" queue=default
  218. /queue tree add max-limit=5M name="1. Game Download" packet-mark="GAME DOWNLOAD" parent="INBOUND PACKET" priority=1 queue=pcq-download-game
  219. /queue tree add max-limit=5M name="1. Game Upload" packet-mark="GAME UPLOAD" parent="OUTBOND PACKET" priority=1 queue=pcq-upload-game
  220. /queue tree add name="2. DNS [53] Download" packet-mark="DNS DOWNLOAD" parent="INBOUND PACKET" priority=1 queue=pcq-download-game
  221. /queue tree add name="2. DNS [53] Upload" packet-mark="DNS UPLOAD" parent="OUTBOND PACKET" priority=1 queue=pcq-upload-game
  222. /queue tree add name="3. ICMP [ping] Download" packet-mark="ICMP DOWNLOAD" parent="INBOUND PACKET" priority=1 queue=pcq-download-game
  223. /queue tree add name="3. ICMP [ping] Upload" packet-mark="ICMP UPLOAD" parent="OUTBOND PACKET" priority=1 queue=pcq-upload-game
  224. /queue tree add name="4. All Download" parent="INBOUND PACKET" queue=default
  225. /queue tree add name="4. All Upload" parent="OUTBOND PACKET" queue=default
  226. /queue tree add name="1. Chat / VoIP Download" packet-mark="CHAT DOWNLOAD" parent="4. All Download" priority=2 queue=pcq-download-chat
  227. /queue tree add name="1. Chat / VoIP Upload" packet-mark="CHAT UPLOAD" parent="4. All Upload" priority=2 queue=pcq-upload-chat
  228. /queue tree add name="2. Meeting Download" packet-mark="MEETING DOWNLOAD" parent="4. All Download" priority=2 queue=pcq-download-meeting
  229. /queue tree add name="2. Meeting Upload" packet-mark="MEETING UPLOAD" parent="4. All Upload" priority=2 queue=pcq-upload-meeting
  230. /queue tree add name="3. Sosmed Download" packet-mark="SOSMED DOWNLOAD" parent="4. All Download" priority=3 queue=pcq-download-unlimited
  231. /queue tree add name="3. Sosmed Upload" packet-mark="SOSMED UPLOAD" parent="4. All Upload" priority=3 queue=pcq-download-unlimited
  232. /queue tree add name="4. Youtube Download" packet-mark="YOUTUBE DOWNLOAD" parent="4. All Download" priority=4 queue=pcq-download-unlimited
  233. /queue tree add name="4. Youtube Upload" packet-mark="YOUTUBE UPLOAD" parent="4. All Upload" priority=4 queue=pcq-download-unlimited
  234. /queue tree add name="5. Umum Download" packet-mark="UMUM DOWNLOAD" parent="4. All Download" priority=5 queue=default
  235. /queue tree add name="5. Umum Upload" packet-mark="UMUM UPLOAD" parent="4. All Upload" priority=5 queue=default
  236. /queue tree add name="6. High Download" packet-mark="HIGH DOWNLOAD" parent="4. All Download" priority=6 queue=default
  237. /queue tree add name="6. High Upload" packet-mark="HIGH UPLOAD" parent="4. All Upload" priority=6 queue=default
  238. /interface bridge set protocol-mode=none 0
  239. /
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement