Advertisement
Guest User

Untitled

a guest
May 29th, 2016
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.76 KB | None | 0 0
  1. # may/29/2016 12:55:57 by RouterOS 5.20
  2. # software id = W5EY-LHT9
  3. #
  4. /interface ethernet
  5. set 0 arp=enabled auto-negotiation=yes cable-settings=default \
  6. disable-running-check=yes disabled=no full-duplex=yes mac-address=\
  7. 08:00:27:D0:CB:66 mtu=1500 name="ether1 w-lan" speed=10Mbps
  8. set 1 arp=enabled auto-negotiation=yes cable-settings=default \
  9. disable-running-check=yes disabled=no full-duplex=yes mac-address=\
  10. 08:00:27:DE:BB:8F mtu=1500 name="ether2 ethernet" speed=100Mbps
  11. set 2 arp=enabled auto-negotiation=yes cable-settings=default \
  12. disable-running-check=yes disabled=no full-duplex=yes mac-address=\
  13. 08:00:27:E1:4F:1D mtu=1500 name="ether 3 Virtual" speed=100Mbps
  14. /interface wireless security-profiles
  15. set [ find default=yes ] authentication-types="" eap-methods=passthrough \
  16. group-ciphers=aes-ccm group-key-update=5m interim-update=0s \
  17. management-protection=disabled management-protection-key="" mode=none \
  18. name=default radius-eap-accounting=no radius-mac-accounting=no \
  19. radius-mac-authentication=no radius-mac-caching=disabled \
  20. radius-mac-format=XX:XX:XX:XX:XX:XX radius-mac-mode=as-username \
  21. static-algo-0=none static-algo-1=none static-algo-2=none static-algo-3=\
  22. none static-key-0="" static-key-1="" static-key-2="" static-key-3="" \
  23. static-sta-private-algo=none static-sta-private-key="" \
  24. static-transmit-key=key-0 supplicant-identity=MikroTik tls-certificate=\
  25. none tls-mode=no-certificates unicast-ciphers=aes-ccm wpa-pre-shared-key=\
  26. "" wpa2-pre-shared-key=""
  27. /ip hotspot profile
  28. set [ find default=yes ] dns-name="" hotspot-address=0.0.0.0 html-directory=\
  29. hotspot http-cookie-lifetime=3d http-proxy=0.0.0.0:0 login-by=\
  30. cookie,http-chap name=default rate-limit="" smtp-server=0.0.0.0 \
  31. split-user-domain=no use-radius=no
  32. add dns-name="" hotspot-address=192.168.0.200 html-directory=hotspot \
  33. http-cookie-lifetime=3d http-proxy=0.0.0.0:0 login-by=cookie,http-chap \
  34. name=hsprof1 rate-limit="" smtp-server=0.0.0.0 split-user-domain=no \
  35. use-radius=no
  36. /ip hotspot user profile
  37. set [ find default=yes ] idle-timeout=none keepalive-timeout=2m name=default \
  38. shared-users=1 status-autorefresh=1m transparent-proxy=no
  39. /ip ipsec proposal
  40. set [ find default=yes ] auth-algorithms=sha1 disabled=no enc-algorithms=3des \
  41. lifetime=30m name=default pfs-group=modp1024
  42. /ip pool
  43. add name=DHCP ranges=192.168.0.201-192.168.0.254
  44. /ip dhcp-server
  45. add address-pool=DHCP bootp-support=static disabled=no interface=\
  46. "ether2 ethernet" lease-time=12h name="Servidor DHCP"
  47. /ip hotspot
  48. add address-pool=DHCP addresses-per-mac=2 disabled=no idle-timeout=5m \
  49. interface="ether2 ethernet" keepalive-timeout=none name=hotspot1 profile=\
  50. hsprof1
  51. /ppp profile
  52. set 0 change-tcp-mss=yes name=default only-one=default \
  53. remote-ipv6-prefix-pool=none use-compression=default use-encryption=\
  54. default use-ipv6=yes use-mpls=default use-vj-compression=default
  55. set 1 change-tcp-mss=yes name=default-encryption only-one=default \
  56. remote-ipv6-prefix-pool=none use-compression=default use-encryption=yes \
  57. use-ipv6=yes use-mpls=default use-vj-compression=default
  58. /queue type
  59. set 0 kind=pfifo name=default pfifo-limit=50
  60. set 1 kind=pfifo name=ethernet-default pfifo-limit=50
  61. set 2 kind=sfq name=wireless-default sfq-allot=1514 sfq-perturb=5
  62. set 3 kind=red name=synchronous-default red-avg-packet=1000 red-burst=20 \
  63. red-limit=60 red-max-threshold=50 red-min-threshold=10
  64. set 4 kind=sfq name=hotspot-default sfq-allot=1514 sfq-perturb=5
  65. set 5 kind=none name=only-hardware-queue
  66. set 6 kind=mq-pfifo mq-pfifo-limit=50 name=multi-queue-ethernet-default
  67. set 7 kind=pfifo name=default-small pfifo-limit=10
  68. /routing bgp instance
  69. set default as=65530 client-to-client-reflection=yes disabled=no \
  70. ignore-as-path-len=no name=default out-filter="" redistribute-connected=\
  71. no redistribute-ospf=no redistribute-other-bgp=no redistribute-rip=no \
  72. redistribute-static=no router-id=0.0.0.0 routing-table=""
  73. /routing ospf instance
  74. set [ find default=yes ] disabled=no distribute-default=never in-filter=\
  75. ospf-in metric-bgp=auto metric-connected=20 metric-default=1 \
  76. metric-other-ospf=auto metric-rip=20 metric-static=20 name=default \
  77. out-filter=ospf-out redistribute-bgp=no redistribute-connected=no \
  78. redistribute-other-ospf=no redistribute-rip=no redistribute-static=no \
  79. router-id=0.0.0.0
  80. /routing ospf area
  81. set [ find default=yes ] area-id=0.0.0.0 disabled=no instance=default name=\
  82. backbone type=default
  83. /routing ospf-v3 instance
  84. set [ find default=yes ] disabled=no distribute-default=never metric-bgp=auto \
  85. metric-connected=20 metric-default=1 metric-other-ospf=auto metric-rip=20 \
  86. metric-static=20 name=default redistribute-bgp=no redistribute-connected=\
  87. no redistribute-other-ospf=no redistribute-rip=no redistribute-static=no \
  88. router-id=0.0.0.0
  89. /routing ospf-v3 area
  90. set [ find default=yes ] area-id=0.0.0.0 disabled=no instance=default name=\
  91. backbone type=default
  92. /snmp community
  93. set [ find default=yes ] addresses="" authentication-password="" \
  94. authentication-protocol=MD5 encryption-password="" encryption-protocol=\
  95. DES name=public read-access=yes security=none write-access=no
  96. /system logging action
  97. set 0 memory-lines=100 memory-stop-on-full=no name=memory target=memory
  98. set 1 disk-file-count=2 disk-file-name=log disk-lines-per-file=100 \
  99. disk-stop-on-full=no name=disk target=disk
  100. set 2 name=echo remember=yes target=echo
  101. set 3 bsd-syslog=no name=remote remote=:: remote-port=514 src-address=0.0.0.0 \
  102. syslog-facility=daemon syslog-severity=auto target=remote
  103. /tool user-manager customer
  104. add backup-allowed=yes disabled=no login=admin password="" \
  105. paypal-accept-pending=no paypal-allowed=no paypal-secure-response=no \
  106. permissions=owner signup-allowed=no time-zone=-00:00
  107. /user group
  108. set read name=read policy="local,telnet,ssh,reboot,read,test,winbox,password,w\
  109. eb,sniff,sensitive,api,!ftp,!write,!policy" skin=default
  110. set write name=write policy="local,telnet,ssh,reboot,read,write,test,winbox,pa\
  111. ssword,web,sniff,sensitive,api,!ftp,!policy" skin=default
  112. set full name=full policy="local,telnet,ssh,ftp,reboot,read,write,policy,test,\
  113. winbox,password,web,sniff,sensitive,api" skin=default
  114. /interface bridge settings
  115. set use-ip-firewall=no use-ip-firewall-for-pppoe=no use-ip-firewall-for-vlan=\
  116. no
  117. /interface l2tp-server server
  118. set authentication=pap,chap,mschap1,mschap2 default-profile=\
  119. default-encryption enabled=no max-mru=1460 max-mtu=1460 mrru=disabled
  120. /interface ovpn-server server
  121. set auth=sha1,md5 certificate=none cipher=blowfish128,aes128 default-profile=\
  122. default enabled=no keepalive-timeout=60 mac-address=FE:21:6A:6F:F7:31 \
  123. max-mtu=1500 mode=ip netmask=24 port=1194 require-client-certificate=no
  124. /interface pptp-server server
  125. set authentication=mschap1,mschap2 default-profile=default-encryption \
  126. enabled=no keepalive-timeout=30 max-mru=1460 max-mtu=1460 mrru=disabled
  127. /interface sstp-server server
  128. set authentication=pap,chap,mschap1,mschap2 certificate=none default-profile=\
  129. default enabled=no keepalive-timeout=60 max-mru=1500 max-mtu=1500 mrru=\
  130. disabled port=443 verify-client-certificate=no
  131. /interface wireless align
  132. set active-mode=yes audio-max=-20 audio-min=-100 audio-monitor=\
  133. 00:00:00:00:00:00 filter-mac=00:00:00:00:00:00 frame-size=300 \
  134. frames-per-second=25 receive-all=no ssid-all=no
  135. /interface wireless sniffer
  136. set channel-time=200ms file-limit=10 file-name="" memory-limit=10 \
  137. multiple-channels=no only-headers=no receive-errors=no streaming-enabled=\
  138. no streaming-max-rate=0 streaming-server=0.0.0.0
  139. /interface wireless snooper
  140. set channel-time=200ms multiple-channels=yes receive-errors=no
  141. /ip accounting
  142. set account-local-traffic=no enabled=no threshold=256
  143. /ip accounting web-access
  144. set accessible-via-web=no address=0.0.0.0/0
  145. /ip address
  146. add address=192.168.0.200/24 disabled=no interface="ether 3 Virtual" network=\
  147. 192.168.0.0
  148. add address=192.168.4.0/24 disabled=no interface="ether2 ethernet" network=\
  149. 192.168.4.0
  150. add address=192.168.0.100/32 disabled=no interface="ether1 w-lan" network=\
  151. 192.168.0.100
  152. add address=192.168.0.200/24 comment="hotspot network" disabled=no interface=\
  153. "ether2 ethernet" network=192.168.0.0
  154. /ip dhcp-client
  155. add add-default-route=yes default-route-distance=0 disabled=no interface=\
  156. "ether1 w-lan" use-peer-dns=yes use-peer-ntp=yes
  157. /ip dhcp-server config
  158. set store-leases-disk=5m
  159. /ip dhcp-server network
  160. add address=192.168.0.0/24 dhcp-option="" dns-server="" gateway=192.168.0.200 \
  161. netmask=24 ntp-server="" wins-server=""
  162. /ip dns
  163. set allow-remote-requests=no cache-max-ttl=1w cache-size=2048KiB \
  164. max-udp-packet-size=4096 servers=""
  165. /ip firewall connection tracking
  166. set enabled=yes generic-timeout=10m icmp-timeout=10s tcp-close-timeout=10s \
  167. tcp-close-wait-timeout=10s tcp-established-timeout=1d \
  168. tcp-fin-wait-timeout=10s tcp-last-ack-timeout=10s \
  169. tcp-syn-received-timeout=5s tcp-syn-sent-timeout=5s tcp-syncookie=no \
  170. tcp-time-wait-timeout=10s udp-stream-timeout=3m udp-timeout=10s
  171. /ip firewall filter
  172. add action=passthrough chain=unused-hs-chain comment=\
  173. "place hotspot rules here" disabled=yes
  174. /ip firewall nat
  175. add action=passthrough chain=unused-hs-chain comment=\
  176. "place hotspot rules here" disabled=yes to-addresses=0.0.0.0
  177. add action=masquerade chain=srcnat disabled=no out-interface="!ether1 w-lan"
  178. add action=masquerade chain=srcnat comment="masquerade hotspot network" \
  179. disabled=no src-address=192.168.0.0/24 to-addresses=0.0.0.0
  180. /ip firewall service-port
  181. set ftp disabled=no ports=21
  182. set tftp disabled=no ports=69
  183. set irc disabled=no ports=6667
  184. set h323 disabled=no
  185. set sip disabled=no ports=5060,5061 sip-direct-media=yes
  186. set pptp disabled=no
  187. /ip hotspot service-port
  188. set ftp disabled=no ports=21
  189. /ip hotspot user
  190. add disabled=no name=admin password="" profile=default
  191. /ip neighbor discovery
  192. set "ether1 w-lan" disabled=no
  193. set "ether2 ethernet" disabled=no
  194. set "ether 3 Virtual" disabled=no
  195. /ip proxy
  196. set always-from-cache=no cache-administrator=webmaster cache-hit-dscp=4 \
  197. cache-on-disk=no enabled=no max-cache-size=none max-client-connections=\
  198. 600 max-fresh-time=3d max-server-connections=600 parent-proxy=0.0.0.0 \
  199. parent-proxy-port=0 port=8080 serialize-connections=no src-address=\
  200. 0.0.0.0
  201. /ip service
  202. set telnet address="" disabled=no port=23
  203. set ftp address="" disabled=no port=21
  204. set www address="" disabled=no port=80
  205. set ssh address="" disabled=no port=22
  206. set www-ssl address="" certificate=none disabled=yes port=443
  207. set api address="" disabled=yes port=8728
  208. set winbox address="" disabled=no port=8291
  209. /ip smb
  210. set allow-guests=yes comment=MikrotikSMB domain=MSHOME enabled=no interfaces=\
  211. all
  212. /ip smb shares
  213. set [ find default=yes ] comment="default share" directory=/pub disabled=no \
  214. max-sessions=10 name=pub
  215. /ip smb users
  216. set [ find default=yes ] disabled=no name=guest password="" read-only=yes
  217. /ip socks
  218. set connection-idle-timeout=2m enabled=no max-connections=200 port=1080
  219. /ip traffic-flow
  220. set active-flow-timeout=30m cache-entries=4k enabled=no \
  221. inactive-flow-timeout=15s interfaces=all
  222. /ip upnp
  223. set allow-disable-external-interface=yes enabled=no show-dummy-rule=yes
  224. /ipv6 nd
  225. set [ find default=yes ] advertise-dns=no advertise-mac-address=yes disabled=\
  226. no hop-limit=unspecified interface=all managed-address-configuration=no \
  227. mtu=unspecified other-configuration=no ra-delay=3s ra-interval=3m20s-10m \
  228. ra-lifetime=30m reachable-time=unspecified retransmit-interval=\
  229. unspecified
  230. /ipv6 nd prefix default
  231. set autonomous=yes preferred-lifetime=1w valid-lifetime=4w2d
  232. /mpls
  233. set dynamic-label-range=16-1048575 propagate-ttl=yes
  234. /mpls interface
  235. set [ find default=yes ] disabled=no interface=all mpls-mtu=1508
  236. /mpls ldp
  237. set distribute-for-default-route=no enabled=no hop-limit=255 loop-detect=no \
  238. lsr-id=0.0.0.0 path-vector-limit=255 transport-address=0.0.0.0 \
  239. use-explicit-null=no
  240. /port firmware
  241. set directory=firmware ignore-directip-modem=no
  242. /ppp aaa
  243. set accounting=yes interim-update=0s use-radius=no
  244. /queue interface
  245. set "ether1 w-lan" queue=ethernet-default
  246. set "ether2 ethernet" queue=ethernet-default
  247. set "ether 3 Virtual" queue=ethernet-default
  248. /radius incoming
  249. set accept=no port=3799
  250. /routing bfd interface
  251. set [ find default=yes ] disabled=no interface=all interval=0.2s min-rx=0.2s \
  252. multiplier=5
  253. /routing igmp-proxy
  254. set query-interval=2m5s query-response-interval=10s quick-leave=no
  255. /routing mme
  256. set bidirectional-timeout=2 gateway-class=none gateway-keepalive=1m \
  257. gateway-selection=no-gateway origination-interval=5s preferred-gateway=\
  258. 0.0.0.0 timeout=1m ttl=50
  259. /routing pim
  260. set switch-to-spt=yes switch-to-spt-bytes=0 switch-to-spt-interval=1m40s
  261. /routing rip
  262. set distribute-default=never garbage-timer=2m metric-bgp=1 metric-connected=1 \
  263. metric-default=1 metric-ospf=1 metric-static=1 redistribute-bgp=no \
  264. redistribute-connected=no redistribute-ospf=no redistribute-static=no \
  265. routing-table=main timeout-timer=3m update-timer=30s
  266. /routing ripng
  267. set distribute-default=never garbage-timer=2m metric-bgp=1 metric-connected=1 \
  268. metric-default=1 metric-ospf=1 metric-static=1 redistribute-bgp=no \
  269. redistribute-connected=no redistribute-ospf=no redistribute-static=no \
  270. timeout-timer=3m update-timer=30s
  271. /snmp
  272. set contact="" enabled=no engine-id="" location="" trap-generators="" \
  273. trap-target="" trap-version=1
  274. /system clock
  275. set time-zone-name=manual
  276. /system clock manual
  277. set dst-delta=+00:00 dst-end="jan/01/1970 00:00:00" dst-start=\
  278. "jan/01/1970 00:00:00" time-zone=+00:00
  279. /system console
  280. set [ find vcno=1 ] channel=0 disabled=no term=linux
  281. set [ find vcno=2 ] channel=0 disabled=no term=linux
  282. set [ find vcno=3 ] channel=0 disabled=no term=linux
  283. set [ find vcno=4 ] channel=0 disabled=no term=linux
  284. set [ find vcno=5 ] channel=0 disabled=no term=linux
  285. set [ find vcno=6 ] channel=0 disabled=no term=linux
  286. set [ find vcno=7 ] channel=0 disabled=no term=linux
  287. set [ find vcno=8 ] channel=0 disabled=no term=linux
  288. /system console screen
  289. set blank-interval=10min line-count=25
  290. /system gps
  291. set channel=0 enabled=no set-system-time=no
  292. /system hardware
  293. set multi-cpu=yes
  294. /system health
  295. set state-after-reboot=enabled
  296. /system identity
  297. set name=MikroTik
  298. /system lcd
  299. set contrast=0 enabled=no port=parallel type=24x4
  300. /system lcd page
  301. set time disabled=yes display-time=5s
  302. set resources disabled=yes display-time=5s
  303. set uptime disabled=yes display-time=5s
  304. set packets disabled=yes display-time=5s
  305. set bits disabled=yes display-time=5s
  306. set version disabled=yes display-time=5s
  307. set identity disabled=yes display-time=5s
  308. set ether1 disabled=yes display-time=5s
  309. set "ether 3 Virtual" disabled=yes display-time=5s
  310. set "ether2 ethernet" disabled=yes display-time=5s
  311. set "ether1 w-lan" disabled=yes display-time=5s
  312. /system logging
  313. set 0 action=memory disabled=no prefix="" topics=info
  314. set 1 action=memory disabled=no prefix="" topics=error
  315. set 2 action=memory disabled=no prefix="" topics=warning
  316. set 3 action=echo disabled=no prefix="" topics=critical
  317. /system note
  318. set note="" show-at-login=yes
  319. /system ntp client
  320. set enabled=no mode=unicast primary-ntp=0.0.0.0 secondary-ntp=0.0.0.0
  321. /system ntp server
  322. set broadcast=no broadcast-addresses="" enabled=no manycast=yes multicast=no
  323. /system resource irq
  324. set 0 cpu=auto
  325. set 1 cpu=auto
  326. set 2 cpu=auto
  327. set 3 cpu=auto
  328. set 4 cpu=auto
  329. set 5 cpu=auto
  330. set 6 cpu=auto
  331. set 7 cpu=auto
  332. /system upgrade mirror
  333. set check-interval=1d enabled=no primary-server=0.0.0.0 secondary-server=\
  334. 0.0.0.0 user=""
  335. /system watchdog
  336. set auto-send-supout=no automatic-supout=yes no-ping-delay=5m watch-address=\
  337. none watchdog-timer=yes
  338. /tool bandwidth-server
  339. set allocate-udp-ports-from=2000 authenticate=yes enabled=yes max-sessions=\
  340. 100
  341. /tool e-mail
  342. set address=0.0.0.0 from=<> password="" port=25 starttls=no user=""
  343. /tool graphing
  344. set page-refresh=300 store-every=5min
  345. /tool mac-server
  346. set [ find default=yes ] disabled=no interface=all
  347. /tool mac-server mac-winbox
  348. set [ find default=yes ] disabled=no interface=all
  349. /tool mac-server ping
  350. set enabled=yes
  351. /tool sms
  352. set allowed-number="" channel=0 keep-max-sms=0 receive-enabled=no secret=""
  353. /tool sniffer
  354. set file-limit=1000KiB file-name="" filter-ip-address="" filter-ip-protocol=\
  355. "" filter-mac-address="" filter-mac-protocol="" filter-port="" \
  356. filter-stream=yes interface=all memory-limit=100KiB memory-scroll=yes \
  357. only-headers=no streaming-enabled=no streaming-server=0.0.0.0
  358. /tool traffic-generator
  359. set latency-distribution-scale=10 test-id=0
  360. /user aaa
  361. set accounting=yes default-group=read exclude-groups="" interim-update=0s \
  362. use-radius=no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement