Advertisement
Guest User

mikrotik rb450g

a guest
Feb 13th, 2013
461
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.47 KB | None | 0 0
  1. # feb/13/2013 10:22:52 by RouterOS 5.23
  2. # software id = 1234-5678
  3. #
  4. /interface ethernet
  5. set 0 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited comment=\
  6. WAN disabled=no full-duplex=yes l2mtu=1520 mac-address=D4:CA:6D:3E:20:B5 \
  7. master-port=none mtu=1500 name=WAN speed=100Mbps
  8. set 1 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited comment=\
  9. LAN disabled=no full-duplex=yes l2mtu=1520 mac-address=D4:CA:6D:3E:20:B6 \
  10. master-port=none mtu=1500 name=LAN speed=100Mbps
  11. set 2 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited \
  12. disabled=no full-duplex=yes l2mtu=1520 mac-address=D4:CA:6D:3E:20:B7 \
  13. master-port=LAN mtu=1500 name=ether3-slave-local speed=100Mbps
  14. set 3 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited \
  15. disabled=no full-duplex=yes l2mtu=1520 mac-address=D4:CA:6D:3E:20:B8 \
  16. master-port=LAN mtu=1500 name=ether4-slave-local speed=100Mbps
  17. set 4 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited \
  18. disabled=no full-duplex=yes l2mtu=1520 mac-address=D4:CA:6D:3E:20:B9 \
  19. master-port=LAN mtu=1500 name=ether5-slave-local speed=100Mbps
  20. /interface ethernet switch
  21. set 0 mirror-source=none mirror-target=none name=switch1 switch-all-ports=yes
  22. /ip hotspot profile
  23. set [ find default=yes ] dns-name="" hotspot-address=0.0.0.0 html-directory=\
  24. hotspot http-cookie-lifetime=3d http-proxy=0.0.0.0:0 login-by=\
  25. cookie,http-chap name=default rate-limit="" smtp-server=0.0.0.0 \
  26. split-user-domain=no use-radius=no
  27. /ip hotspot user profile
  28. set [ find default=yes ] idle-timeout=none keepalive-timeout=2m name=default \
  29. shared-users=1 status-autorefresh=1m transparent-proxy=no
  30. /ip ipsec proposal
  31. set [ find default=yes ] auth-algorithms=sha1 disabled=no enc-algorithms=3des \
  32. lifetime=30m name=default pfs-group=modp1024
  33. /ip pool
  34. add name=local-dhcp ranges=192.168.123.10-192.168.123.110
  35. /ip dhcp-server
  36. add address-pool=local-dhcp authoritative=after-2sec-delay bootp-support=\
  37. static disabled=no interface=LAN lease-time=3d name=default
  38. /port
  39. set 0 baud-rate=auto data-bits=8 flow-control=none name=serial0 parity=none \
  40. stop-bits=1
  41. /ppp profile
  42. set 0 change-tcp-mss=yes name=default only-one=default use-compression=\
  43. default use-encryption=default use-mpls=default use-vj-compression=\
  44. default
  45. set 1 change-tcp-mss=yes name=default-encryption only-one=default \
  46. use-compression=default use-encryption=yes use-mpls=default \
  47. use-vj-compression=default
  48. /queue type
  49. set 0 kind=pfifo name=default pfifo-limit=50
  50. set 1 kind=pfifo name=ethernet-default pfifo-limit=50
  51. set 2 kind=sfq name=wireless-default sfq-allot=1514 sfq-perturb=5
  52. set 3 kind=red name=synchronous-default red-avg-packet=1000 red-burst=20 \
  53. red-limit=60 red-max-threshold=50 red-min-threshold=10
  54. set 4 kind=sfq name=hotspot-default sfq-allot=1514 sfq-perturb=5
  55. set 5 kind=none name=only-hardware-queue
  56. set 6 kind=mq-pfifo mq-pfifo-limit=50 name=multi-queue-ethernet-default
  57. set 7 kind=pfifo name=default-small pfifo-limit=10
  58. /routing bgp instance
  59. set default as=65530 client-to-client-reflection=yes disabled=no \
  60. ignore-as-path-len=no name=default out-filter="" redistribute-connected=\
  61. no redistribute-ospf=no redistribute-other-bgp=no redistribute-rip=no \
  62. redistribute-static=no router-id=0.0.0.0 routing-table=""
  63. /routing ospf instance
  64. set [ find default=yes ] disabled=no distribute-default=never in-filter=\
  65. ospf-in metric-bgp=auto metric-connected=20 metric-default=1 \
  66. metric-other-ospf=auto metric-rip=20 metric-static=20 name=default \
  67. out-filter=ospf-out redistribute-bgp=no redistribute-connected=no \
  68. redistribute-other-ospf=no redistribute-rip=no redistribute-static=no \
  69. router-id=0.0.0.0
  70. /routing ospf area
  71. set [ find default=yes ] area-id=0.0.0.0 disabled=no instance=default name=\
  72. backbone type=default
  73. /snmp community
  74. set [ find default=yes ] addresses=0.0.0.0/0 authentication-password="" \
  75. authentication-protocol=MD5 encryption-password="" encryption-protocol=\
  76. DES name=public read-access=yes security=none write-access=no
  77. /system logging action
  78. set 0 memory-lines=100 memory-stop-on-full=no name=memory target=memory
  79. set 1 disk-file-count=2 disk-file-name=log disk-lines-per-file=100 \
  80. disk-stop-on-full=no name=disk target=disk
  81. set 2 name=echo remember=yes target=echo
  82. set 3 bsd-syslog=no name=remote remote-port=514 src-address=0.0.0.0 \
  83. syslog-facility=daemon syslog-severity=auto target=remote
  84. /tool user-manager customer
  85. add backup-allowed=yes disabled=no login=admin password="" \
  86. paypal-accept-pending=no paypal-allowed=no paypal-secure-response=no \
  87. permissions=owner signup-allowed=no time-zone=-00:00
  88. /user group
  89. set read name=read policy="local,telnet,ssh,reboot,read,test,winbox,password,w\
  90. eb,sniff,sensitive,api,!ftp,!write,!policy" skin=default
  91. set write name=write policy="local,telnet,ssh,reboot,read,write,test,winbox,pa\
  92. ssword,web,sniff,sensitive,api,!ftp,!policy" skin=default
  93. set full name=full policy="local,telnet,ssh,ftp,reboot,read,write,policy,test,\
  94. winbox,password,web,sniff,sensitive,api" skin=default
  95. /interface bridge settings
  96. set use-ip-firewall=no use-ip-firewall-for-pppoe=no use-ip-firewall-for-vlan=\
  97. no
  98. /interface ethernet switch port
  99. set 0 vlan-header=leave-as-is vlan-mode=fallback
  100. set 1 vlan-header=leave-as-is vlan-mode=fallback
  101. set 2 vlan-header=leave-as-is vlan-mode=fallback
  102. set 3 vlan-header=leave-as-is vlan-mode=fallback
  103. set 4 vlan-header=leave-as-is vlan-mode=fallback
  104. set 5 vlan-header=leave-as-is vlan-mode=fallback
  105. /interface l2tp-server server
  106. set authentication=pap,chap,mschap1,mschap2 default-profile=\
  107. default-encryption enabled=no keepalive-timeout=30 max-mru=1460 max-mtu=\
  108. 1460 mrru=disabled
  109. /interface ovpn-server server
  110. set auth=sha1,md5 certificate=none cipher=blowfish128,aes128 default-profile=\
  111. default enabled=no keepalive-timeout=60 mac-address=FE:52:22:8C:49:0A \
  112. max-mtu=1500 mode=ip netmask=24 port=1194 require-client-certificate=no
  113. /interface pptp-server server
  114. set authentication=mschap1,mschap2 default-profile=default-encryption \
  115. enabled=no keepalive-timeout=30 max-mru=1460 max-mtu=1460 mrru=disabled
  116. /interface sstp-server server
  117. set authentication=pap,chap,mschap1,mschap2 certificate=none default-profile=\
  118. default enabled=no keepalive-timeout=60 max-mru=1500 max-mtu=1500 mrru=\
  119. disabled port=443 verify-client-certificate=no
  120. /ip accounting
  121. set account-local-traffic=no enabled=no threshold=256
  122. /ip accounting web-access
  123. set accessible-via-web=no address=0.0.0.0/0
  124. /ip address
  125. add address=192.168.123.254/24 comment="default configuration" disabled=no \
  126. interface=LAN network=192.168.123.0
  127. add address=111.112.113.11/29 disabled=no interface=WAN network=111.112.113.8
  128. /ip dhcp-client
  129. add add-default-route=yes comment="default configuration" \
  130. default-route-distance=1 disabled=no interface=WAN use-peer-dns=yes \
  131. use-peer-ntp=yes
  132. /ip dhcp-server config
  133. set store-leases-disk=5m
  134. /ip dhcp-server network
  135. add address=192.168.123.0/24 comment="default configuration" dhcp-option="" \
  136. dns-server=192.168.123.254 gateway=192.168.123.254 ntp-server="" \
  137. wins-server=""
  138. /ip dns
  139. set allow-remote-requests=yes cache-max-ttl=1w cache-size=2048KiB \
  140. max-udp-packet-size=4096 servers=\
  141. 87.245.190.122,87.245.145.6,212.45.0.3,212.45.2.5
  142. /ip dns static
  143. add address=192.168.88.1 disabled=no name=router ttl=1d
  144. /ip firewall connection tracking
  145. set enabled=yes generic-timeout=10m icmp-timeout=10s tcp-close-timeout=10s \
  146. tcp-close-wait-timeout=10s tcp-established-timeout=1d \
  147. tcp-fin-wait-timeout=10s tcp-last-ack-timeout=10s \
  148. tcp-syn-received-timeout=5s tcp-syn-sent-timeout=5s tcp-syncookie=no \
  149. tcp-time-wait-timeout=10s udp-stream-timeout=3m udp-timeout=10s
  150. /ip firewall filter
  151. add action=accept chain=input comment="default configuration" disabled=no \
  152. protocol=icmp
  153. add action=accept chain=input comment="default configuration" \
  154. connection-state=established disabled=no
  155. add action=accept chain=input comment="default configuration" \
  156. connection-state=related disabled=no
  157. add action=drop chain=input comment="default configuration" disabled=no \
  158. in-interface=WAN
  159. /ip firewall nat
  160. add action=masquerade chain=srcnat comment="default configuration" disabled=\
  161. no out-interface=WAN to-addresses=0.0.0.0
  162. /ip firewall service-port
  163. set ftp disabled=no ports=21
  164. set tftp disabled=no ports=69
  165. set irc disabled=no ports=6667
  166. set h323 disabled=no
  167. set sip disabled=no ports=5060,5061 sip-direct-media=yes
  168. set pptp disabled=no
  169. /ip hotspot service-port
  170. set ftp disabled=no ports=21
  171. /ip neighbor discovery
  172. set WAN disabled=yes
  173. set LAN disabled=no
  174. set ether3-slave-local disabled=no
  175. set ether4-slave-local disabled=no
  176. set ether5-slave-local disabled=no
  177. /ip proxy
  178. set always-from-cache=no cache-administrator=webmaster cache-hit-dscp=4 \
  179. cache-on-disk=no enabled=no max-cache-size=unlimited \
  180. max-client-connections=600 max-fresh-time=3d max-server-connections=600 \
  181. parent-proxy=0.0.0.0 parent-proxy-port=0 port=8080 serialize-connections=\
  182. no src-address=0.0.0.0
  183. /ip route
  184. add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=111.112.113.9 scope=\
  185. 30 target-scope=10
  186. /ip service
  187. set telnet address="" disabled=no port=23
  188. set ftp address="" disabled=no port=21
  189. set www address="" disabled=no port=80
  190. set ssh address="" disabled=no port=22
  191. set www-ssl address="" certificate=none disabled=yes port=443
  192. set api address="" disabled=yes port=8728
  193. set winbox address="" disabled=no port=8291
  194. /ip smb
  195. set allow-guests=yes comment=MikrotikSMB domain=MSHOME enabled=no interfaces=\
  196. all
  197. /ip smb shares
  198. set [ find default=yes ] comment="default share" directory=/pub disabled=no \
  199. max-sessions=10 name=pub
  200. /ip smb users
  201. set [ find default=yes ] disabled=no name=guest password="" read-only=yes
  202. /ip socks
  203. set connection-idle-timeout=2m enabled=no max-connections=200 port=1080
  204. /ip traffic-flow
  205. set active-flow-timeout=30m cache-entries=4k enabled=no \
  206. inactive-flow-timeout=15s interfaces=all
  207. /ip upnp
  208. set allow-disable-external-interface=yes enabled=no show-dummy-rule=yes
  209. /mpls
  210. set dynamic-label-range=16-1048575 propagate-ttl=yes
  211. /mpls interface
  212. set [ find default=yes ] disabled=no interface=all mpls-mtu=1508
  213. /mpls ldp
  214. set distribute-for-default-route=no enabled=no hop-limit=255 loop-detect=no \
  215. lsr-id=0.0.0.0 path-vector-limit=255 transport-address=0.0.0.0 \
  216. use-explicit-null=no
  217. /port firmware
  218. set directory=firmware ignore-directip-modem=no
  219. /ppp aaa
  220. set accounting=yes interim-update=0s use-radius=no
  221. /queue interface
  222. set WAN queue=only-hardware-queue
  223. set LAN queue=only-hardware-queue
  224. set ether3-slave-local queue=only-hardware-queue
  225. set ether4-slave-local queue=only-hardware-queue
  226. set ether5-slave-local queue=only-hardware-queue
  227. /radius incoming
  228. set accept=no port=3799
  229. /routing bfd interface
  230. set [ find default=yes ] disabled=no interface=all interval=0.2s min-rx=0.2s \
  231. multiplier=5
  232. /routing igmp-proxy
  233. set query-interval=2m5s query-response-interval=10s quick-leave=no
  234. /routing mme
  235. set bidirectional-timeout=2 gateway-class=none gateway-keepalive=1m \
  236. gateway-selection=no-gateway origination-interval=5s preferred-gateway=\
  237. 0.0.0.0 timeout=1m ttl=50
  238. /routing pim
  239. set switch-to-spt=yes switch-to-spt-bytes=0 switch-to-spt-interval=1m40s
  240. /routing rip
  241. set distribute-default=never garbage-timer=2m metric-bgp=1 metric-connected=1 \
  242. metric-default=1 metric-ospf=1 metric-static=1 redistribute-bgp=no \
  243. redistribute-connected=no redistribute-ospf=no redistribute-static=no \
  244. routing-table=main timeout-timer=3m update-timer=30s
  245. /snmp
  246. set contact="" enabled=no engine-id="" location="" trap-generators="" \
  247. trap-target="" trap-version=1
  248. /system clock
  249. set time-zone-name=Europe/Moscow
  250. /system clock manual
  251. set dst-delta=+00:00 dst-end="jan/01/1970 00:00:00" dst-start=\
  252. "jan/01/1970 00:00:00" time-zone=+04:00
  253. /system console
  254. set [ find port=serial0 ] channel=0 disabled=no port=serial0 term=vt102
  255. /system gps
  256. set channel=0 enabled=no set-system-time=no
  257. /system identity
  258. set name=MikroTik
  259. /system logging
  260. set 0 action=memory disabled=no prefix="" topics=info
  261. set 1 action=memory disabled=no prefix="" topics=error
  262. set 2 action=memory disabled=no prefix="" topics=warning
  263. set 3 action=echo disabled=no prefix="" topics=critical
  264. /system note
  265. set note="" show-at-login=yes
  266. /system ntp client
  267. set enabled=yes mode=unicast primary-ntp=85.21.78.91 secondary-ntp=\
  268. 89.221.207.113
  269. /system ntp server
  270. set broadcast=no broadcast-addresses="" enabled=no manycast=yes multicast=no
  271. /system resource irq
  272. set 0 cpu=auto
  273. set 1 cpu=auto
  274. set 2 cpu=auto
  275. set 3 cpu=auto
  276. /system routerboard settings
  277. set baud-rate=115200 boot-delay=2s boot-device=nand-if-fail-then-ethernet \
  278. boot-protocol=bootp cpu-frequency=680MHz enable-jumper-reset=yes \
  279. enter-setup-on=any-key force-backup-booter=no silent-boot=no
  280. /system upgrade mirror
  281. set check-interval=1d enabled=no primary-server=0.0.0.0 secondary-server=\
  282. 0.0.0.0 user=""
  283. /system watchdog
  284. set auto-send-supout=no automatic-supout=yes no-ping-delay=5m watch-address=\
  285. none watchdog-timer=yes
  286. /tool bandwidth-server
  287. set allocate-udp-ports-from=2000 authenticate=yes enabled=yes max-sessions=\
  288. 100
  289. /tool e-mail
  290. set address=0.0.0.0 from=<> password="" port=25 starttls=no user=""
  291. /tool graphing
  292. set page-refresh=300 store-every=5min
  293. /tool mac-server
  294. set [ find default=yes ] disabled=yes interface=all
  295. add disabled=no interface=LAN
  296. add disabled=no interface=ether3-slave-local
  297. add disabled=no interface=ether4-slave-local
  298. add disabled=no interface=ether5-slave-local
  299. /tool mac-server mac-winbox
  300. set [ find default=yes ] disabled=yes interface=all
  301. add disabled=no interface=LAN
  302. add disabled=no interface=ether3-slave-local
  303. add disabled=no interface=ether4-slave-local
  304. add disabled=no interface=ether5-slave-local
  305. /tool mac-server ping
  306. set enabled=yes
  307. /tool sms
  308. set allowed-number="" channel=0 keep-max-sms=0 receive-enabled=no secret=""
  309. /tool sniffer
  310. set file-limit=1000KiB file-name="" filter-ip-address="" filter-ip-protocol=\
  311. "" filter-mac-address="" filter-mac-protocol="" filter-port="" \
  312. filter-stream=yes interface=all memory-limit=100KiB memory-scroll=yes \
  313. only-headers=no streaming-enabled=no streaming-server=0.0.0.0
  314. /tool traffic-generator
  315. set latency-distribution-scale=10 test-id=0
  316. /user aaa
  317. set accounting=yes default-group=read exclude-groups="" interim-update=0s \
  318. use-radius=no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement