Advertisement
Guest User

Untitled

a guest
Nov 21st, 2018
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.46 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.43.4 (c) 1999-2018 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. [admin@MikroTik] > firewall export
  30. bad command name firewall (line 1 column 1)
  31. [admin@MikroTik] > export
  32. # nov/21/2018 11:10:15 by RouterOS 6.43.4
  33. # software id = XJ8H-QZP8
  34. #
  35. # model = 2011UiAS-2HnD r2
  36. # serial number = 91DE09C76BDB
  37. /interface bridge
  38. add name=bridge1
  39. /interface pppoe-client
  40. add add-default-route=yes dial-on-demand=yes disabled=no interface=ether1 name=\
  41. pppoe-out1 password=33923392 use-peer-dns=yes user=skerc
  42. /interface list
  43. add name=WAN
  44. add name=LAN
  45. /interface wireless security-profiles
  46. set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk mode=\
  47. dynamic-keys supplicant-identity=MikroTik wpa-pre-shared-key=ferhadija \
  48. wpa2-pre-shared-key=ferhadija
  49. add authentication-types=wpa2-psk eap-methods="" management-protection=allowed \
  50. mode=dynamic-keys name=XXX supplicant-identity="" wpa2-pre-shared-key=\
  51. 1234567890
  52. /interface wireless
  53. set [ find default-name=wlan1 ] band=2ghz-b/g/n disabled=no mode=ap-bridge \
  54. security-profile=XXX ssid=Svjetlost wireless-protocol=802.11
  55. /ip pool
  56. add name=dhcp ranges=192.168.0.20-192.168.0.239
  57. /ip dhcp-server
  58. add address-pool=dhcp disabled=no interface=bridge1 lease-time=12h name=\
  59. "Svjetlost DHCP pool"
  60. /queue type
  61. add kind=pcq name=1Mbps pcq-classifier=dst-address pcq-rate=1M
  62. add kind=pcq name=512k pcq-classifier=src-address pcq-rate=512k
  63. /queue simple
  64. add disabled=yes name=eldin queue=512k/1Mbps target=192.168.0.239/32
  65. /interface bridge port
  66. add bridge=bridge1 interface=ether2
  67. add bridge=bridge1 interface=ether3
  68. add bridge=bridge1 interface=ether4
  69. add bridge=bridge1 interface=ether5
  70. add bridge=bridge1 interface=ether6
  71. add bridge=bridge1 interface=ether7
  72. add bridge=bridge1 interface=ether8
  73. add bridge=bridge1 interface=ether9
  74. add bridge=bridge1 interface=ether10
  75. add bridge=bridge1 interface=sfp1
  76. add bridge=bridge1 interface=wlan1
  77. /interface list member
  78. add interface=pppoe-out1 list=WAN
  79. add interface=bridge1 list=LAN
  80. /ip address
  81. add address=192.168.0.3/24 interface=ether2 network=192.168.0.0
  82. /ip dhcp-client
  83. add dhcp-options=hostname,clientid interface=ether1
  84. /ip dhcp-server network
  85. add address=192.168.0.0/24 dns-server=\
  86. 8.8.8.8,8.8.4.4,1.1.1.1,81.17.237.5,81.17.225.5 gateway=192.168.0.3 \
  87. netmask=24
  88. /ip firewall address-list
  89. add address=35.156.202.109 list=Optimus
  90. add address=35.156.160.36 list=Optimus
  91. add address=18.194.206.1 list=Optimus
  92. add address=35.156.207.54 list=Optimus
  93. add address=31.47.4.4 list=Optimus
  94. add address=31.47.8.27 list=Optimus
  95. add address=92.36.170.163 list=Optimus
  96. /ip firewall filter
  97. add action=accept chain=forward dst-address=192.168.0.55 dst-port=1433 \
  98. in-interface-list=WAN protocol=tcp src-address-list=Optimus
  99. add action=drop chain=forward dst-address=192.168.0.55 dst-port=1433 \
  100. in-interface-list=WAN protocol=tcp
  101. /ip firewall nat
  102. add action=masquerade chain=srcnat out-interface-list=WAN
  103. add action=dst-nat chain=dstnat in-interface=pppoe-out1 protocol=tcp src-port=\
  104. "" to-addresses=192.168.0.55 to-ports=1433
  105. /ip service
  106. set telnet disabled=yes
  107. set ftp disabled=yes
  108. set www disabled=yes
  109. set ssh disabled=yes
  110. set api disabled=yes
  111. set winbox address=192.168.0.0/24
  112. set api-ssl disabled=yes
  113. /lcd interface pages
  114. set 0 interfaces=\
  115. sfp1,ether1,ether2,ether3,ether4,ether5,ether6,ether7,ether8,ether9,ether10
  116. /system clock
  117. set time-zone-name=Europe/Sarajevo
  118. /system ntp client
  119. set enabled=yes primary-ntp=188.174.253.163 secondary-ntp=217.26.163.51 \
  120. server-dns-names=0.europe.pool.ntp.org,3.europe.pool.ntp.org
  121. /system routerboard settings
  122. set silent-boot=no
  123. [admin@MikroTik] >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement