Advertisement
d3v1lg0

rb941-2nd

Feb 13th, 2017
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.66 KB | None | 0 0
  1. # feb/13/2017 13:58:31 by RouterOS 6.34.2
  2. # software id = BIRW-796G
  3. #
  4. /interface bridge
  5. add admin-mac=6C:3B:6B:68:94:BD auto-mac=no comment=defconf name=bridge
  6. /interface wireless
  7. set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-Ce disabled=no distance=indoors frequency=auto mode=ap-bridge wireless-protocol=802.11
  8. /interface ethernet
  9. set [ find default-name=ether2 ] name=ether2-master
  10. set [ find default-name=ether3 ] master-port=ether2-master
  11. set [ find default-name=ether4 ] master-port=ether2-master
  12. /ip neighbor discovery
  13. set ether1 discover=no
  14. set bridge comment=defconf
  15. /ip pool
  16. add name=default-dhcp ranges=192.168.5.10-192.168.5.50
  17. /ip dhcp-server
  18. add address-pool=default-dhcp disabled=no interface=bridge name=defconf
  19. /queue simple
  20. add max-limit=4M/20M name=GLOBAL target=""
  21. add limit-at=100k/500k max-limit=3M/18M name=queue1 parent=GLOBAL priority=3/3 target=192.168.1.10/32
  22. add limit-at=100k/500k max-limit=3M/18M name=queue2 parent=GLOBAL priority=3/3 target=192.168.1.11/32
  23. add limit-at=100k/500k max-limit=3M/18M name=queue3 parent=GLOBAL priority=3/3 target=192.168.1.12/32
  24. add limit-at=100k/500k max-limit=3M/18M name=queue4 parent=GLOBAL priority=3/3 target=192.168.1.13/32
  25. add limit-at=100k/500k max-limit=3M/18M name=queue5 parent=GLOBAL priority=3/3 target=192.168.1.14/32
  26. add limit-at=100k/500k max-limit=3M/18M name=queue6 parent=GLOBAL priority=3/3 target=192.168.1.15/32
  27. add limit-at=100k/500k max-limit=3M/18M name=queue7 parent=GLOBAL priority=3/3 target=192.168.1.16/32
  28. add limit-at=100k/500k max-limit=3M/18M name=queue8 parent=GLOBAL priority=3/3 target=192.168.1.17/32
  29. add limit-at=100k/500k max-limit=3M/18M name=queue9 parent=GLOBAL priority=3/3 target=192.168.1.18/32
  30. add limit-at=100k/500k max-limit=3M/18M name=queue10 parent=GLOBAL priority=3/3 target=192.168.1.19/32
  31. add limit-at=100k/500k max-limit=3M/18M name=queue11 parent=GLOBAL priority=3/3 target=192.168.1.20/32
  32. add limit-at=100k/500k max-limit=3M/18M name=queue12 parent=GLOBAL priority=3/3 target=192.168.1.21/32
  33. add limit-at=100k/500k max-limit=3M/18M name=queue13 parent=GLOBAL priority=3/3 target=192.168.1.22/32
  34. add limit-at=100k/500k max-limit=3M/18M name=queue14 parent=GLOBAL priority=3/3 target=192.168.1.23/32
  35. add limit-at=100k/500k max-limit=3M/18M name=queue15 parent=GLOBAL priority=3/3 target=192.168.1.24/32
  36. add limit-at=100k/500k max-limit=3M/18M name=queue16 parent=GLOBAL priority=3/3 target=192.168.1.25/32
  37. add limit-at=100k/500k max-limit=3M/18M name=queue17 parent=GLOBAL priority=3/3 target=192.168.1.26/32
  38. add limit-at=100k/500k max-limit=3M/18M name=queue18 parent=GLOBAL priority=3/3 target=192.168.1.27/32
  39. add limit-at=100k/500k max-limit=3M/18M name=queue19 parent=GLOBAL priority=3/3 target=192.168.1.28/32
  40. add limit-at=100k/500k max-limit=3M/18M name=queue20 parent=GLOBAL priority=3/3 target=192.168.1.29/32
  41. add limit-at=100k/500k max-limit=3M/18M name=queue21 parent=GLOBAL priority=3/3 target=192.168.1.30/32
  42. add limit-at=100k/500k max-limit=3M/18M name=queue22 parent=GLOBAL priority=3/3 target=192.168.1.31/32
  43. add limit-at=100k/500k max-limit=3M/18M name=queue23 parent=GLOBAL priority=3/3 target=192.168.1.32/32
  44. add limit-at=100k/500k max-limit=3M/18M name=queue24 parent=GLOBAL priority=3/3 target=192.168.1.33/32
  45. add limit-at=100k/500k max-limit=3M/18M name=queue25 parent=GLOBAL priority=3/3 target=192.168.1.34/32
  46. add limit-at=100k/500k max-limit=3M/18M name=queue26 parent=GLOBAL priority=3/3 target=192.168.1.35/32
  47. add limit-at=100k/500k max-limit=3M/18M name=queue27 parent=GLOBAL priority=3/3 target=192.168.1.36/32
  48. add limit-at=100k/500k max-limit=3M/18M name=queue28 parent=GLOBAL priority=3/3 target=192.168.1.37/32
  49. add limit-at=100k/500k max-limit=3M/18M name=queue29 parent=GLOBAL priority=3/3 target=192.168.1.38/32
  50. add limit-at=100k/500k max-limit=3M/18M name=queue30 parent=GLOBAL priority=3/3 target=192.168.1.39/32
  51. add limit-at=100k/500k max-limit=3M/18M name=queue31 parent=GLOBAL priority=3/3 target=192.168.1.40/32
  52. add limit-at=100k/500k max-limit=3M/18M name=queue32 parent=GLOBAL priority=3/3 target=192.168.1.41/32
  53. add limit-at=100k/500k max-limit=3M/18M name=queue33 parent=GLOBAL priority=3/3 target=192.168.1.42/32
  54. add limit-at=100k/500k max-limit=3M/18M name=queue34 parent=GLOBAL priority=3/3 target=192.168.1.44/32
  55. add limit-at=100k/500k max-limit=3M/18M name=queue35 parent=GLOBAL priority=3/3 target=192.168.1.45/32
  56. add limit-at=100k/500k max-limit=3M/18M name=queue36 parent=GLOBAL priority=3/3 target=192.168.1.46/32
  57. add limit-at=100k/500k max-limit=3M/18M name=queue37 parent=GLOBAL priority=3/3 target=192.168.1.47/32
  58. add limit-at=100k/500k max-limit=3M/18M name=queue38 parent=GLOBAL priority=3/3 target=192.168.1.48/32
  59. add limit-at=100k/500k max-limit=3M/18M name=queue39 parent=GLOBAL priority=3/3 target=192.168.1.49/32
  60. add limit-at=100k/500k max-limit=3M/18M name=queue40 parent=GLOBAL priority=3/3 target=192.168.1.50/32
  61. /queue tree
  62. add disabled=yes max-limit=20M name=SOURCE parent=global queue=ethernet-default
  63. add disabled=yes limit-at=400k max-limit=2M name=user1 parent=SOURCE priority=3 queue=default
  64. /interface bridge port
  65. add bridge=bridge comment=defconf interface=ether2-master
  66. add bridge=bridge comment=defconf interface=wlan1
  67. /ip address
  68. add address=192.168.5.1/24 comment=defconf interface=bridge network=192.168.5.0
  69. /ip dhcp-client
  70. add comment=defconf dhcp-options=hostname,clientid disabled=no interface=ether1
  71. /ip dhcp-server network
  72. add address=192.168.5.0/24 comment=defconf gateway=192.168.5.1
  73. /ip dns
  74. set allow-remote-requests=yes
  75. /ip dns static
  76. add address=192.168.5.1 name=kapuas-sekadau
  77. /ip firewall filter
  78. add chain=input comment="defconf: accept ICMP" protocol=icmp
  79. add chain=input comment="defconf: accept established,related" connection-state=established,related
  80. add action=drop chain=input comment="defconf: drop all from WAN" in-interface=ether1
  81. add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related
  82. add chain=forward comment="defconf: accept established,related" connection-state=established,related
  83. add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid
  84. add action=drop chain=forward comment="defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface=ether1
  85. /ip firewall nat
  86. add action=masquerade chain=srcnat comment="defconf: masquerade" out-interface=ether1
  87. /system clock
  88. set time-zone-name=Asia/Jakarta
  89. /system routerboard settings
  90. set cpu-frequency=650MHz protected-routerboot=disabled
  91. /tool mac-server
  92. set [ find default=yes ] disabled=yes
  93. add interface=bridge
  94. /tool mac-server mac-winbox
  95. set [ find default=yes ] disabled=yes
  96. add interface=bridge
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement