Advertisement
Guest User

Untitled

a guest
Dec 1st, 2017
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.52 KB | None | 0 0
  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11. MMM MMM KKK TTTTTTTTTTT KKK
  12. MMMM MMMM KKK TTTTTTTTTTT KKK
  13. MMM MMMM MMM III KKK KKK RRRRRR OOOOOO TTT III KKK KKK
  14. MMM MM MMM III KKKKK RRR RRR OOO OOO TTT III KKKKK
  15. MMM MMM III KKK KKK RRRRRR OOO OOO TTT III KKK KKK
  16. MMM MMM III KKK KKK RRR RRR OOOOOO TTT III KKK KKK
  17.  
  18. MikroTik RouterOS 6.40.5 (c) 1999-2017 http://www.mikrotik.com/
  19.  
  20. [?] Gives the list of available commands
  21. command [?] Gives help on the command and list of arguments
  22.  
  23. [Tab] Completes the command/word. If the input is ambiguous,
  24. a second [Tab] gives possible options
  25.  
  26. / Move up to base level
  27. .. Move up one level
  28. /command Use command at the base level
  29. dec/01/2017 09:30:00 system,error,critical router was rebooted without proper shut
  30. down
  31. dec/01/2017 09:52:57 system,error,critical router was rebooted without proper shut
  32. down
  33. dec/01/2017 18:47:41 system,error,critical login failure for user admin from 64:31
  34. :50:27:C4:0C via winbox
  35. [admin@MikroTik] > export
  36. # dec/01/2017 23:29:35 by RouterOS 6.40.5
  37. # software id = 8J5W-L8TT
  38. #
  39. # model = RouterBOARD 941-2nD
  40. # serial number = 6617065E74E1
  41. /interface wireless
  42. set [ find default-name=wlan1 ] band=2ghz-b/g/n ssid=MikroTik \
  43. wireless-protocol=nv2-nstreme-802.11
  44. /interface ethernet
  45. set [ find default-name=ether3 ] master-port=ether2
  46. set [ find default-name=ether4 ] master-port=ether2
  47. /interface wireless security-profiles
  48. set [ find default=yes ] supplicant-identity=MikroTik
  49. /ip firewall layer7-protocol
  50. add name=youtube regexp="^..+\\.(youtube.com|googlevideo.com|).*\$"
  51. /ip pool
  52. add name=dhcp_pool1 ranges=192.168.1.2-192.168.1.254
  53. add name=dhcp_pool2 ranges=192.168.1.2-192.168.1.254
  54. /ip dhcp-server
  55. add address-pool=dhcp_pool2 authoritative=after-2sec-delay disabled=no \
  56. interface=ether2 name=dhcp1
  57. /queue type
  58. set 0 pfifo-limit=65
  59. add kind=pcq name=shape pcq-classifier=src-address pcq-dst-address6-mask=64 \
  60. pcq-rate=128k pcq-src-address6-mask=64
  61. add kind=pcq name=PCQ_download pcq-classifier=dst-address \
  62. pcq-dst-address6-mask=64 pcq-src-address6-mask=64
  63. add kind=pcq name=PCQ_UPLOAD pcq-classifier=src-address pcq-dst-address6-mask=\
  64. 64 pcq-src-address6-mask=64
  65. add kind=pcq name=Client_download pcq-classifier=dst-address \
  66. pcq-dst-address6-mask=64 pcq-rate=2M pcq-src-address6-mask=64
  67. add kind=pcq name=Client_Upload pcq-classifier=src-address,dst-address \
  68. pcq-dst-address6-mask=64 pcq-rate=1M pcq-src-address6-mask=64
  69. /queue tree
  70. add name=PING packet-mark=ping-pkt parent=global queue=default
  71. add name=ALL-Bandwidth packet-mark=ALL-Data parent=PING queue=PCQ_download
  72. add name=LOL packet-mark=LOL-packet2 parent=ALL-Bandwidth priority=4
  73. add name=Youtube packet-mark=youtube-packet parent=ALL-Bandwidth priority=5 \
  74. queue=default
  75. add name=CF packet-mark=CF-packet parent=ALL-Bandwidth priority=1 queue=default
  76. add name=Dota2 packet-mark=Dota2-packet parent=ALL-Bandwidth priority=2 queue=\
  77. default
  78. add name=Garena packet-mark=Garena-tcp-packet parent=ALL-Bandwidth priority=3 \
  79. queue=default
  80. /ip address
  81. add address=192.168.1.1/24 interface=ether2 network=192.168.1.0
  82. /ip dhcp-client
  83. add default-route-distance=0 dhcp-options=hostname,clientid disabled=no \
  84. interface=ether1
  85. add dhcp-options=hostname,clientid disabled=no interface=wlan1
  86. /ip dhcp-server network
  87. add address=192.168.1.0/24 dns-server=192.168.1.1,8.8.8.8,8.8.4.4 gateway=\
  88. 192.168.1.1
  89. /ip firewall mangle
  90. add action=mark-connection chain=prerouting comment=PING new-connection-mark=\
  91. Ping-conn passthrough=yes protocol=icmp
  92. add action=mark-packet chain=prerouting connection-mark=Ping-conn \
  93. new-packet-mark=ping-pkt passthrough=no
  94. add action=mark-connection chain=prerouting comment=All_connection-DL \
  95. in-interface=ether1 new-connection-mark=All_Connection passthrough=yes
  96. add action=mark-packet chain=forward connection-mark=All_Connection \
  97. new-packet-mark=ALL_Bandwidth passthrough=no
  98. add action=mark-connection chain=prerouting comment=All_connection-UP \
  99. in-interface=ether2 new-connection-mark=All_connection_UP passthrough=yes
  100. add action=mark-packet chain=forward connection-mark=All_connection_UP \
  101. new-packet-mark=ALL-Data-up passthrough=no
  102. add action=mark-connection chain=prerouting comment=LOL connection-mark=\
  103. All_Connection dst-port=2099,5223,5136,9100-9200,2099,5223,5222 \
  104. new-connection-mark=LOL-conn passthrough=yes protocol=tcp
  105. add action=mark-packet chain=prerouting connection-mark=LOL-conn \
  106. new-packet-mark=LOL-packet passthrough=no
  107. add action=mark-connection chain=prerouting connection-mark=All_Connection \
  108. dst-port=5000-5500,21900 new-connection-mark=LOL-udp-connection \
  109. passthrough=yes protocol=udp
  110. add action=mark-packet chain=prerouting connection-mark=LOL-udp-connection \
  111. new-packet-mark=LOL-packet passthrough=no
  112. add action=mark-connection chain=prerouting comment=CF connection-mark=\
  113. All_Connection dst-port=1666,10008-10009,13006-13008 new-connection-mark=\
  114. CF-conn-tcp passthrough=yes protocol=tcp
  115. add action=mark-packet chain=prerouting connection-mark=CF-conn-tcp \
  116. new-packet-mark=CF-packet passthrough=no
  117. add action=mark-connection chain=prerouting connection-mark=All_Connection \
  118. dst-port=12000-12080,1300-13099 new-connection-mark=CF-conn-udp \
  119. passthrough=yes protocol=udp
  120. add action=mark-packet chain=prerouting connection-mark=CF-conn-udp \
  121. new-packet-mark=CF-packet passthrough=no
  122. add action=mark-connection chain=prerouting comment=DOTA2 connection-mark=\
  123. All_Connection dst-port=27021,27038 new-connection-mark=Dota2-tcp-conn \
  124. passthrough=yes protocol=tcp
  125. add action=mark-connection chain=prerouting connection-mark=All_Connection \
  126. dst-port=27016-27020,27000-27015,27021-27050 new-connection-mark=\
  127. Dota2-udp-conn passthrough=yes protocol=udp
  128. add action=mark-packet chain=prerouting connection-mark=Dota2-tcp-conn \
  129. new-packet-mark=Dota2-packet passthrough=no
  130. add action=mark-packet chain=prerouting connection-mark=Dota2-udp-conn \
  131. new-packet-mark=Dota2-packet passthrough=yes
  132. add action=mark-connection chain=prerouting comment=Garena connection-mark=\
  133. All_Connection dst-port=19000,9100,9200,21900,12000 new-connection-
  134. Garena-tcp-conn passthrough=yes protocol=tcp
  135. add action=mark-connection chain=prerouting connection-mark=All_Connect
  136. dst-port=19900 new-connection-mark=Garena-udp-conn passthrough=yes
  137. protocol=udp
  138. add action=mark-packet chain=prerouting connection-mark=Garena-tcp-conn
  139. new-packet-mark=Garena-tcp-packet passthrough=no
  140. add action=mark-packet chain=prerouting connection-mark=Garena-udp-conn
  141. new-packet-mark=Garena-udp-packet passthrough=no
  142. add action=mark-connection chain=prerouting comment=Youtube_Up layer7-p
  143. youtube new-connection-mark=youtube-up packet-mark=ALL-Data-up pass
  144. yes
  145. add action=mark-packet chain=forward connection-mark=youtube-up \
  146. new-packet-mark=youtube-packet passthrough=no
  147. add action=mark-connection chain=prerouting comment=Youtube_DL connecti
  148. All_Connection layer7-protocol=youtube new-connection-mark=Youtube-
  149. passthrough=yes
  150. add action=mark-packet chain=forward connection-mark=Youtube-dl-conn \
  151. new-packet-mark=youtube-packet passthrough=no
  152. /ip firewall nat
  153. add action=masquerade chain=srcnat
  154. /system clock
  155. set time-zone-name=Asia/Manila
  156. [admin@MikroTik] >
  157. [admin@MikroTik] >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement