Guest User

Untitled

a guest
May 10th, 2014
594
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # may/11/2014 01:24:45 by RouterOS 6.12
  2. # software id = K6Z0-T31J
  3. #
  4. /interface ethernet
  5. set [ find default-name=ether2 ] master-port=ether1
  6. set [ find default-name=ether3 ] master-port=ether1
  7. set [ find default-name=ether4 ] master-port=ether1
  8. set [ find default-name=ether5 ] master-port=ether1
  9. /interface wireless security-profiles
  10. set [ find default=yes ] supplicant-identity=MikroTik
  11. add authentication-types=wpa-psk,wpa2-psk eap-methods="" \
  12. management-protection=allowed name="I2G WiFi" supplicant-identity=""
  13. /interface wireless
  14. set [ find default-name=wlan1 ] band=2ghz-b/g/n disabled=no frequency=auto \
  15. l2mtu=2290 mode=ap-bridge name=WiFi security-profile="I2G WiFi" ssid=\
  16. "IT2GO Hotspot"
  17. /ip hotspot profile
  18. add hotspot-address=10.200.0.1 login-by=http-chap name=hsprof1
  19. /ip hotspot user profile
  20. set [ find default=yes ] idle-timeout=none keepalive-timeout=2m \
  21. mac-cookie-timeout=3d
  22. /ip pool
  23. add name=dhcp_pool1 ranges=10.100.0.100-10.100.0.254
  24. add name=hs-pool-12 ranges=10.200.0.2-10.200.0.254
  25. /ip dhcp-server
  26. add add-arp=yes address-pool=dhcp_pool1 disabled=no interface=ether1 \
  27. lease-time=15m name=dhcp1
  28. add add-arp=yes address-pool=hs-pool-12 disabled=no interface=WiFi \
  29. lease-time=1h name=dhcp2
  30. /ip hotspot
  31. add address-pool=hs-pool-12 disabled=no interface=WiFi name=hotspot1 profile=\
  32. hsprof1
  33. /port
  34. set 0 name=serial0
  35. /tool user-manager customer
  36. set admin signup-allowed=yes
  37. /tool user-manager profile
  38. add name="I2G 1u" name-for-users="" override-shared-users=off owner=admin \
  39. price=0 starts-at=logon validity=0s
  40. /tool user-manager profile limitation
  41. add address-list="" download-limit=0B group-name="" ip-pool="" name="I2G 1U" \
  42. rate-limit-burst-rx=2097152B rate-limit-burst-time-rx=10s \
  43. rate-limit-burst-time-tx=10s rate-limit-burst-treshold-rx=1048576B \
  44. rate-limit-burst-treshold-tx=1048576B rate-limit-burst-tx=2097152B \
  45. rate-limit-min-rx=1048576B rate-limit-min-tx=1048576B rate-limit-rx=\
  46. 1048576B rate-limit-tx=1048576B transfer-limit=0B upload-limit=0B \
  47. uptime-limit=1h
  48. /ip address
  49. add address=10.100.0.1/24 interface=ether1 network=10.100.0.0
  50. add address=10.200.0.1/24 interface=WiFi network=10.200.0.0
  51. /ip dhcp-client
  52. add default-route-distance=0 dhcp-options=hostname,clientid disabled=no \
  53. interface=ether10 use-peer-dns=no use-peer-ntp=no
  54. /ip dhcp-server network
  55. add address=10.100.0.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=10.100.0.1
  56. add address=10.200.0.0/24 comment="hotspot network" dns-server=\
  57. 8.8.8.8,8.8.4.4 gateway=10.200.0.1
  58. /ip dns
  59. set allow-remote-requests=yes servers=8.8.8.8,8.8.4.4
  60. /ip firewall filter
  61. add action=passthrough chain=unused-hs-chain comment=\
  62. "place hotspot rules here" disabled=yes
  63. /ip firewall nat
  64. add action=passthrough chain=unused-hs-chain comment=\
  65. "place hotspot rules here" disabled=yes to-addresses=0.0.0.0
  66. add action=masquerade chain=srcnat out-interface=ether10
  67. add action=masquerade chain=srcnat comment="masquerade hotspot network" \
  68. out-interface=ether10 src-address=10.200.0.0/24
  69. /ip hotspot user
  70. add name=admin
  71. /ip upnp
  72. set allow-disable-external-interface=no
  73. /lcd
  74. set backlight-timeout=never default-screen=informative-slideshow \
  75. read-only-mode=yes
  76. /lcd interface
  77. set sfp1 interface=sfp1
  78. set ether1 interface=ether1
  79. set ether2 interface=ether2
  80. set ether3 interface=ether3
  81. set ether4 interface=ether4
  82. set ether5 interface=ether5
  83. set ether6 interface=ether6
  84. set ether7 interface=ether7
  85. set ether8 interface=ether8
  86. set ether9 interface=ether9
  87. set ether10 interface=ether10
  88. set WiFi interface=WiFi
  89. /lcd screen
  90. set 0 timeout=3s
  91. set 1 timeout=3s
  92. set 2 timeout=3s
  93. set 3 timeout=3s
  94. set 4 timeout=3s
  95. set 5 timeout=3s
  96. /system identity
  97. set name=Hotspot
  98. /system lcd
  99. set contrast=0 enabled=no port=parallel type=24x4
  100. /system lcd page
  101. set time disabled=no display-time=3s
  102. set resources disabled=no display-time=3s
  103. set uptime disabled=no display-time=3s
  104. set packets disabled=no display-time=3s
  105. set bits disabled=no display-time=3s
  106. set version disabled=no display-time=3s
  107. set identity disabled=no display-time=3s
  108. set WiFi disabled=yes display-time=5s
  109. set sfp1 disabled=yes display-time=5s
  110. set ether1 disabled=yes display-time=5s
  111. set ether2 disabled=yes display-time=5s
  112. set ether3 disabled=yes display-time=5s
  113. set ether4 disabled=yes display-time=5s
  114. set ether5 disabled=yes display-time=5s
  115. set ether6 disabled=yes display-time=5s
  116. set ether7 disabled=yes display-time=5s
  117. set ether8 disabled=yes display-time=5s
  118. set ether9 disabled=yes display-time=5s
  119. set ether10 disabled=yes display-time=5s
  120. /system ntp client
  121. set enabled=yes primary-ntp=195.130.132.18 secondary-ntp=195.13.23.5
  122. /tool user-manager profile profile-limitation
  123. add from-time=0s limitation="I2G 1U" profile="I2G 1u" till-time=23h59m59s \
  124. weekdays=sunday,monday,tuesday,wednesday,thursday,friday,saturday
  125. /tool user-manager user
  126. add customer=admin disabled=no name=kris password=password12345 shared-users=1 \
  127. wireless-enc-algo=none wireless-enc-key="" wireless-psk=""
  128. add customer=admin disabled=no name=isa password=password12345 shared-users=1 \
  129. wireless-enc-algo=none wireless-enc-key="" wireless-psk=""
Advertisement
Add Comment
Please, Sign In to add comment