ahmadbj

router3

Apr 28th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.37 KB | None | 0 0
  1. # apr/28/2016 17:01:55 by RouterOS 6.33
  2. # software id = RB8B-2NKF
  3. #
  4. /interface wireless security-profiles
  5. set [ find default=yes ] supplicant-identity=MikroTik
  6. /routing bgp instance
  7. set default as=300
  8. /tool user-manager customer
  9. set admin access=\
  10. own-routers,own-users,own-profiles,own-limits,config-payment-gw
  11. /tool user-manager profile
  12. add name=1jam name-for-users=1jam override-shared-users=off owner=admin \
  13. price=0 starts-at=logon validity=0s
  14. /tool user-manager profile limitation
  15. add address-list="" download-limit=0B group-name="" ip-pool="" name=1jam \
  16. owner=admin transfer-limit=0B upload-limit=0B uptime-limit=1h
  17. #error exporting /dude
  18. /ip address
  19. add address=200.10.10.2/24 interface=ether1 network=200.10.10.0
  20. add address=100.100.100.1/24 interface=ether2 network=100.100.100.0
  21. /ip dns
  22. set allow-remote-requests=yes servers=202.75.17.1,202.75.18.234,8.8.8.8
  23. /ip firewall nat
  24. add action=masquerade chain=srcnat out-interface=ether2
  25. /ip route
  26. add distance=1 gateway=100.100.100.2
  27. /routing bgp network
  28. add network=200.10.10.0/24
  29. add network=100.100.100.0/24
  30. /routing bgp peer
  31. add name=peer1 remote-address=200.10.10.1 remote-as=200
  32. add name=peer2 remote-address=100.100.100.2 remote-as=400
  33. /system identity
  34. set name=ro3
  35. /system lcd
  36. set contrast=0 enabled=no port=parallel type=24x4
  37. /system lcd page
  38. set time disabled=yes display-time=5s
  39. set resources disabled=yes display-time=5s
  40. set uptime disabled=yes display-time=5s
  41. set packets disabled=yes display-time=5s
  42. set bits disabled=yes display-time=5s
  43. set version disabled=yes display-time=5s
  44. set identity disabled=yes display-time=5s
  45. set ether1 disabled=yes display-time=5s
  46. set ether2 disabled=yes display-time=5s
  47. /tool romon port
  48. set [ find default=yes ] cost=100 forbid=no interface=all secrets=""
  49. /tool user-manager database
  50. set db-path=user-manager
  51. /tool user-manager profile profile-limitation
  52. add from-time=0s limitation=1jam profile=1jam till-time=23h59m59s weekdays=\
  53. sunday,monday,tuesday,wednesday,thursday,friday,saturday
  54. /tool user-manager router
  55. add coa-port=1700 customer=admin disabled=no ip-address=192.168.168.1 log=\
  56. auth-ok,auth-fail,acct-ok,acct-fail name=ro1 shared-secret=123456 \
  57. use-coa=no
  58. /tool user-manager user
  59. add customer=admin disabled=no password=user100 shared-users=1 username=\
  60. user100 wireless-enc-algo=none wireless-enc-key="" wireless-psk=""
Add Comment
Please, Sign In to add comment