Advertisement
Guest User

Untitled

a guest
Jun 29th, 2016
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.58 KB | None | 0 0
  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39. MMM MMM KKK TTTTTTTTTTT KKK
  40. MMMM MMMM KKK TTTTTTTTTTT KKK
  41. MMM MMMM MMM III KKK KKK RRRRRR OOOOOO TTT III KKK KKK
  42. MMM MM MMM III KKKKK RRR RRR OOO OOO TTT III KKKKK
  43. MMM MMM III KKK KKK RRRRRR OOO OOO TTT III KKK KKK
  44. MMM MMM III KKK KKK RRR RRR OOOOOO TTT III KKK KKK
  45.  
  46. MikroTik RouterOS 6.35.4 (c) 1999-2016 http://www.mikrotik.com/
  47.  
  48. [?] Gives the list of available commands
  49. command [?] Gives help on the command and list of arguments
  50.  
  51. [Tab] Completes the command/word. If the input is ambiguous,
  52. a second [Tab] gives possible options
  53.  
  54. / Move up to base level
  55. .. Move up one level
  56. /command Use command at the base level
  57. [admin@MikroTik] > export
  58. # apr/03/2016 10:27:24 by RouterOS 6.35.4
  59. # software id = H7XW-XVD2
  60. #
  61. /interface bridge
  62. add mtu=1500 name=bridge1 protocol-mode=none
  63. /interface wireless security-profiles
  64. add authentication-types=wpa-psk,wpa2-psk eap-methods="" management-protection=allowed mode=dynamic-keys name=WPA supplicant-identity="" wpa-pre-shared-key=1500100900abc1500100900 \
  65. wpa2-pre-shared-key=1500100900abc1500100900
  66. add authentication-types=wpa-psk eap-methods="" group-ciphers=tkip management-protection=allowed mode=dynamic-keys name=test supplicant-identity="" unicast-ciphers=tkip \
  67. wpa-pre-shared-key=testtest wpa2-pre-shared-key=testtest
  68. add authentication-types=wpa-psk,wpa2-psk eap-methods="" management-protection=allowed mode=dynamic-keys name=strabag supplicant-identity="" wpa-pre-shared-key=umicore2014 \
  69. wpa2-pre-shared-key=umicore2014
  70. /interface wireless
  71. set [ find default-name=wlan1 ] country=poland distance=indoors frequency=2437 hw-retries=15 mode=ap-bridge security-profile=WPA ssid=BRK.NETWORK.DEVICES wireless-protocol=802.11
  72. /interface wireless nstreme
  73. set wlan1 enable-polling=no
  74. /ip neighbor discovery
  75. set wlan1 discover=no
  76. /ip ipsec proposal
  77. set [ find default=yes ] enc-algorithms=3des
  78. /ip pool
  79. add name=dhcp_pool1 ranges=192.168.2.100-192.168.2.254
  80. add name=dhcp_pool2 ranges=192.168.30.2-192.168.30.254
  81. /ip dhcp-server
  82. add address-pool=dhcp_pool1 disabled=no interface=bridge1 lease-time=3d name=dhcp1
  83. add address-pool=dhcp_pool2 lease-time=3d name=dhcp2
  84. /port
  85. set 0 baud-rate=auto name=usb1
  86. set 1 baud-rate=auto name=usb2
  87. /system logging action
  88. set 0 memory-lines=100
  89. set 1 disk-lines-per-file=100
  90. /interface bridge port
  91. add bridge=bridge1 interface=wlan1
  92. add bridge=bridge1 interface=ether4
  93. add bridge=bridge1 interface=ether3
  94. /ip settings
  95. set icmp-rate-limit=5 rp-filter=strict secure-redirects=no send-redirects=no
  96. /interface pppoe-server server
  97. add disabled=no max-mru=1480 max-mtu=1480 mrru=1600 service-name=service1
  98. /interface pptp-server server
  99. set authentication=pap,chap,mschap1,mschap2 enabled=yes max-mru=1460 max-mtu=1460
  100. /ip address
  101. add address=10.205.198.1/23 interface=ether2 network=10.205.198.0
  102. add address=10.200.51.56/30 interface=ether1 network=10.200.51.56
  103. add address=192.168.2.1/24 interface=ether5 network=192.168.2.0
  104. /ip dhcp-client
  105. add default-route-distance=0 dhcp-options=hostname,clientid
  106. add default-route-distance=0 dhcp-options=hostname,clientid disabled=no interface=ether1
  107. add add-default-route=no dhcp-options=hostname,clientid use-peer-dns=no use-peer-ntp=no
  108. /ip dhcp-relay
  109. add dhcp-server=10.200.200.31 disabled=no interface=ether2 name=relay1
  110. /ip dhcp-server lease
  111. add address=192.168.2.104 mac-address=90:2B:34:E4:38:98 server=dhcp1
  112. add address=192.168.2.124 mac-address=00:0E:7F:DF:15:67 server=dhcp1
  113. /ip dhcp-server network
  114. add address=192.168.2.0/24 gateway=192.168.2.1
  115. add address=192.168.30.0/24 gateway=192.168.30.1
  116. /ip dns
  117. set allow-remote-requests=yes servers=8.8.8.8
  118. /ip dns static
  119. add address=10.50.50.103 name=unifi
  120. /ip firewall filter
  121. add action=drop chain=input dst-port=53 in-interface=ether1 protocol=udp src-address=0.0.0.0
  122. /ip firewall nat
  123. add action=masquerade chain=srcnat src-address=192.168.3.0/24
  124. add action=dst-nat chain=dstnat dst-port=80 in-interface=ether1 protocol=tcp to-addresses=192.168.3.31 to-ports=80
  125. add action=dst-nat chain=dstnat dst-port=23 in-interface=ether1 protocol=tcp to-addresses=192.168.3.31 to-ports=21
  126. /ip proxy
  127. set cache-path=web-proxy1 enabled=yes parent-proxy=0.0.0.0
  128. /ip proxy access
  129. add dst-address=0.0.0.0/0 src-address=192.168.30.0/24
  130. add dst-address=0.0.0.0/0 src-address=91.238.52.0/22
  131. add dst-address=0.0.0.0/0 src-address=176.124.140.0/22
  132. add dst-address=0.0.0.0/0 src-address=31.69.0.0/16
  133. add dst-address=0.0.0.0/0 src-address=31.61.0.0/16
  134. add action=deny dst-address=0.0.0.0/0 src-address=0.0.0.0/0
  135. /ip route
  136. add distance=1 gateway=10.200.51.57
  137. /ip service
  138. set telnet disabled=yes
  139. set www port=808
  140. set ssh disabled=yes
  141. set api disabled=yes
  142. set api-ssl disabled=yes
  143. /ppp secret
  144. add local-address=192.168.30.30 name=brk password=supertest54 profile=default-encryption remote-address=192.168.30.31
  145. add local-address=192.168.30.32 name=dps password=dpsdps54 profile=default-encryption remote-address=192.168.30.33
  146. add local-address=192.168.30.34 name=intermarche password=intermarche profile=default-encryption remote-address=192.168.30.35
  147. add local-address=192.168.30.36 name=bartek password=bartek101test remote-address=192.168.30.37
  148. add local-address=192.168.30.38 name=arturtarka password=a7wa8e0aees2va9 profile=default-encryption remote-address=192.168.30.39 service=pptp
  149. add local-address=192.168.30.40 name=paczkow password=paczkow1 profile=default-encryption remote-address=192.168.30.41
  150. /routing pim
  151. set switch-to-spt-interval=30s
  152. /routing pim interface
  153. add
  154. /routing pim rp
  155. add address=10.200.200.20
  156. /snmp
  157. set enabled=yes
  158. /system clock
  159. set time-zone-autodetect=no
  160. /system leds
  161. set 0 interface=wlan1
  162. /system logging
  163. add disabled=yes topics=pptp
  164. add topics=sstp
  165. /system ntp client
  166. set enabled=yes primary-ntp=153.19.250.123
  167. /system script
  168. add name=sendmail owner=admin policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive source=\
  169. "/tool sniffer quick interface=vlan1 duration=10\r\
  170. \n:delay 15\r\
  171. \n/tool e-mail send to=\"info@devices.pl\" subject=\"Alert\" body=\"Zrzut ruchu\" file=test.pcap"
  172. /tool e-mail
  173. set address=193.17.41.99 from=<brokenik@o2.pl> password=weatherking port=587 user=brokenik@o2.pl
  174. /tool sniffer
  175. set file-name=test.pcap
  176. /tool traffic-monitor
  177. add disabled=yes name=tmon1 on-event=sendmail threshold=3000000 traffic=received
  178. [admin@MikroTik] >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement