Advertisement
Guest User

Untitled

a guest
Jan 9th, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.53 KB | None | 0 0
  1. # jan/09/2017 21:56:43 by RouterOS 6.34.2
  2. # software id = S0FX-YN75
  3. #
  4. /interface bridge
  5. add admin-mac=6C:3B:6B:40:25:9B auto-mac=no comment=defconf name=bridge
  6. /interface ethernet
  7. set [ find default-name=ether2 ] name=ether2-master
  8. set [ find default-name=ether3 ] master-port=ether2-master
  9. set [ find default-name=ether4 ] master-port=ether2-master
  10. set [ find default-name=ether5 ] master-port=ether2-master
  11. /interface wireless
  12. set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-Ce \
  13. disabled=no distance=indoors frequency=auto mode=ap-bridge ssid=\
  14. "OOUR Nada Dimic" wireless-protocol=802.11
  15. /ip neighbor discovery
  16. set ether1 discover=no
  17. set bridge comment=defconf
  18. /interface vlan
  19. add interface=ether1 name=ont-vlan1 vlan-id=100
  20. /interface pppoe-client
  21. add add-default-route=yes disabled=no interface=ont-vlan1 keepalive-timeout=\
  22. disabled name=pppoe-out1 password=PASS use-peer-dns=yes user=\
  23. USERNAME
  24. /interface wireless security-profiles
  25. set [ find default=yes ] authentication-types=wpa2-psk mode=dynamic-keys \
  26. wpa-pre-shared-key=PASS wpa2-pre-shared-key=\
  27. PASS
  28. add authentication-types=wpa2-psk management-protection=allowed mode=\
  29. dynamic-keys name=wlan2 wpa2-pre-shared-key=PASS
  30. /interface wireless
  31. set [ find default-name=wlan2 ] band=5ghz-a/n/ac channel-width=20/40mhz-Ce \
  32. disabled=no distance=indoors frequency=auto mode=ap-bridge \
  33. security-profile=wlan2 ssid="SOUR Kosta Nadj" wireless-protocol=802.11
  34. /ip pool
  35. add name=dhcp ranges=192.168.88.10-192.168.88.254
  36. /ip dhcp-server
  37. add address-pool=dhcp disabled=no interface=bridge name=defconf
  38. /queue simple
  39. add max-limit=512k/2M name=queue1 target=wlan1
  40. /interface bridge port
  41. add bridge=bridge comment=defconf interface=ether2-master
  42. add bridge=bridge comment=defconf interface=sfp1
  43. add bridge=bridge comment=defconf interface=wlan1
  44. add bridge=bridge comment=defconf interface=wlan2
  45. /ip address
  46. add address=192.168.88.1/24 comment=defconf interface=ether2-master network=\
  47. 192.168.88.0
  48. /ip dhcp-client
  49. add comment=defconf dhcp-options=hostname,clientid disabled=no interface=\
  50. ether1
  51. /ip dhcp-server network
  52. add address=192.168.88.0/24 comment=defconf gateway=192.168.88.1
  53. /ip dns
  54. set allow-remote-requests=yes
  55. /ip dns static
  56. add address=192.168.88.1 name=router
  57. /ip firewall filter
  58. add chain=input comment="defconf: accept ICMP" protocol=icmp
  59. add chain=input comment="defconf: accept established,related" \
  60. connection-state=established,related
  61. add action=drop chain=input comment="defconf: drop all from WAN" \
  62. in-interface=ether1
  63. add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
  64. connection-state=established,related
  65. add chain=forward comment="defconf: accept established,related" \
  66. connection-state=established,related
  67. add action=drop chain=forward comment="defconf: drop invalid" \
  68. connection-state=invalid
  69. add action=drop chain=forward comment=\
  70. "defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat \
  71. connection-state=new in-interface=ether1
  72. /ip firewall nat
  73. add action=masquerade chain=srcnat comment="defconf: masquerade" \
  74. out-interface=ether1
  75. /ip service
  76. set telnet disabled=yes
  77. /system clock
  78. set time-zone-name=Europe/Zagreb
  79. /system leds
  80. set 1 interface=wlan2
  81. /system routerboard settings
  82. set cpu-frequency=720MHz protected-routerboot=disabled
  83. /tool mac-server
  84. set [ find default=yes ] disabled=yes
  85. add interface=bridge
  86. /tool mac-server mac-winbox
  87. set [ find default=yes ] disabled=yes
  88. add interface=bridge
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement