Advertisement
Guest User

Untitled

a guest
Feb 24th, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.03 KB | None | 0 0
  1.  
  2. MMM MMM KKK TTTTTTTTTTT KKK
  3. MMMM MMMM KKK TTTTTTTTTTT KKK
  4. MMM MMMM MMM III KKK KKK RRRRRR OOOOOO TTT III KKK KKK
  5. MMM MM MMM III KKKKK RRR RRR OOO OOO TTT III KKKKK
  6. MMM MMM III KKK KKK RRRRRR OOO OOO TTT III KKK KKK
  7. MMM MMM III KKK KKK RRR RRR OOOOOO TTT III KKK KKK
  8.  
  9. MikroTik RouterOS 6.43.12 (c) 1999-2018 http://www.mikrotik.com/
  10.  
  11. [?] Gives the list of available commands
  12. command [?] Gives help on the command and list of arguments
  13.  
  14. [Tab] Completes the command/word. If the input is ambiguous,
  15. a second [Tab] gives possible options
  16.  
  17. / Move up to base level
  18. .. Move up one level
  19. /command Use command at the base level
  20. [admin@MikroTik] > export
  21. # feb/24/2019 17:58:46 by RouterOS 6.43.12
  22. # software id = L1VG-A1FB
  23. #
  24. # model = RouterBOARD 952Ui-5ac2nD
  25. # serial number = ***********
  26. /interface bridge
  27. add admin-mac=B8:69:F4:2C:C9:F1 auto-mac=no comment=defconf name=bridge
  28. /interface ethernet
  29. set [ find default-name=ether2 ] name=lan1
  30. set [ find default-name=ether3 ] name=lan2
  31. set [ find default-name=ether4 ] name=lan3
  32. set [ find default-name=ether5 ] name=lan4
  33. set [ find default-name=ether1 ] mac-address=14:DA:E9:22:26:E2 name=wan
  34. /interface pppoe-client
  35. add add-default-route=yes disabled=no interface=wan name=pppoe-internet password=password use-peer-dns=yes user=user
  36. add add-default-route=yes disabled=no interface=wan name=pppoe-out1 password=******** use-peer-dns=yes user=********
  37. /interface wireless
  38. set [ find default-name=wlan1 ] adaptive-noise-immunity=ap-and-client-mode band=2ghz-b/g/n channel-width=20/40mhz-XX country=ukraine disabled=no distance=indoors frequency=auto hw-protection-mode=rts-cts mode=\
  39. ap-bridge multicast-helper=full name=wlan ssid=Wi-Fi_Dubai_2 wireless-protocol=802.11 wmm-support=enabled
  40. set [ find default-name=wlan2 ] band=5ghz-a/n/ac channel-width=20/40/80mhz-XXXX country=ukraine disabled=no distance=indoors frequency=auto mode=ap-bridge ssid=Wi-Fi_Dubai_5 wireless-protocol=802.11
  41. /interface list
  42. add comment=defconf name=WAN
  43. add comment=defconf name=LAN
  44. /interface wireless security-profiles
  45. set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk mode=dynamic-keys supplicant-identity=MikroTik wpa-pre-shared-key=*********** wpa2-pre-shared-key=************
  46. /ip hotspot profile
  47. set [ find default=yes ] html-directory=flash/hotspot
  48. /ip pool
  49. add name=dhcp ranges=192.168.88.10-192.168.88.254
  50. /ip dhcp-server
  51. add address-pool=dhcp disabled=no interface=bridge name=defconf
  52. /interface bridge port
  53. add bridge=bridge comment=defconf interface=lan1
  54. add bridge=bridge comment=defconf interface=lan2
  55. add bridge=bridge comment=defconf interface=lan3
  56. add bridge=bridge comment=defconf interface=lan4
  57. add bridge=bridge comment=defconf interface=wlan
  58. add bridge=bridge comment=defconf interface=wlan2
  59. /interface list member
  60. add comment=defconf interface=bridge list=LAN
  61. add comment=defconf interface=wan list=WAN
  62. add interface=pppoe-out1 list=WAN
  63. /ip address
  64. add address=192.168.88.1/24 comment=defconf interface=lan1 network=192.168.88.0
  65. /ip dhcp-client
  66. add comment=defconf dhcp-options=hostname,clientid interface=wan
  67. /ip dhcp-server network
  68. add address=192.168.88.0/24 comment=defconf gateway=192.168.88.1
  69. /ip dns
  70. set allow-remote-requests=yes
  71. /ip dns static
  72. add address=192.168.88.1 name=router.lan
  73. /ip firewall filter
  74. add action=accept chain=forward comment="defconf: accept in ipsec policy" ipsec-policy=in,ipsec
  75. add action=accept chain=input comment="Enable IPTV" protocol=igmp
  76. add action=accept chain=forward dst-port=1234 protocol=udp
  77. add action=accept chain=forward protocol=igmp
  78. add action=accept chain=forward comment="defconf: accept out ipsec policy" ipsec-policy=out,ipsec
  79. add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related
  80. add action=accept chain=forward comment="defconf: accept established,related, untracked" connection-state=established,related,untracked
  81. add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid
  82. add action=drop chain=forward comment="defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface-list=WAN
  83. /ip firewall nat
  84. add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none out-interface-list=WAN
  85. # pppoe-internet not ready
  86. add action=masquerade chain=srcnat comment="NAT INTERNET" out-interface=pppoe-internet
  87. /ip upnp
  88. set enabled=yes
  89. /ip upnp interfaces
  90. add interface=bridge type=internal
  91. add interface=pppoe-out1 type=external
  92. /routing igmp-proxy
  93. set query-interval=1m quick-leave=yes
  94. /routing igmp-proxy interface
  95. add comment="Downstream IPTV" interface=bridge
  96. add alternative-subnets=172.17.24.0/24,10.255.5.0/24 comment="Upstream IPTV" interface=wan upstream=yes
  97. /system clock
  98. set time-zone-name=Europe/Kiev
  99. [admin@MikroTik] >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement