Advertisement
rootplg3544

Static Routing 2 Line

Sep 16th, 2019
1,059
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.66 KB | None | 0 0
  1. Edisi modifikasi script dari Bang Ega dan Agung Cespun Setiawan dengan tujuan untuk Static Routing untuk 2 Line. Youtube, Sosmed, File Besar masuk ke Seamless selain itu masuk ke Indihome.
  2.  
  3. Mohon koresksi dari para master karena script ini asal comot sana sini dan pastinya tidak sebaik hasil racikan Para Master. Sudah ujicoba Youtube, Browsing, Facebook. Masih ada kendala disaat buka indoxxi untuk download melalui IDM masih masuk ke Indihome.
  4. ether1 = INDIHOME
  5. wlan2 = SEAMLESS
  6. Lokal = 192.168.10.0/23
  7. Pada Route untuk GATEWAY isi IP ADDRESS masing-masing WAN bukan interfacenya
  8.  
  9. /interface list
  10. add name=WAN
  11.  
  12. /interface list member
  13. add interface=wlan2 list=WAN
  14. add interface=ether1 list=WAN
  15.  
  16. /interface bridge
  17. add name=bridge1
  18.  
  19. /interface bridge port
  20. add bridge=bridge1 interface=ether2
  21. add bridge=bridge1 interface=ether3
  22. add bridge=bridge1 interface=ether4
  23. add bridge=bridge1 interface=ether5
  24. add bridge=bridge1 interface=wlan1
  25.  
  26. /ip firewall address-list
  27. add address=0.0.0.0/8 list=private-lokal
  28. add address=10.0.0.0/8 list=private-lokal
  29. add address=100.64.0.0/10 list=private-lokal
  30. add address=127.0.0.0/8 list=private-lokal
  31. add address=169.254.0.0/16 list=private-lokal
  32. add address=172.16.0.0/12 list=private-lokal
  33. add address=192.0.0.0/24 list=private-lokal
  34. add address=192.0.2.0/24 list=private-lokal
  35. add address=192.168.0.0/16 list=private-lokal
  36. add address=198.18.0.0/15 list=private-lokal
  37. add address=198.51.100.0/24 list=private-lokal
  38. add address=203.0.113.0/24 list=private-lokal
  39. add address=224.0.0.0/3 list=private-lokal
  40. add address=118.98.0.0/17 list=ggc-telkom
  41. add address=118.97.0.0/16 list=ggc-telkom
  42. add address=31.13.24.0/21 comment="Facebook Ireland" list=sosmed
  43. add address=31.13.64.0/18 comment="Facebook Ireland" list=sosmed
  44. add address=31.13.64.0/19 comment="Facebook Ireland" list=sosmed
  45. add address=31.13.64.0/24 comment="Facebook Ireland" list=sosmed
  46. add address=31.13.65.0/24 comment="Facebook Ireland" list=sosmed
  47. add address=31.13.66.0/24 comment="Facebook Ireland" list=sosmed
  48. add address=31.13.67.0/24 comment="Facebook Ireland" list=sosmed
  49. add address=31.13.68.0/24 comment="Facebook Ireland" list=sosmed
  50. add address=31.13.69.0/24 comment="Facebook Ireland" list=sosmed
  51. add address=31.13.70.0/24 comment="Facebook Ireland" list=sosmed
  52. add address=31.13.71.0/24 comment="Facebook Ireland" list=sosmed
  53. add address=31.13.72.0/24 comment="Facebook Ireland" list=sosmed
  54. add address=31.13.73.0/24 comment="Facebook Ireland" list=sosmed
  55. add address=31.13.74.0/24 comment="Facebook Ireland" list=sosmed
  56. add address=31.13.75.0/24 comment="Facebook Ireland" list=sosmed
  57. add address=31.13.76.0/24 comment="Facebook Ireland" list=sosmed
  58. add address=31.13.78.0/24 comment="Facebook Ireland" list=sosmed
  59. add address=31.13.80.0/24 comment="Facebook Ireland" list=sosmed
  60. add address=31.13.81.0/24 comment="Facebook Ireland" list=sosmed
  61. add address=31.13.82.0/24 comment="Facebook Ireland" list=sosmed
  62. add address=31.13.83.0/24 comment="Facebook Ireland" list=sosmed
  63. add address=31.13.84.0/24 comment="Facebook Ireland" list=sosmed
  64. add address=31.13.85.0/24 comment="Facebook Ireland" list=sosmed
  65. add address=31.13.86.0/24 comment="Facebook Ireland" list=sosmed
  66. add address=31.13.87.0/24 comment="Facebook Ireland" list=sosmed
  67. add address=31.13.90.0/24 comment="Facebook Ireland" list=sosmed
  68. add address=31.13.91.0/24 comment="Facebook Ireland" list=sosmed
  69. add address=31.13.92.0/24 comment="Facebook Ireland" list=sosmed
  70. add address=31.13.94.0/24 comment="Facebook Ireland" list=sosmed
  71. add address=31.13.95.0/24 comment="Facebook Ireland" list=sosmed
  72. add address=31.13.96.0/19 comment="Facebook Ireland" list=sosmed
  73. add address=45.64.40.0/22 comment="Facebook Singapore Pte Ltd. Singapore" list=sosmed
  74. add address=66.220.144.0/20 comment="Facebook, Inc. United States" list=sosmed
  75. add address=66.220.144.0/21 comment="Facebook, Inc. United States" list=sosmed
  76. add address=66.220.152.0/21 comment="Facebook, Inc. United States" list=sosmed
  77. add address=69.63.176.0/20 comment="Facebook, Inc. United States" list=sosmed
  78. add address=69.63.176.0/21 comment="Facebook, Inc. United States" list=sosmed
  79. add address=69.63.184.0/21 comment="Facebook, Inc. United States" list=sosmed
  80. add address=69.171.224.0/19 comment="Facebook, Inc. United States" list=sosmed
  81. add address=69.171.224.0/20 comment="Facebook, Inc. United States" list=sosmed
  82. add address=69.171.239.0/24 comment="Facebook, Inc. United States" list=sosmed
  83. add address=69.171.240.0/20 comment="Facebook, Inc. United States" list=sosmed
  84. add address=69.171.255.0/24 comment="Facebook, Inc. United States" list=sosmed
  85. add address=74.119.76.0/22 comment="Facebook, Inc. United States" list=sosmed
  86. add address=103.4.96.0/22 comment=" Temasek Avenue Singapore" list=sosmed
  87. add address=157.240.0.0/17 comment="Facebook, Inc. United States" list=sosmed
  88. add address=157.240.1.0/24 comment="Facebook, Inc. United States" list=sosmed
  89. add address=157.240.2.0/24 comment="Facebook, Inc. United States" list=sosmed
  90. add address=157.240.3.0/24 comment="Facebook, Inc. United States" list=sosmed
  91. add address=157.240.6.0/24 comment="Facebook, Inc. United States" list=sosmed
  92. add address=157.240.7.0/24 comment="Facebook, Inc. United States" list=sosmed
  93. add address=157.240.8.0/24 comment="Facebook, Inc. United States" list=sosmed
  94. add address=157.240.9.0/24 comment="Facebook, Inc. United States" list=sosmed
  95. add address=157.240.10.0/24 comment="Facebook, Inc. United States" list=sosmed
  96. add address=157.240.11.0/24 comment="Facebook, Inc. United States" list=sosmed
  97. add address=157.240.12.0/24 comment="Facebook, Inc. United States" list=sosmed
  98. add address=157.240.13.0/24 comment="Facebook, Inc. United States" list=sosmed
  99. add address=157.240.14.0/24 comment="Facebook, Inc. United States" list=sosmed
  100. add address=157.240.15.0/24 comment="Facebook, Inc. United States" list=sosmed
  101. add address=157.240.16.0/24 comment="Facebook, Inc. United States" list=sosmed
  102. add address=157.240.18.0/24 comment="Facebook, Inc. United States" list=sosmed
  103. add address=157.240.20.0/24 comment="Facebook, Inc. United States" list=sosmed
  104. add address=157.240.21.0/24 comment="Facebook, Inc. United States" list=sosmed
  105. add address=157.240.22.0/24 comment="Facebook, Inc. United States" list=sosmed
  106. add address=173.252.64.0/19 comment="Facebook, Inc. United States" list=sosmed
  107. add address=173.252.88.0/21 comment="Facebook, Inc. United States" list=sosmed
  108. add address=173.252.96.0/19 comment="Facebook, Inc. United States" list=sosmed
  109. add address=179.60.192.0/22 comment="Edge Network Services Ltd United States" list=sosmed
  110. add address=179.60.192.0/24 comment="Edge Network Services Ltd United States" list=sosmed
  111. add address=179.60.193.0/24 comment="Edge Network Services Ltd United States" list=sosmed
  112. add address=179.60.195.0/24 comment="Edge Network Services Ltd United States" list=sosmed
  113. add address=185.60.216.0/22 comment="Facebook Ireland" list=sosmed
  114. add address=185.60.216.0/24 comment="Facebook Ireland" list=sosmed
  115. add address=185.60.218.0/24 comment="Facebook Ireland" list=sosmed
  116. add address=185.60.219.0/24 comment="Facebook Ireland" list=sosmed
  117. add address=204.15.20.0/22 comment="Facebook, Inc. United States" list=sosmed
  118. add address=64.63.0.0/18 comment="MoPub, Inc. United States" list=sosmed
  119. add address=69.195.160.0/24 comment="Twitter Inc. United States" list=sosmed
  120. add address=69.195.162.0/24 comment="Twitter Inc. United States" list=sosmed
  121. add address=69.195.163.0/24 comment="Twitter Inc. United States" list=sosmed
  122. add address=69.195.164.0/24 comment="Twitter Inc. United States" list=sosmed
  123. add address=69.195.165.0/24 comment="Twitter Inc. United States" list=sosmed
  124. add address=69.195.166.0/24 comment="Twitter Inc. United States" list=sosmed
  125. add address=69.195.168.0/24 comment="Twitter Inc. United States" list=sosmed
  126. add address=69.195.169.0/24 comment="Twitter Inc. United States" list=sosmed
  127. add address=69.195.171.0/24 comment="Twitter Inc. United States" list=sosmed
  128. add address=69.195.172.0/24 comment="Twitter Inc. United States" list=sosmed
  129. add address=69.195.173.0/24 comment="Twitter Inc. United States" list=sosmed
  130. add address=69.195.175.0/24 comment="Twitter Inc. United States" list=sosmed
  131. add address=69.195.176.0/24 comment="Twitter Inc. United States" list=sosmed
  132. add address=69.195.177.0/24 comment="Twitter Inc. United States" list=sosmed
  133. add address=69.195.178.0/24 comment="Twitter Inc. United States" list=sosmed
  134. add address=69.195.179.0/24 comment="Twitter Inc. United States" list=sosmed
  135. add address=69.195.180.0/24 comment="Twitter Inc. United States" list=sosmed
  136. add address=69.195.181.0/24 comment="Twitter Inc. United States" list=sosmed
  137. add address=69.195.182.0/24 comment="Twitter Inc. United States" list=sosmed
  138. add address=69.195.184.0/24 comment="Twitter Inc. United States" list=sosmed
  139. add address=69.195.185.0/24 comment="Twitter Inc. United States" list=sosmed
  140. add address=69.195.186.0/24 comment="Twitter Inc. United States" list=sosmed
  141. add address=69.195.187.0/24 comment="Twitter Inc. United States" list=sosmed
  142. add address=69.195.188.0/24 comment="Twitter Inc. United States" list=sosmed
  143. add address=69.195.189.0/24 comment="Twitter Inc. United States" list=sosmed
  144. add address=69.195.190.0/24 comment="Twitter Inc. United States" list=sosmed
  145. add address=69.195.191.0/24 comment="Twitter Inc. United States" list=sosmed
  146. add address=103.252.112.0/23 comment="60 Robinson Road, #11-02 BEA Building, Singapore 068892. Singapore" list=sosmed
  147. add address=103.252.114.0/23 comment="60 Robinson Road, #11-02 BEA Building, Singapore 068892. Singapore" list=sosmed
  148. add address=104.244.40.0/24 comment="Twitter Inc. United States" list=sosmed
  149. add address=104.244.41.0/24 comment="Twitter Inc. United States" list=sosmed
  150. add address=104.244.42.0/24 comment="Twitter Inc. United States" list=sosmed
  151. add address=104.244.43.0/24 comment="Twitter Inc. United States" list=sosmed
  152. add address=104.244.44.0/24 comment="Twitter Inc. United States" list=sosmed
  153. add address=104.244.45.0/24 comment="Twitter Inc. United States" list=sosmed
  154. add address=104.244.46.0/24 comment="Twitter Inc. United States" list=sosmed
  155. add address=104.244.47.0/24 comment="Twitter Inc. United States" list=sosmed
  156. add address=185.45.5.0/24 comment="Twitter International Company Ireland" list=sosmed
  157. add address=185.45.6.0/23 comment="Twitter International Company Ireland" list=sosmed
  158. add address=188.64.224.0/24 comment="Heron SAS France" list=sosmed
  159. add address=188.64.225.0/24 comment="Heron SAS France" list=sosmed
  160. add address=188.64.226.0/23 comment="Heron SAS France" list=sosmed
  161. add address=188.64.226.0/24 comment="Heron SAS France" list=sosmed
  162. add address=188.64.227.0/24 comment="Heron SAS France" list=sosmed
  163. add address=188.64.228.0/24 comment="Heron SAS France" list=sosmed
  164. add address=188.64.229.0/24 comment="Heron SAS France" list=sosmed
  165. add address=192.44.69.0/24 comment="Crashlytics, Inc United States" list=sosmed
  166. add address=192.133.76.0/22 comment="Twitter Inc. United States" list=sosmed
  167. add address=192.133.76.0/23 comment="Twitter Inc. United States" list=sosmed
  168. add address=199.16.156.0/22 comment="Twitter Inc. United States" list=sosmed
  169. add address=199.16.156.0/23 comment="Twitter Inc. United States" list=sosmed
  170. add address=199.59.148.0/22 comment="Twitter Inc. United States" list=sosmed
  171. add address=199.96.56.0/23 comment="Twitter Inc. United States" list=sosmed
  172. add address=199.96.56.0/24 comment="Twitter Inc. United States" list=sosmed
  173. add address=199.96.57.0/24 comment="Twitter Inc. United States" list=sosmed
  174. add address=199.96.58.0/23 comment="Twitter Inc. United States" list=sosmed
  175. add address=199.96.60.0/23 comment="Twitter Inc. United States" list=sosmed
  176. add address=199.96.60.0/24 comment="Twitter Inc. United States" list=sosmed
  177. add address=199.96.61.0/24 comment="Twitter Inc. United States" list=sosmed
  178. add address=199.96.62.0/23 comment="Twitter Inc. United States" list=sosmed
  179. add address=202.160.128.0/24 comment="Twitter Asia Pacific Pte. Ltd. Singapore" list=sosmed
  180. add address=202.160.129.0/24 comment="Twitter Asia Pacific Pte. Ltd. Singapore" list=sosmed
  181. add address=202.160.130.0/24 comment="Twitter Asia Pacific Pte. Ltd. Singapore" list=sosmed
  182. add address=202.160.131.0/24 comment="Twitter Asia Pacific Pte. Ltd. Singapore" list=sosmed
  183. add address=209.237.192.0/24 comment="Twitter Inc. United States" list=sosmed
  184. add address=209.237.193.0/24 comment="Twitter Inc. United States" list=sosmed
  185. add address=209.237.194.0/24 comment="Twitter Inc. United States" list=sosmed
  186. add address=209.237.195.0/24 comment="Twitter Inc. United States" list=sosmed
  187. add address=209.237.196.0/24 comment="Twitter Inc. United States" list=sosmed
  188. add address=209.237.197.0/24 comment="Twitter Inc. United States" list=sosmed
  189. add address=209.237.198.0/24 comment="Twitter Inc. United States" list=sosmed
  190. add address=209.237.199.0/24 comment="Twitter Inc. United States" list=sosmed
  191. add address=209.237.200.0/24 comment="Twitter Inc. United States" list=sosmed
  192. add address=209.237.201.0/24 comment="Twitter Inc. United States" list=sosmed
  193. add address=209.237.204.0/24 comment="Twitter Inc. United States" list=sosmed
  194. add address=209.237.205.0/24 comment="Twitter Inc. United States" list=sosmed
  195. add address=209.237.206.0/24 comment="Twitter Inc. United States" list=sosmed
  196. add address=209.237.207.0/24 comment="Twitter Inc. United States" list=sosmed
  197. add address=209.237.208.0/24 comment="Twitter Inc. United States" list=sosmed
  198. add address=209.237.209.0/24 comment="Twitter Inc. United States" list=sosmed
  199. add address=209.237.210.0/24 comment="Twitter Inc. United States" list=sosmed
  200. add address=209.237.211.0/24 comment="Twitter Inc. United States" list=sosmed
  201. add address=209.237.212.0/24 comment="Twitter Inc. United States" list=sosmed
  202. add address=209.237.213.0/24 comment="Twitter Inc. United States" list=sosmed
  203. add address=209.237.214.0/24 comment="Twitter Inc. United States" list=sosmed
  204. add address=209.237.215.0/24 comment="Twitter Inc. United States" list=sosmed
  205. add address=209.237.216.0/24 comment="Twitter Inc. United States" list=sosmed
  206. add address=209.237.217.0/24 comment="Twitter Inc. United States" list=sosmed
  207. add address=209.237.218.0/24 comment="Twitter Inc. United States" list=sosmed
  208. add address=209.237.219.0/24 comment="Twitter Inc. United States" list=sosmed
  209. add address=209.237.220.0/24 comment="Twitter Inc. United States" list=sosmed
  210. add address=209.237.221.0/24 comment="Twitter Inc. United States" list=sosmed
  211. add address=209.237.222.0/24 comment="Twitter Inc. United States" list=sosmed
  212. add address=209.237.223.0/24 comment="Twitter Inc. United States" list=sosmed
  213.  
  214. /ip firewall mangle
  215. add action=mark-packet chain=forward comment="ICMP DNS DOWNLOAD" in-interface-list=WAN new-packet-mark=icmp-dns-download passthrough=no protocol=icmp
  216. add action=mark-packet chain=forward in-interface-list=WAN new-packet-mark=icmp-dns-download passthrough=no protocol=tcp src-port=53,5353,123
  217. add action=mark-packet chain=forward in-interface-list=WAN new-packet-mark=icmp-dns-download passthrough=no protocol=udp src-port=53,5353,123
  218. add action=mark-packet chain=forward comment="ICMP DNS UPLOAD" new-packet-mark=icmp-dns-upload out-interface-list=WAN passthrough=no protocol=icmp
  219. add action=mark-packet chain=forward dst-port=53,5353,123 new-packet-mark=icmp-dns-upload out-interface-list=WAN passthrough=no protocol=tcp
  220. add action=mark-packet chain=forward dst-port=53,5353,123 new-packet-mark=icmp-dns-upload out-interface-list=WAN passthrough=no protocol=udp
  221. add action=mark-connection chain=prerouting comment="PORT UMUM" dst-port=21,22,23,81,88,5050,843,182,8777,1935,53,8000-8081,80,443 in-interface=!ether1 \
  222. new-connection-mark="PORT UMUM" passthrough=yes protocol=tcp
  223. add action=mark-connection chain=prerouting dst-port=21,22,23,81,88,5050,843,182,8777,1935,53,8000-8081,80,443 in-interface=!ether1 new-connection-mark="PORT UMUM" \
  224. passthrough=yes protocol=udp
  225. add action=mark-connection chain=prerouting dst-port=67,5228,35915,39397,110,5060,6666,3478,66,53 in-interface=!ether1 new-connection-mark="PORT UMUM" passthrough=yes \
  226. protocol=tcp
  227. add action=mark-connection chain=prerouting dst-port=67,5228,35915,39397,110,5060,6666,3478,66,53 in-interface=!ether1 new-connection-mark="PORT UMUM" passthrough=yes \
  228. protocol=udp
  229. add action=mark-connection chain=prerouting comment="PORT RINGAN (GAME)" connection-mark="!PORT UMUM" in-interface=!ether1 new-connection-mark="PORT RINGAN (GAME)" \
  230. passthrough=yes protocol=tcp
  231. add action=mark-connection chain=prerouting connection-mark="!PORT UMUM" in-interface=!ether1 new-connection-mark="PORT RINGAN (GAME)" passthrough=yes protocol=udp
  232. add action=mark-packet chain=forward comment="PORT RINGAN (GAME) DOWN" connection-mark="PORT RINGAN (GAME)" in-interface=ether1 new-packet-mark="PORT RINGAN (GAME) DOWN" \
  233. passthrough=yes
  234. add action=mark-packet chain=forward comment="PORT RINGAN (GAME) UPLUAD" connection-mark="PORT RINGAN (GAME)" new-packet-mark="PORT RINGAN (GAME) UPLUAD" out-interface=\
  235. ether1 passthrough=yes
  236. add action=add-dst-to-address-list address-list="IP BUKAN UMUM BERAT" address-list-timeout=1d chain=prerouting comment="PORT BERAT BUKAN (GAME) TO SEAMLESS" \
  237. connection-mark="!PORT UMUM" connection-rate=1M-100M in-interface=!ether1
  238. add action=mark-connection chain=prerouting dst-address-list="IP BUKAN UMUM BERAT" in-interface=!ether1 new-connection-mark="PORT BERAT (BUKAN GAME)" passthrough=yes \
  239. protocol=tcp
  240. add action=mark-connection chain=prerouting dst-address-list="IP BUKAN UMUM BERAT" in-interface=!ether1 new-connection-mark="PORT BERAT (BUKAN GAME)" passthrough=yes \
  241. protocol=udp
  242. add action=mark-routing chain=prerouting connection-mark="PORT BERAT (BUKAN GAME)" in-interface=!ether1 new-routing-mark=SOSMED&BERAT passthrough=yes src-address=\
  243. 10.10.10.0/24
  244. add action=mark-routing chain=prerouting comment="PORT BERAT TO INDIHOME" connection-mark="PORT BERAT (BUKAN GAME)" in-interface=ether1 new-routing-mark=SOSMED&BERAT \
  245. passthrough=yes src-address=192.168.10.0/24
  246. add action=mark-connection chain=prerouting comment="TUBE & SOSMED TO SEAMLESS" dst-address-list=ggc-telkom in-interface=!ether1 new-connection-mark=TUBESOSMED \
  247. passthrough=yes
  248. add action=mark-connection chain=prerouting dst-address-list=sosmed in-interface=!ether1 new-connection-mark=TUBESOSMED passthrough=yes
  249. add action=mark-routing chain=prerouting connection-mark=TUBESOSMED in-interface=!ether1 new-routing-mark=SOSMED&BERAT passthrough=yes src-address=192.168.10.0/24
  250. add action=mark-routing chain=prerouting comment="TUBE & SOSMED TO INDIHOME" connection-mark=TUBESOSMED in-interface=ether1 new-routing-mark=SOSMED&BERAT passthrough=yes \
  251. src-address=192.168.10.0/24
  252.  
  253. /ip route
  254. add check-gateway=ping distance=2 gateway=wlan2 routing-mark=SOSMED&BERAT
  255. add check-gateway=ping distance=1 gateway=ether1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement