Advertisement
Guest User

Untitled

a guest
Feb 25th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.72 KB | None | 0 0
  1. # feb/25/2019 20:51:54 by RouterOS 6.43.12
  2. # software id = L1VG-A1FB
  3. #
  4. # model = RouterBOARD 952Ui-5ac2nD
  5. # serial number =
  6. /interface bridge
  7. add admin-mac=B8:69:F4:2C:C9:F1 auto-mac=no comment=defconf name=bridge
  8. /interface ethernet
  9. set [ find default-name=ether1 ] mac-address=14:DA:E9:22:26:E2
  10. /interface pppoe-client
  11. add add-default-route=yes disabled=no interface=ether1 name=pppoe-out1 password= use-peer-dns=yes user=
  12. /interface wireless
  13. set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-XX country=ukraine disabled=no distance=indoors frequency=auto mode=ap-bridge ssid=Wi-Fi_Dubai_2 wireless-protocol=802.11
  14. 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
  15. /interface list
  16. add comment=defconf name=WAN
  17. add comment=defconf name=LAN
  18. /interface wireless security-profiles
  19. set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk mode=dynamic-keys supplicant-identity=MikroTik wpa-pre-shared-key=0675200577 wpa2-pre-shared-key=
  20. /ip hotspot profile
  21. set [ find default=yes ] html-directory=flash/hotspot
  22. /ip pool
  23. add name=dhcp ranges=192.168.88.10-192.168.88.254
  24. /ip dhcp-server
  25. add address-pool=dhcp disabled=no interface=bridge name=defconf
  26. /interface bridge port
  27. add bridge=bridge comment=defconf interface=ether2
  28. add bridge=bridge comment=defconf interface=ether3
  29. add bridge=bridge comment=defconf interface=ether4
  30. add bridge=bridge comment=defconf interface=ether5
  31. add bridge=bridge comment=defconf interface=wlan1
  32. add bridge=bridge comment=defconf interface=wlan2
  33. /ip neighbor discovery-settings
  34. set discover-interface-list=LAN
  35. /interface list member
  36. add comment=defconf interface=bridge list=LAN
  37. add comment=defconf interface=ether1 list=WAN
  38. add interface=pppoe-out1 list=WAN
  39. /ip address
  40. add address=192.168.88.1/24 comment=defconf interface=ether2 network=192.168.88.0
  41. /ip dhcp-client
  42. add comment=defconf dhcp-options=hostname,clientid interface=ether1
  43. add dhcp-options=hostname,clientid disabled=no interface=ether1
  44. /ip dhcp-server network
  45. add address=192.168.88.0/24 comment=defconf gateway=192.168.88.1
  46. /ip dns
  47. set allow-remote-requests=yes
  48. /ip dns static
  49. add address=192.168.88.1 name=router.lan
  50. /ip firewall filter
  51. add action=accept chain=input comment="defconf: accept established,related,untracked" connection-state=established,related,untracked
  52. add action=drop chain=input comment="defconf: drop invalid" connection-state=invalid
  53. add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
  54. add action=drop chain=input comment="defconf: drop all not coming from LAN" in-interface-list=!LAN
  55. add action=accept chain=forward comment="defconf: accept in ipsec policy" ipsec-policy=in,ipsec
  56. add action=accept chain=forward comment="defconf: accept out ipsec policy" ipsec-policy=out,ipsec
  57. add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related
  58. add action=accept chain=forward comment="defconf: accept established,related, untracked" connection-state=established,related,untracked
  59. add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid
  60. add action=drop chain=forward comment="defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface-list=WAN
  61. /ip firewall nat
  62. add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none out-interface-list=WAN
  63. /ip upnp
  64. set enabled=yes
  65. /ip upnp interfaces
  66. add interface=bridge type=internal
  67. add interface=pppoe-out1 type=external
  68. /system clock
  69. set time-zone-name=Europe/Kiev
  70. /tool mac-server
  71. [admin
  72. @Mikro
  73. Tik] >
  74. [admin@MikroTik] >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement