Advertisement
Guest User

Untitled

a guest
May 5th, 2020
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.81 KB | None | 0 0
  1. # may/05/2020 23:42:30 by RouterOS 6.46.4
  2. # software id = T978-80Y1
  3. #
  4. # model = RBD52G-5HacD2HnD
  5. # serial number = BEEB0B7CFCA4
  6. /interface bridge
  7. add admin-mac=C4:AD:34:01:57:FD auto-mac=no comment=defconf name=bridge
  8. /interface wireless
  9. set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-XX \
  10. distance=indoors frequency=auto installation=indoor mode=ap-bridge name=\
  11. wlan_2ghz ssid=MikroTik-015801 wireless-protocol=802.11
  12. set [ find default-name=wlan2 ] band=5ghz-onlyac channel-width=\
  13. 20/40/80mhz-XXXX country=ukraine disabled=no distance=indoors frequency=\
  14. auto installation=indoor mode=ap-bridge name=wlan_5ghz ssid=\
  15. MikroTik-015802 wireless-protocol=802.11
  16. /interface list
  17. add comment=defconf name=WAN
  18. add comment=defconf name=LAN
  19. /interface wireless security-profiles
  20. set [ find default=yes ] authentication-types=wpa2-psk mode=dynamic-keys \
  21. supplicant-identity=MikroTik wpa-pre-shared-key=\
  22. wpa2-pre-shared-key=
  23. /ip hotspot profile
  24. set [ find default=yes ] html-directory=flash/hotspot
  25. /ip pool
  26. add name=dhcp ranges=192.168.88.10-192.168.88.254
  27. /ip dhcp-server
  28. add address-pool=dhcp disabled=no interface=bridge name=defconf
  29. /interface bridge port
  30. add bridge=bridge comment=defconf interface=ether2
  31. add bridge=bridge comment=defconf interface=ether3
  32. add bridge=bridge comment=defconf interface=ether4
  33. add bridge=bridge comment=defconf interface=ether5
  34. add bridge=bridge comment=defconf interface=wlan_2ghz
  35. add bridge=bridge comment=defconf interface=wlan_5ghz
  36. /ip neighbor discovery-settings
  37. set discover-interface-list=LAN
  38. /interface list member
  39. add comment=defconf interface=bridge list=LAN
  40. add comment=defconf interface=ether1 list=WAN
  41. /interface wireless access-list
  42. interface=wlan_5ghz mac-address=
  43. interface=wlan_5ghz mac-address=
  44. /ip address
  45. add address=192.168.88.1/24 comment=defconf interface=ether2 network=\
  46. 192.168.88.0
  47. /ip dhcp-client
  48. add comment=defconf disabled=no interface=ether1
  49. /ip dhcp-server network
  50. add address=192.168.88.0/24 comment=defconf gateway=192.168.88.1
  51. /ip dns
  52. set allow-remote-requests=yes
  53. /ip dns static
  54. add address=192.168.88.1 comment=defconf name=router.lan
  55. /ip firewall filter
  56. add action=accept chain=input comment=\
  57. "defconf: accept established,related,untracked" connection-state=\
  58. established,related,untracked
  59. add action=drop chain=input comment="defconf: drop invalid" connection-state=\
  60. invalid
  61. add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
  62. add action=accept chain=input comment=\
  63. "defconf: accept to local loopback (for CAPsMAN)" dst-address=127.0.0.1
  64. add action=drop chain=input comment="defconf: drop all not coming from LAN" \
  65. in-interface-list=!LAN
  66. add action=accept chain=forward comment="defconf: accept in ipsec policy" \
  67. ipsec-policy=in,ipsec
  68. add action=accept chain=forward comment="defconf: accept out ipsec policy" \
  69. ipsec-policy=out,ipsec
  70. add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
  71. connection-state=established,related
  72. add action=accept chain=forward comment=\
  73. "defconf: accept established,related, untracked" connection-state=\
  74. established,related,untracked
  75. add action=drop chain=forward comment="defconf: drop invalid" \
  76. connection-state=invalid
  77. add action=drop chain=forward comment=\
  78. "defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat \
  79. connection-state=new in-interface-list=WAN
  80. /ip firewall nat
  81. add action=masquerade chain=srcnat comment="defconf: masquerade" \
  82. ipsec-policy=out,none out-interface-list=WAN
  83. /system clock
  84. set time-zone-name=Europe/Kiev
  85. /system identity
  86. set name=ac2
  87. /system routerboard settings
  88. set cpu-frequency=632MHz
  89. /tool mac-server
  90. set allowed-interface-list=LAN
  91. /tool mac-server mac-winbox
  92. set allowed-interface-list=LAN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement