Advertisement
INTIMEDIA

2 ISP PAKET HEMAT APPS

Oct 4th, 2021
450
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.80 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. /ip route add check-gateway=ping distance=1 gateway=192.168.9.1 routing-mark=Routing-Sosmed
  17. /
  18.  
  19. # ADDRESS LIST
  20. /ip firewall address-list add address=192.168.0.0/16 list=LOKAL
  21. /ip firewall address-list add address=172.16.0.0/12 list=LOKAL
  22. /ip firewall address-list add address=10.0.0.0/8 list=LOKAL
  23. /ip firewall address-list add address=64.15.126.0/24 list=IP-YOUTUBE
  24. /ip firewall address-list add address=64.15.123.0/24 list=IP-YOUTUBE
  25. /ip firewall address-list add address=64.15.119.0/24 list=IP-YOUTUBE
  26. /ip firewall address-list add address=64.15.118.0/24 list=IP-YOUTUBE
  27. /ip firewall address-list add address=64.15.115.0/24 list=IP-YOUTUBE
  28. /ip firewall address-list add address=64.15.114.0/24 list=IP-YOUTUBE
  29. /ip firewall address-list add address=64.15.112.0/20 list=IP-YOUTUBE
  30. /ip firewall address-list add address=216.73.80.0/20 list=IP-YOUTUBE
  31. /ip firewall address-list add address=208.65.152.0/22 list=IP-YOUTUBE
  32. /ip firewall address-list add address=208.117.254.0/24 list=IP-YOUTUBE
  33. /ip firewall address-list add address=208.117.252.0/24 list=IP-YOUTUBE
  34. /ip firewall address-list add address=208.117.250.0/24 list=IP-YOUTUBE
  35. /ip firewall address-list add address=208.117.246.0/24 list=IP-YOUTUBE
  36. /ip firewall address-list add address=208.117.240.0/24 list=IP-YOUTUBE
  37. /ip firewall address-list add address=208.117.238.0/24 list=IP-YOUTUBE
  38. /ip firewall address-list add address=208.117.234.0/24 list=IP-YOUTUBE
  39. /ip firewall address-list add address=208.117.226.0/24 list=IP-YOUTUBE
  40. /ip firewall address-list add address=208.117.225.0/24 list=IP-YOUTUBE
  41. /ip firewall address-list add address=208.117.224.0/19 list=IP-YOUTUBE
  42. /ip firewall address-list add address=172.110.32.0/21 list=IP-YOUTUBE
  43. /ip firewall address-list add address=136.22.133.0/24 list=IP-YOUTUBE
  44. /ip firewall address-list add address=136.22.132.0/24 list=IP-YOUTUBE
  45. /ip firewall address-list add address=136.22.131.0/24 list=IP-YOUTUBE
  46. /ip firewall address-list add address=136.22.130.0/24 list=IP-YOUTUBE
  47. /ip firewall address-list add address=104.237.191.0/24 list=IP-YOUTUBE
  48. /ip firewall address-list add address=104.237.190.0/24 list=IP-YOUTUBE
  49. /ip firewall address-list add address=104.237.175.0/24 list=IP-YOUTUBE
  50. /ip firewall address-list add address=104.237.172.0/24 list=IP-YOUTUBE
  51. /ip firewall address-list add address=104.237.171.0/24 list=IP-YOUTUBE
  52. /ip firewall address-list add address=104.237.170.0/24 list=IP-YOUTUBE
  53. /ip firewall address-list add address=104.237.169.0/24 list=IP-YOUTUBE
  54. /ip firewall address-list add address=104.237.168.0/24 list=IP-YOUTUBE
  55. /ip firewall address-list add address=104.237.167.0/24 list=IP-YOUTUBE
  56. /ip firewall address-list add address=104.237.164.0/24 list=IP-YOUTUBE
  57. /ip firewall address-list add address=104.237.162.0/24 list=IP-YOUTUBE
  58. /ip firewall address-list add address=104.237.160.0/19 list=IP-YOUTUBE
  59. /ip firewall address-list add address=192.168.2.254 comment="IP Yang diperbolehkan untuk mengakses Modem atau Access Point" list=IP-ADMIN
  60. /
  61.  
  62. # DHCP CLIENT, DNS, SNTP & SCHEDULER
  63. /ip dhcp-client add disabled=no interface=ether1
  64. /ip dhcp-client add add-default-route=no disabled=no interface=ether2
  65. /ip dns set servers=9.9.9.9,1.1.1.1,203.130.196.6,222.124.204.34
  66. /ip dns set allow-remote-requests=yes cache-max-ttl=1d
  67. /ip pool add name=PPPOE ranges=192.168.4.2-192.168.4.254
  68. /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
  69. /system scheduler add interval=1m name=autoremovehs on-event="/queue simple remove [ find name ~\"hs-<\" ]\r\
  70. \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
  71. /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
  72. /system scheduler add interval=5m name=datetime on-event=":local date [/sys clock get date]; \r\
  73. \n:local time [/sys clock get time]; \r\
  74. \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
  75. /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
  76. /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"
  77. /
  78.  
  79. # INTERFACE, NAT, FILTER & LAYER7
  80. /interface list add name=WAN
  81. /interface list add name=LAN
  82. /interface list member add interface=ether1 list=WAN
  83. /interface list member add interface=ether2 list=WAN
  84. /interface list member add interface=ether5 list=LAN
  85. /interface list member add interface=bridge list=LAN
  86. /ip firewall nat add action=masquerade chain=srcnat out-interface-list=WAN
  87. /ip firewall nat add action=masquerade chain=srcnat out-interface=ether1
  88. /ip firewall nat add action=masquerade chain=srcnat out-interface=ether2
  89. /ip firewall nat add action=masquerade chain=srcnat src-address-list=LOKAL
  90. /ip firewall layer7-protocol add name=YOUTUBE regexp="^.+(youtube.com|googlevideo.com).*\$"
  91. /ip firewall filter add action=reject chain=input comment="Anti Winbox Exploit" content=user.dat reject-with=icmp-network-unreachable
  92. /ip firewall filter add action=drop chain=input content=user.dat
  93. /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
  94. /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
  95. /ip firewall filter add action=accept chain=input comment="Allow Established, Related Connections" connection-state=established,related
  96. /ip firewall filter add action=accept chain=forward connection-state=established,related
  97. /ip firewall filter add action=drop chain=input comment="Drop Invalid Connections" connection-state=invalid
  98. /ip firewall filter add action=drop chain=forward connection-state=invalid
  99. /
  100.  
  101. # MANGLE
  102. /ip firewall mangle add action=accept chain=prerouting comment="[ Copyright \A9 2 ISP Unlimited Apps V.2.0 Script Proudly Presents for Pejuang GSM ]" dst-address-list=LOKAL src-address-list=LOKAL
  103. /ip firewall mangle add action=accept chain=postrouting dst-address-list=LOKAL src-address-list=LOKAL
  104. /ip firewall mangle add action=accept chain=forward dst-address-list=LOKAL src-address-list=LOKAL
  105. /ip firewall mangle add action=accept chain=input dst-address-list=LOKAL src-address-list=LOKAL
  106. /ip firewall mangle add action=accept chain=output dst-address-list=LOKAL src-address-list=LOKAL
  107. /ip firewall mangle add action=change-ttl chain=prerouting comment=TTL in-interface-list=WAN new-ttl=set:128 passthrough=yes
  108. /ip firewall mangle add action=change-ttl chain=postrouting disabled=yes new-ttl=set:1 out-interface-list=LAN passthrough=yes
  109. /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
  110. /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
  111. /ip firewall mangle add action=mark-packet chain=prerouting connection-mark="KONEKSI DNS" new-packet-mark="DNS DOWNLOAD" passthrough=no
  112. /ip firewall mangle add action=mark-packet chain=postrouting connection-mark="KONEKSI DNS" new-packet-mark="DNS UPLOAD" passthrough=no
  113. /ip firewall mangle add action=mark-connection chain=forward comment=ICMP new-connection-mark="KONEKSI ICMP" passthrough=yes protocol=icmp
  114. /ip firewall mangle add action=change-dscp chain=forward connection-mark="KONEKSI ICMP" new-dscp=16 passthrough=yes
  115. /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
  116. /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
  117. /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
  118. /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
  119. /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
  120. /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
  121. /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
  122. /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
  123. /ip firewall mangle add action=mark-connection chain=forward connection-mark="KONEKSI HIGH" connection-rate=0-250k new-connection-mark="KONEKSI GAME" passthrough=yes
  124. /ip firewall mangle add action=mark-packet chain=forward connection-mark="KONEKSI HIGH" in-interface-list=WAN new-packet-mark="HIGH DOWNLOAD" passthrough=yes
  125. /ip firewall mangle add action=mark-packet chain=forward connection-mark="KONEKSI HIGH" new-packet-mark="HIGH UPLOAD" out-interface-list=WAN passthrough=yes
  126. /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
  127. /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
  128. /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
  129. /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
  130. /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
  131. /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
  132. /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
  133. /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
  134. /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
  135. /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
  136. /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
  137. /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
  138. /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
  139. /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
  140. /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
  141. /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
  142. /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
  143. /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
  144. /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
  145. /ip firewall mangle add action=mark-routing chain=prerouting dst-address-list=IP-UMUM new-routing-mark=main passthrough=yes src-address-list=LOKAL
  146. /ip firewall mangle add action=mark-routing chain=prerouting dst-address-list=IP-CHAT new-routing-mark=Routing-Sosmed passthrough=yes src-address-list=LOKAL
  147. /ip firewall mangle add action=mark-routing chain=prerouting dst-address-list=IP-SOSMED new-routing-mark=Routing-Sosmed passthrough=yes src-address-list=LOKAL
  148. /ip firewall mangle add action=mark-routing chain=prerouting dst-address-list=IP-YOUTUBE new-routing-mark=Routing-Sosmed passthrough=yes src-address-list=LOKAL
  149. /ip firewall mangle add action=mark-routing chain=prerouting dst-address-list=IP-SPEEDTEST new-routing-mark=main passthrough=yes src-address-list=LOKAL
  150. /
  151.  
  152. # RAW
  153. /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
  154. /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
  155. /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
  156. /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
  157. /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
  158. /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
  159. /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
  160. /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
  161. /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
  162. /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
  163. /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
  164. /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
  165. /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
  166. /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
  167. /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
  168. /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
  169. /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
  170. /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
  171. /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
  172. /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
  173. /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
  174. /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
  175. /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
  176. /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
  177. /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
  178. /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
  179. /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
  180. /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
  181. /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
  182. /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
  183. /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
  184. /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
  185. /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
  186. /ip firewall raw add action=add-dst-to-address-list address-list=IP-UMUM address-list-timeout=6m chain=prerouting comment=PLAYSTORE content=play.google.com dst-address-list=!LOKAL src-address-list=LOKAL
  187. /ip firewall raw add action=add-dst-to-address-list address-list=IP-UMUM address-list-timeout=6m chain=prerouting content=android.com dst-address-list=!LOKAL src-address-list=LOKAL
  188. /ip firewall raw add action=add-dst-to-address-list address-list=IP-UMUM address-list-timeout=6m chain=prerouting content=google-analytics.com dst-address-list=!LOKAL src-address-list=LOKAL
  189. /ip firewall raw add action=add-dst-to-address-list address-list=IP-UMUM address-list-timeout=6m chain=prerouting content=googleusercontent.com dst-address-list=!LOKAL src-address-list=LOKAL
  190. /ip firewall raw add action=add-dst-to-address-list address-list=IP-UMUM address-list-timeout=6m chain=prerouting content=*gstatic.com dst-address-list=!LOKAL src-address-list=LOKAL
  191. /ip firewall raw add action=add-dst-to-address-list address-list=IP-UMUM address-list-timeout=6m chain=prerouting content=*.gvt1.com dst-address-list=!LOKAL src-address-list=LOKAL
  192. /ip firewall raw add action=add-dst-to-address-list address-list=IP-UMUM address-list-timeout=6m chain=prerouting content=*.ggpht.com dst-address-list=!LOKAL src-address-list=LOKAL
  193. /ip firewall raw add action=add-dst-to-address-list address-list=IP-UMUM address-list-timeout=6m chain=prerouting content=dl.google.com dst-address-list=!LOKAL src-address-list=LOKAL
  194. /ip firewall raw add action=add-dst-to-address-list address-list=IP-UMUM address-list-timeout=6m chain=prerouting content=dl-ssl.google.com dst-address-list=!LOKAL src-address-list=LOKAL
  195. /ip firewall raw add action=add-dst-to-address-list address-list=IP-UMUM address-list-timeout=6m chain=prerouting content=android.clients.google.com dst-address-list=!LOKAL src-address-list=LOKAL
  196. /ip firewall raw add action=add-dst-to-address-list address-list=IP-UMUM address-list-timeout=6m chain=prerouting content=*.gvt2.com dst-address-list=!LOKAL src-address-list=LOKAL
  197. /ip firewall raw add action=add-dst-to-address-list address-list=IP-UMUM address-list-timeout=6m chain=prerouting content=*.gvt3.com dst-address-list=!LOKAL src-address-list=LOKAL
  198. /ip firewall raw add action=add-dst-to-address-list address-list=IP-UMUM address-list-timeout=6m chain=prerouting content=*.googleapis. dst-address-list=!LOKAL src-address-list=LOKAL
  199. /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
  200. /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
  201. /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
  202. /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
  203. /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
  204. /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
  205. /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
  206. /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
  207. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=line.me dst-address-list=!LOKAL src-address-list=LOKAL
  208. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=naver.jp dst-address-list=!LOKAL src-address-list=LOKAL
  209. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=line-scdn.net dst-address-list=!LOKAL src-address-list=LOKAL
  210. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=spotify.com dst-address-list=!LOKAL src-address-list=LOKAL
  211. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=joox.com dst-address-list=!LOKAL src-address-list=LOKAL
  212. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=deezer.com dst-address-list=!LOKAL src-address-list=LOKAL
  213. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=langitmusik.co.id dst-address-list=!LOKAL src-address-list=LOKAL
  214. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=suararadio.com dst-address-list=!LOKAL src-address-list=LOKAL
  215. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=svara.id dst-address-list=!LOKAL src-address-list=LOKAL
  216. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=resso.app dst-address-list=!LOKAL src-address-list=LOKAL
  217. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=vidio.com dst-address-list=!LOKAL src-address-list=LOKAL
  218. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=static-playback-vidio-com.akamaized dst-address-list=!LOKAL src-address-list=LOKAL
  219. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=cdn-production-thumbor-vidio.akamaized dst-address-list=!LOKAL src-address-list=LOKAL
  220. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=etslive-2-vidio-com.akamaized dst-address-list=!LOKAL src-address-list=LOKAL
  221. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=iflix.com dst-address-list=!LOKAL src-address-list=LOKAL
  222. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=netflix.com dst-address-list=!LOKAL src-address-list=LOKAL
  223. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=nflxvideo dst-address-list=!LOKAL src-address-list=LOKAL
  224. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=nflxso dst-address-list=!LOKAL src-address-list=LOKAL
  225. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=viu.com dst-address-list=!LOKAL src-address-list=LOKAL
  226. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=gcpvuclip-a.akamaihd dst-address-list=!LOKAL src-address-list=LOKAL
  227. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=vuclip-eip-th.akamaized dst-address-list=!LOKAL src-address-list=LOKAL
  228. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=hbogoasia dst-address-list=!LOKAL src-address-list=LOKAL
  229. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=telkomsel.com dst-address-list=!LOKAL src-address-list=LOKAL
  230. /ip firewall raw add action=add-dst-to-address-list address-list=IP-SOSMED address-list-timeout=6h chain=prerouting content=genflix-prd-uploads.s3.ap-southeast-1.amazonaws dst-address-list=!LOKAL src-address-list=LOKAL
  231. /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
  232. /
  233.  
  234. # SIMPLE QUEUE
  235. /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
  236. /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
  237. /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
  238. /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
  239. /queue type add kind=pcq name=pcq-download-game pcq-classifier=dst-address pcq-limit=1024KiB pcq-total-limit=512000KiB
  240. /queue type add kind=pcq name=pcq-upload-game pcq-classifier=src-address pcq-limit=1024KiB pcq-total-limit=512000KiB
  241. /queue type add kind=pcq name=pcq-download-unlimited pcq-classifier=dst-address pcq-limit=1024KiB pcq-total-limit=51200KiB
  242. /queue type add kind=pcq name=pcq-upload-unlimited pcq-classifier=src-address pcq-limit=1024KiB pcq-total-limit=51200KiB
  243. /queue simple add comment="[ Copyright \A9 2 ISP Unlimited Apps V.2.0 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
  244. /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
  245. /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
  246. /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
  247. /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
  248. /queue simple add name="CLIENT DHCP" parent="4. ALL CONNECTION" queue=default/default target=192.168.2.0/24
  249. /queue simple add name="CLIENT HOTSPOT" parent="4. ALL CONNECTION" queue=default/default target=192.168.3.0/24
  250. /queue simple add name="CLIENT RUMAHAN & PPPOE" parent="4. ALL CONNECTION" queue=default/default target=192.168.4.0/24
  251. /queue simple add name="PC Pribadi" parent="CLIENT DHCP" queue=default/default target=192.168.2.254/32
  252. /ip hotspot user profile { set [find] parent="CLIENT HOTSPOT" transparent-proxy=no insert-queue-before=bottom address-pool=none }
  253. /ppp profile { set [find] parent="CLIENT RUMAHAN & PPPOE" insert-queue-before=bottom }
  254. /
  255.  
  256. # QUEUE TREE
  257. /queue tree add comment="[ Copyright \A9 2 ISP Unlimited Apps V.2.0 Script Proudly Presents for Wahyu Harsyaf ]" name="-> GLOBAL CONNECTION" parent=global queue=default
  258. /queue tree add name="INBOUND PACKET" parent="-> GLOBAL CONNECTION" queue=default
  259. /queue tree add name="OUTBOND PACKET" parent="-> GLOBAL CONNECTION" queue=default
  260. /queue tree add max-limit=5M name="1. Game Download" packet-mark="GAME DOWNLOAD" parent="INBOUND PACKET" priority=1 queue=pcq-download-game
  261. /queue tree add max-limit=5M name="1. Game Upload" packet-mark="GAME UPLOAD" parent="OUTBOND PACKET" priority=1 queue=pcq-upload-game
  262. /queue tree add name="2. DNS [53] Download" packet-mark="DNS DOWNLOAD" parent="INBOUND PACKET" priority=1 queue=pcq-download-game
  263. /queue tree add name="2. DNS [53] Upload" packet-mark="DNS UPLOAD" parent="OUTBOND PACKET" priority=1 queue=pcq-upload-game
  264. /queue tree add name="3. ICMP [ping] Download" packet-mark="ICMP DOWNLOAD" parent="INBOUND PACKET" priority=1 queue=pcq-download-game
  265. /queue tree add name="3. ICMP [ping] Upload" packet-mark="ICMP UPLOAD" parent="OUTBOND PACKET" priority=1 queue=pcq-upload-game
  266. /queue tree add name="4. All Download" parent="INBOUND PACKET" queue=default
  267. /queue tree add name="4. All Upload" parent="OUTBOND PACKET" queue=default
  268. /queue tree add name="1. Chat / VoIP Download" packet-mark="CHAT DOWNLOAD" parent="4. All Download" priority=2 queue=pcq-download-chat
  269. /queue tree add name="1. Chat / VoIP Upload" packet-mark="CHAT UPLOAD" parent="4. All Upload" priority=2 queue=pcq-upload-chat
  270. /queue tree add name="2. Meeting Download" packet-mark="MEETING DOWNLOAD" parent="4. All Download" priority=2 queue=pcq-download-meeting
  271. /queue tree add name="2. Meeting Upload" packet-mark="MEETING UPLOAD" parent="4. All Upload" priority=2 queue=pcq-upload-meeting
  272. /queue tree add name="3. Sosmed Download" packet-mark="SOSMED DOWNLOAD" parent="4. All Download" priority=3 queue=pcq-download-unlimited
  273. /queue tree add name="3. Sosmed Upload" packet-mark="SOSMED UPLOAD" parent="4. All Upload" priority=3 queue=pcq-download-unlimited
  274. /queue tree add name="4. Youtube Download" packet-mark="YOUTUBE DOWNLOAD" parent="4. All Download" priority=4 queue=pcq-download-unlimited
  275. /queue tree add name="4. Youtube Upload" packet-mark="YOUTUBE UPLOAD" parent="4. All Upload" priority=4 queue=pcq-download-unlimited
  276. /queue tree add name="5. Umum Download" packet-mark="UMUM DOWNLOAD" parent="4. All Download" priority=5 queue=default
  277. /queue tree add name="5. Umum Upload" packet-mark="UMUM UPLOAD" parent="4. All Upload" priority=5 queue=default
  278. /queue tree add name="6. High Download" packet-mark="HIGH DOWNLOAD" parent="4. All Download" priority=6 queue=default
  279. /queue tree add name="6. High Upload" packet-mark="HIGH UPLOAD" parent="4. All Upload" priority=6 queue=default
  280. /interface bridge set protocol-mode=none 0
  281. /
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement