Advertisement
Guest User

Untitled

a guest
Mar 20th, 2014
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.63 KB | None | 0 0
  1. # jan/02/1970 00:38:10 by RouterOS 5.26
  2. # software id = CCC3-Z64V
  3. #
  4. /interface bridge
  5. add admin-mac=D4:CA:6D:0F:32:EB auto-mac=no l2mtu=1598 name=bridge-local \
  6. protocol-mode=rstp
  7. /interface wireless
  8. set 0 band=2ghz-b/g/n channel-width=20/40mhz-ht-above disabled=no distance=\
  9. indoors l2mtu=2290 mac-address=C8:D3:A3:05:FD:E8 mode=ap-bridge name=WLAN \
  10. ssid=Lexie wireless-protocol=802.11
  11. /interface ethernet
  12. set 0 name=WAN
  13. set 1 name=LAN
  14. set 2 master-port=LAN name=ether3-slave-local
  15. set 3 master-port=LAN name=ether4-slave-local
  16. set 4 master-port=LAN name=ether5-slave-local
  17. /interface wireless security-profiles
  18. set [ find default=yes ] authentication-types=wpa2-psk mode=dynamic-keys \
  19. wpa-pre-shared-key=notmyrealpassword wpa2-pre-shared-key=\
  20. notmyrealpassword
  21. /ip hotspot user profile
  22. set [ find default=yes ] idle-timeout=none keepalive-timeout=2m
  23. /ip pool
  24. add name=dhcp ranges=192.168.0.100-192.168.0.254
  25. /ip dhcp-server
  26. add address-pool=dhcp disabled=no interface=bridge-local name=default
  27. /interface bridge port
  28. add bridge=bridge-local interface=LAN
  29. add bridge=bridge-local interface=WLAN
  30. /ip address
  31. add address=192.168.0.1/24 comment="default configuration" interface=\
  32. bridge-local
  33. /ip dhcp-client
  34. add comment="default configuration" disabled=no interface=WAN
  35. /ip dhcp-server lease
  36. add address=192.168.0.101 disabled=yes mac-address=50:E5:49:47:D8:AF
  37. add address=192.168.0.106 mac-address=00:21:97:C4:61:AF
  38. /ip dhcp-server network
  39. add address=192.168.0.0/24 gateway=192.168.0.1 netmask=24
  40. add address=192.168.88.0/24 comment="default configuration" dns-server=\
  41. 192.168.88.1 gateway=192.168.88.1 netmask=24
  42. /ip dns
  43. set allow-remote-requests=yes
  44. /ip dns static
  45. add address=192.168.88.1 name=router
  46. /ip firewall filter
  47. add chain=input comment="default configuration" protocol=icmp
  48. add chain=input comment="default configuration" connection-state=established
  49. add chain=input comment="default configuration" connection-state=related
  50. add action=drop chain=input comment="default configuration" in-interface=WAN
  51. add chain=forward comment="default configuration" connection-state=established
  52. add chain=forward comment="default configuration" connection-state=related
  53. add action=drop chain=forward comment="default configuration" connection-state=\
  54. invalid
  55. /ip firewall nat
  56. add action=masquerade chain=srcnat comment="default configuration" \
  57. out-interface=WAN to-addresses=0.0.0.0
  58. add action=dst-nat chain=dstnat comment=Minecraft dst-port=25565 in-interface=\
  59. WAN protocol=tcp to-addresses=192.168.0.106 to-ports=25565
  60. add action=masquerade chain=srcnat dst-address=192.168.0.106 dst-port=25565 \
  61. out-interface=bridge-local protocol=tcp src-address=192.168.0.0/24
  62. add action=dst-nat chain=dstnat comment=HTTP dst-port=80 in-interface=WAN \
  63. protocol=tcp to-addresses=192.168.0.106 to-ports=80
  64. add action=masquerade chain=srcnat dst-address=192.168.0.106 dst-port=80 \
  65. out-interface=bridge-local protocol=tcp src-address=192.168.0.0/24
  66. /ip neighbor discovery
  67. set WAN disabled=yes
  68. set WLAN disabled=yes
  69. /system leds
  70. set 0 interface=WLAN
  71. /system routerboard settings
  72. set cpu-frequency=400MHz
  73. /tool mac-server
  74. add disabled=no interface=LAN
  75. add disabled=no interface=ether3-slave-local
  76. add disabled=no interface=ether4-slave-local
  77. add disabled=no interface=ether5-slave-local
  78. add disabled=no interface=WLAN
  79. add disabled=no interface=bridge-local
  80. /tool mac-server mac-winbox
  81. set [ find default=yes ] disabled=yes
  82. add interface=LAN
  83. add interface=ether3-slave-local
  84. add interface=ether4-slave-local
  85. add interface=ether5-slave-local
  86. add interface=WLAN
  87. add interface=bridge-local
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement